Calculates a rotation matrix from horizontal (HOR) to J2000 mean ecliptic (ECL).
Details
This is one of the family of functions that returns a rotation matrix for converting from one orientation to another.
Source: HOR = horizontal system (x = north, y = west, z = zenith).
Target: ECL = ecliptic system, using equator at J2000 epoch.
Examples
astro_rotation_HOR_ECL(Sys.time(), latitude = -35.28, longitude = 149.12, height = 0)
#> [,1] [,2] [,3]
#> [1,] -0.2962162 0.7788078 0.5529144
#> [2,] 0.8562993 0.4729796 -0.2074652
#> [3,] -0.4230928 0.4120056 -0.8069968