*
Calculates the Gregorian date from the Julian date *
*
AUTHOR: Andreas Stohl (21 January 1994), adapted from Numerical Recipes*
*
PS 2020-07-27: add a check to avoid giving back 240000 for hhmiss *
*
*
Variables: *
dd Day *
hh Hour *
hhmiss Hour, Minute, Second *
ja,jb,jc,jd,je help variables *
jalpha help variable *
juliandate Julian Date *
julday help variable *
mi Minute *
mm Month *
ss Seconds *
yyyy Year *
yyyymmdd Year, Month, Day *
*
Constants: *
igreg help constant *
*
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp) | :: | juliandate | ||||
integer | :: | yyyymmdd | ||||
integer | :: | hhmiss |