Converts Julian date to Modified Julian date.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | jd |
julian date |
modified julian date
pure function jd_to_mjd(jd) result(mjd) implicit none real(wp) :: mjd !! modified julian date real(wp),intent(in) :: jd !! julian date mjd = jd - 2400000.5_wp end function jd_to_mjd