Changeset 477a094 in flexpart.git
- Timestamp:
- Jul 27, 2020, 10:52:49 AM (4 years ago)
- Branches:
- 10.4.1_pesei, bugfixes+enhancements, release-10.4.1, scaling-bug
- Children:
- 17c3c47
- Parents:
- 3405994
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/caldate.f90
r92fab65 r477a094 27 27 ! igreg help constant * 28 28 ! * 29 ! PS 2020-07-27: add a check to avoid giving back 240000 for hhmiss * 30 ! * 29 31 !***************************************************************************** 30 32 … … 39 41 40 42 julday=int(juldate) 43 ! PS check to avoid 240000 as hhmiss: 44 if ((xjuldate-julday)*86400._dp .ge. 86399.5_dp) then 45 juldate = juldate + juldate-julday-86399.5_dp/86400._dp 46 julday=int(juldate) 47 end 41 48 if(julday.ge.igreg)then 42 49 jalpha=int(((julday-1867216)-0.25)/36524.25)
Note: See TracChangeset
for help on using the changeset viewer.