Convert ephemeris time (seconds from J2000 epoch) to Julian date.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | et |
ephemeris time [sec from J2000 epoch] |
Julian date [days]
pure function et_to_jd(et) result(jd) use conversion_module, only: sec2day implicit none real(wp),intent(in) :: et !! ephemeris time [sec from J2000 epoch] real(wp) :: jd !! Julian date [days] jd = jd_j2000 + et*sec2day end function et_to_jd