Changeset 2422 for LMDZ5/trunk/libf/phylmd/phys_cal_mod.F90
- Timestamp:
- Jan 6, 2016, 12:37:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phys_cal_mod.F90
r2358 r2422 52 52 END SUBROUTINE phys_cal_init 53 53 54 SUBROUTINE phys_cal_update(j D_cur, jH_cur)54 SUBROUTINE phys_cal_update(julian_date) 55 55 ! This subroutine updates the module saved variables. 56 56 57 57 USE IOIPSL, only: ju2ymds, ymds2ju, ioget_mon_len, ioget_year_len 58 59 REAL, INTENT(IN) :: jD_cur ! jour courant a l'appel de la physique (jour julien) 60 REAL, INTENT(IN) :: jH_cur ! heure courante a l'appel de la physique (jour julien) 58 IMPLICIT NONE 59 REAL, INTENT(IN) :: julian_date 60 61 jD_cur=INT(julian_date) 62 jH_cur=julian_date-jD_cur 61 63 62 64 CALL ju2ymds(jD_cur+jH_cur, year_cur, mth_cur, day_cur, hour) … … 68 70 days_elapsed = jD_cur - jD_1jan 69 71 70 ! Get lenght of acutualmonth72 ! Get lenght of current month 71 73 mth_len = ioget_mon_len(year_cur,mth_cur) 72 74 75 ! Get length of current year 73 76 year_len = ioget_year_len(year_cur) 74 77
Note: See TracChangeset
for help on using the changeset viewer.