JuliaAstro / UnitfulAstro.jl

An extension of Unitful.jl for astronomers.
Other
22 stars 11 forks source link

WGS84 Earth #34

Open DanDeepPhase opened 1 year ago

DanDeepPhase commented 1 year ago

WGS84 is a standard with a few extra decimals on the earth radius. Is IAU 2015 a preferred standard in some areas? Most of my math requires WGS84. https://en.wikipedia.org/wiki/World_Geodetic_System#WGS_84

Would it be ok to update these values?

https://github.com/JuliaAstro/UnitfulAstro.jl/blob/030783b244dc0aeae197567fa3671703cc8d39c1/src/UnitfulAstro.jl#L63-L65

WGS84 semi-major (Earth equatorial radius)= 6378137.0 m WGS84 semi-minor (Earth polar radius) = 6356752.3 m

DanDeepPhase commented 1 year ago

or more precisely: Rearth_p = Rearth_e * (1 - 1/298.257223563)