Ignore:
Timestamp:
04/27/18 12:36:03 (6 years ago)
Author:
mafoipsl
Message:

Again consolidation of Reproducibility_after_restart for IPSLCM6.1.2.

Location:
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver

    r3785 r3786  
    114114 
    115115   ##-- Restart configuration 
    116     if ( [ "${CumulPeriod}" -eq 1 ] && [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
     116    if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
    117117      OPA_LRSTAR=.TRUE. 
    118118      OPA_NRSTDT=2 
    119119      #echo "OPA RESTART" 
    120       IGCM_debug_Print 1 'WARNING : dangerous option for NEMO opa9' 
     120      IGCM_debug_Print 1 'WARNING : dangerous option for NEMO opa9 pisces lim3' 
    121121      IGCM_debug_Print 1 'Reproducibility_after_Restart forced ie kt forced to kt red in restart file : ' ${opa9_UserChoices_Reproducibility_after_restart} 
     122 
     123      ## This option is uncompatible with PeriodLength=1M. See later patch overwrite ndastp and kt in ocean restart file 
     124 
     125      if [ X${config_UserChoices_PeriodLength} != X"1Y" ] ; then 
     126        IGCM_debug_Exit " PeriodLength = ${config_UserChoices_PeriodLength} is uncompatible with Reproducibility_after_Restart=y, please use 1Y" 
     127      fi 
     128 
    122129    elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "n" ] ) ; then 
    123130      OPA_LRSTAR=.FALSE. 
     
    157164    esac 
    158165 
    159     if ( [ "${CumulPeriod}" -eq 1 ] && [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
     166    if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
    160167      ##-- choose the right restart file 
    161168      NEMO_RESTART_FILE=restartopa.nc 
     
    166173      (( yearrst = year - 1 )) 
    167174      IGCM_debug_Print 1 "cmd done to modify NEMO restartfile: "  ncap2 -s "ndastp=${yearrst}1231" ${NEMO_RESTART_FILE}  tmp.nc 
     175      ## Take care : 1231 is forced here. Still to be done for monthly run or  
     176      ## make nrstdt=1 working for all NEMO component. Not done for sea ice yet. 
    168177      ncap2 -s "ndastp=${yearrst}1231" ${NEMO_RESTART_FILE}  tmp.nc 
    169178      mv tmp.nc ${NEMO_RESTART_FILE} 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver

    r3785 r3786  
    4444    ##-- Restart configuration 
    4545    ##-- Restart configuration 
    46     if ( [ "${CumulPeriod}" -eq 1 ] && [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
     46    if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
    4747        TOP_LN_RSTR=.TRUE. 
    4848        TOP_NN_RSTR=2 
Note: See TracChangeset for help on using the changeset viewer.