- Timestamp:
- 2017-06-22T15:44:14+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r7573_xios_write/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
r8079 r8208 87 87 ! except if we write ocean restart files every time step or if an ocean restart file was writen at nitend - 1 88 88 ! NO, because the data is written 2 times on nitrst - 1 and nitrst 89 ! IF( kt == nitrst - 1 .OR. nstock == 1 .OR. ( kt == nitend .AND. .NOT. lrst_oce ) ) THEN 90 IF( kt == nitrst .OR. nstock == 1 ) THEN 89 IF( kt == nitrst - 1 .OR. nstock == 1 .OR. ( kt == nitend .AND. .NOT. lrst_oce ) ) THEN 91 90 IF( nitrst <= nitend .AND. nitrst > 0 ) THEN 92 91 IF ( ln_rstdate ) THEN … … 131 130 CALL iom_swap( cxios_context ) 132 131 ENDIF 133 !HAVE TO set lrst_oce to FALSE after XIOS restart is written !!!!!!134 ! THIS CALL SHOULDN't be here we open restart file on iter-1, move it135 ! to SUBROUTINE day to set the flag on the step when we save data136 132 lrst_oce = .TRUE. 137 133 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.