Changeset 3775
- Timestamp:
- 04/22/18 13:36:10 (6 years ago)
- Location:
- CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver
r3748 r3775 158 158 159 159 if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 160 ##-- Getting from restart file the last time step of the run at which we want to re-start 160 161 NEMO_KT_FROM_RESTART=$(ncdump -v kt restartopa_0000.nc|grep 'kt ='|awk '{print $3}' ) 162 ## Force the date in the restart file to be the last day before the begiining of the new run 163 (( yearrst = year - 1 )) 164 ncap2 -s "ndastp=${yearrst}1231" restartopa_0000.nc tmp.nc 165 mv tmp.nc restartopa_0000.nc 161 166 (( NEMO_NIT000 = NEMO_KT_FROM_RESTART + 1 )) 162 167 (( NEMO_NITEND = NEMO_KT_FROM_RESTART + OPA_NITEND - OPA_NIT000 + 1 )) 163 168 IGCM_debug_Print 1 "NEMO_NIT000 (from Restart) : ${NEMO_NIT000}" 164 169 IGCM_debug_Print 1 "NEMO_NITEND (from Restart + ... ) : ${NEMO_NITEND}" 170 ##-- Getting from restart file the "new" restart date of run at which we want to re-start 171 NEMO_NDASTP_FROM_RESTART=$(ncdump -v ndastp restartopa_0000.nc|grep 'ndastp ='|awk '{print $3}' ) 172 IGCM_debug_Print 1 "NEMO_NDASTP (from Restart) : ${NEMO_NDASTP_FROM_RESTART}" 165 173 ##-- We force one restart file at the end of the trunk 166 174 OPA_NSTOCK="${NEMO_NITEND}" -
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver
r3638 r3775 43 43 44 44 ##-- Restart configuration 45 if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "n" ] ) ; then 45 ##-- Restart configuration 46 if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 47 TOP_LN_RSTR=.TRUE. 48 TOP_NN_RSTR=2 49 50 elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "n" ] ) ; then 46 51 47 52 #echo "NO RESTART FOR TOP"
Note: See TracChangeset
for help on using the changeset viewer.