Changeset 2459
- Timestamp:
- 2010-12-07T12:17:48+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/nemo_v3_3_beta/NEMOGCM/EXTERNAL/IOIPSL/src/calendar.f90
r2281 r2459 563 563 !---- Here we compute what logically should be the next month 564 564 !- 565 IF (month >= 13) THEN566 yearp = year +1565 DO WHILE (monthp1 >= 13) 566 yearp = yearp+1 567 567 monthp1 = monthp1-12 568 END IF569 CALL ymds2ju (year ,monthp1,day,sec,date_mpf)568 END DO 569 CALL ymds2ju (yearp,monthp1,day,sec,date_mpf) 570 570 !- 571 571 !---- But it could be that because of a shorter month or a bad … … 577 577 monthp1 = month+ABS(freq) 578 578 yearp=year 579 IF (monthp1 >= 13) THEN580 yearp = year +1581 monthp1 = monthp1 582 END IF579 DO WHILE (monthp1 >= 13) 580 yearp = yearp+1 581 monthp1 = monthp1-12 582 END DO 583 583 dayp = 1 584 584 secp = 0.0
Note: See TracChangeset
for help on using the changeset viewer.