Ignore:
Timestamp:
01/07/22 11:35:28 (2 years ago)
Author:
acosce
Message:

in IPSLCM5A2CHT configuration :

  • add parameters files need by paleo Experiment
  • Add Addnoise functionality in configuration (see rev[5106] on IPSLCM5A2 configuration)
  • remove .resol file not need
  • add modification in driver for paleo experiment
  • add iom.F90 to allow flexible handling of calendar (see rev[4930] in IPSLCM5A2CHT configuration)
File:
1 edited

Legend:

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

    r6032 r6035  
    2626    supergrep () { grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" -e "s%^ *$1 *=%%" ; } 
    2727    ##--Variables used by OPA -- 
    28     NAMELIST_OPA_CFG=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg 
     28    ISPALEO=${config_UserChoices_ExpType##*/} 
     29    if [ "${ISPALEO}" = "paleo" ] ; then 
     30        NAMELIST_OPA_CFG=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg_paleo 
     31    else 
     32        NAMELIST_OPA_CFG=${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}_cfg 
     33    fi 
    2934    IGCM_debug_Print 1 "namelist_cfg : ${NAMELIST_OPA_CFG}" 
    3035    if [ ! -r ${NAMELIST_OPA_CFG} ] ; then 
     
    3843    # OPA_NN_FSBC=$(   supergrep nn_fsbc       namelist_cfg ) 
    3944    (( OPA_NPDT_DAY   =  86400 / OPA_RDT        )) 
    40     (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 365     )) 
    4145    (( OPA_RDT_SBC    =  OPA_RDT * OPA_NN_FSBC )) 
     46    # nleapy configuration + OPA_NPDT_YEAR 
     47    case ${config_UserChoices_CalendarType} in 
     48        ( leap|gregorian) OPA_NLEAPY=1 
     49                          (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 365     )) ;; 
     50        ( noleap        ) OPA_NLEAPY=0 
     51                          (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 365     )) ;; 
     52        ( 360d          ) OPA_NLEAPY=30 
     53                          (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 360     )) ;; 
     54        ( *             ) OPA_NLEAPY=30 
     55                          (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 360     )) ;; 
     56    esac 
    4257  
    4358    # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
     
    145160    fi 
    146161 
    147     # nleapy configuration 
    148     case ${config_UserChoices_CalendarType} in 
    149         ( leap|gregorian) OPA_NLEAPY=1  ;; 
    150         ( noleap        ) OPA_NLEAPY=0  ;; 
    151         ( 360d          ) OPA_NLEAPY=30 ;; 
    152         ( *             ) OPA_NLEAPY=30 ;; 
    153     esac 
    154162 
    155163    if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then 
Note: See TracChangeset for help on using the changeset viewer.