- Timestamp:
- 2020-05-27T09:35:03+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_12905_xios_restart/src/SAS/step.F90
r12969 r12977 95 95 ! need to keep the same interface 96 96 IF( kstp == nit000 ) CALL iom_init( cxios_context ) ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 97 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init)98 97 CALL iom_setkt( kstp - nit000 + 1, cxios_context ) ! tell iom we are at time step kstp 99 98 IF((kstp == nitrst) .AND. lwxios) THEN … … 107 106 #endif 108 107 ENDIF 108 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) 109 109 110 #if defined key_si3 110 111 IF(((kstp + nn_fsbc - 1) == nitrst) .AND. lwxios) THEN … … 153 154 ! File manipulation at the end of the first time step 154 155 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 155 IF( kstp == nit000 ) CALL iom_close( numror ) ! close input ocean restart file 156 IF( kstp == nit000 ) THEN 157 CALL iom_close( numror ) ! close input ocean restart file 158 IF( lroxios ) CALL iom_context_finalize( crxios_context ) 159 ENDIF 156 160 157 161 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Note: See TracChangeset
for help on using the changeset viewer.