Changeset 12351
- Timestamp:
- 2020-01-29T12:12:54+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/src/OCE/SBC/fldread.F90
r12256 r12351 900 900 ENDIF 901 901 ! 902 IF( sdjf%ln_tint ) THEN ! record time defined in the middle of the record 903 sdjf%nrecsec(1:sdjf%nreclast) = 0.5 * ( sdjf%nrecsec(0:sdjf%nreclast-1) + sdjf%nrecsec(1:sdjf%nreclast) ) 902 IF( sdjf%ln_tint ) THEN ! record time defined in the middle of the record, computed using an implementation 903 ! of the rounded average that is valid over the full integer range 904 sdjf%nrecsec(1:sdjf%nreclast) = sdjf%nrecsec(0:sdjf%nreclast-1) / 2 + sdjf%nrecsec(1:sdjf%nreclast) / 2 + & 905 & MAX( MOD( sdjf%nrecsec(0:sdjf%nreclast-1), 2 ), MOD( sdjf%nrecsec(1:sdjf%nreclast), 2 ) ) 904 906 END IF 905 907 !
Note: See TracChangeset
for help on using the changeset viewer.