Changeset 6035 for CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER
- Timestamp:
- 01/07/22 11:35:28 (2 years ago)
- Location:
- CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/lmdz.driver
r6032 r6035 279 279 ## gcm.def parameters : 280 280 # Modification of variable iphysiq depending on the physics 281 if [ X${LMDZ_Physics} = X"AP" ] ; then 281 ISPALEO=${config_UserChoices_ExpType##*/} 282 283 if [ X${LMDZ_Physics} = X"AP" ] && [ ${ISPALEO} != "paleo" ]; then 282 284 if [ ${RESOL_ATM_3D} = 96x95x39 ]; then 283 285 value=10 -
CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/oasis.driver
r6032 r6035 25 25 esac 26 26 done 27 28 # Initialisation required for AddNoise done during one Period 29 Test_AddNoise_First_Only=y 27 30 28 31 IGCM_debug_PopStack "CPL_Initialize" … … 95 98 IGCM_comp_modifyXmlFile force iodef.xml using_oasis NONE true 96 99 100 if [ X"${Test_AddNoise_First_Only}" = X"y" ]; then 101 102 Test_AddNoise_First_Only=n 103 104 # AddNoise if required but only for one Period 105 106 # Read ByPass_addnoise_sst option in oasis.card --> apply addnoise for sst in CPL restart file if [ $ByPass_addnoise_sst = y ] 107 ByPass_addnoise_sst=${oasis_UserChoices_ByPass_addnoise_sst} 108 if [ X"${ByPass_addnoise_sst}" = X"y" ] ; then 109 110 ByPass_PerturbExe=${oasis_UserChoices_ByPass_PerturbExe} 111 ByPass_FileOut=${oasis_UserChoices_ByPass_FileOut} 112 ByPass_PerturbVar=${oasis_UserChoices_ByPass_PerturbVar} 113 ByPass_PerturbAmp=${oasis_UserChoices_ByPass_PerturbAmp} 114 115 IGCM_sys_Chmod 644 ${RUN_DIR}/${ByPass_FileOut}.nc 116 IGCM_debug_Print 1 "${ByPass_PerturbExe} ${RUN_DIR}/${ByPass_FileOut}.nc ${ByPass_PerturbVar} ${ByPass_PerturbAmp}" 117 118 ${ByPass_PerturbExe} ${RUN_DIR}/${ByPass_FileOut}.nc ${ByPass_PerturbVar} ${ByPass_PerturbAmp} 119 if [ $? -ne 0 ] ; then 120 IGCM_debug_Exit "Error with $( basename ${ByPass_PerturbExe} )" 121 IGCM_debug_Verif_Exit 122 fi 123 124 echo 125 IGCM_debug_Print 1 "ByPass_addnoise_sst : applied addnoise for sst in CPL restart file" 126 echo 127 ByPass_addnoise_sst=n 128 # necessary to reset ByPass in next Period during the same Job (PeriodNb<>1) 129 export oasis_UserChoicesByPass_addnoise_sst=n 130 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/oasis.card UserChoices ByPass_addnoise_sst "${ByPass_addnoise_sst}" 131 fi 132 133 fi 134 97 135 IGCM_debug_PopStack "CPL_Update" 98 136 } -
CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/opa9.driver
r6032 r6035 26 26 supergrep () { grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" -e "s%^ *$1 *=%%" ; } 27 27 ##--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 29 34 IGCM_debug_Print 1 "namelist_cfg : ${NAMELIST_OPA_CFG}" 30 35 if [ ! -r ${NAMELIST_OPA_CFG} ] ; then … … 38 43 # OPA_NN_FSBC=$( supergrep nn_fsbc namelist_cfg ) 39 44 (( OPA_NPDT_DAY = 86400 / OPA_RDT )) 40 (( OPA_NPDT_YEAR = OPA_NPDT_DAY * 365 ))41 45 (( 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 42 57 43 58 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 … … 145 160 fi 146 161 147 # nleapy configuration148 case ${config_UserChoices_CalendarType} in149 ( leap|gregorian) OPA_NLEAPY=1 ;;150 ( noleap ) OPA_NLEAPY=0 ;;151 ( 360d ) OPA_NLEAPY=30 ;;152 ( * ) OPA_NLEAPY=30 ;;153 esac154 162 155 163 if ( [ "${opa9_UserChoices_Reproducibility_after_restart}" = "y" ] ) ; then -
CONFIG/UNIFORM/v6/IPSLCM5A2CHT.2/GENERAL/DRIVER/orchidee.driver
r6032 r6035 55 55 # Activate creation of river description file only for the first period 56 56 if [ ${CumulPeriod} -eq 1 ] ; then 57 IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC y 57 ISPALEO=${config_UserChoices_ExpType##*/} 58 if [ "${ISPALEO}" = "paleo" ] ; then # change to y if needed for paleo 59 IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC n 60 else 61 IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC y 62 fi 58 63 else 59 64 IGCM_comp_modifyDefFile nonblocker orchidee.def RIVER_DESC n
Note: See TracChangeset
for help on using the changeset viewer.