Changeset 1818 for trunk/NEMO/OPA_SRC/SBC
- Timestamp:
- 2010-03-25T15:13:55+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/SBC/fldread.F90
r1730 r1818 368 368 369 369 ! if previous year/month/day file does not exist, we switch to the current year/month/day 370 IF( llprev .AND. sdjf%num == 0 ) THEN370 IF( llprev .AND. sdjf%num <= 0 ) THEN 371 371 CALL ctl_warn( 'previous year/month/day file: '//TRIM(sdjf%clname)//' not present -> back to current year/month/day') 372 372 ! we force to read the first record of the current year/month/day instead of last record of previous year/month/day … … 399 399 ENDIF 400 400 401 IF( sdjf%num == 0 ) CALL fld_clopn( sdjf, nyear, nmonth, nday ) ! make sure current year/month/day file is opened401 IF( sdjf%num <= 0 ) CALL fld_clopn( sdjf, nyear, nmonth, nday ) ! make sure current year/month/day file is opened 402 402 403 403 sdjf%nswap_sec = nsec_year + nsec1jan000 - 1 ! force read/update the after data in the following part of fld_read
Note: See TracChangeset
for help on using the changeset viewer.