Changeset 6601 for CONFIG/UNIFORM/v6/NEMO_v6.5/GENERAL/DRIVER
- Timestamp:
- 08/24/23 15:03:48 (10 months ago)
- Location:
- CONFIG/UNIFORM/v6/NEMO_v6.5/GENERAL/DRIVER
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/NEMO_v6.5/GENERAL/DRIVER/opa9.driver
r6013 r6601 25 25 } 26 26 27 OPA_RDT=$( supergrep rn_ rdt ${SUBMIT_DIR}/PARAM/NAMELIST/${RESOL_OCE}/namelist_${opa9_UserChoices_forcing}_${exptype}_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' )27 OPA_RDT=$( supergrep rn_Dt ${SUBMIT_DIR}/PARAM/NAMELIST/${RESOL_OCE}/namelist_${opa9_UserChoices_forcing}_${exptype}_cfg | sed 's/ *rn_Dt *=//' | sed 's/\. *,//' ) 28 28 29 29 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 -
CONFIG/UNIFORM/v6/NEMO_v6.5/GENERAL/DRIVER/pisces.driver
r6230 r6601 28 28 29 29 30 OPA_RDT=$( supergrep rn_ rdt ${SUBMIT_DIR}/PARAM/NAMELIST/${RESOL_OCE}/namelist_offline_${exptype}_cfg | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' )30 OPA_RDT=$( supergrep rn_Dt ${SUBMIT_DIR}/PARAM/NAMELIST/${RESOL_OCE}/namelist_offline_${exptype}_cfg | sed 's/ *rn_Dt *=//' | sed 's/\. *,//' ) 31 31 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 32 32 # /!\ Needed by OPA namelist to compute file names /!\ … … 41 41 IGCM_debug_Print 1 "OPA_NPDT_DAY ${OPA_NPDT_DAY}" 42 42 IGCM_debug_Print 1 "OPA_NPDT_YEAR ${OPA_NPDT_YEAR}" 43 44 43 fi 45 44 … … 141 140 fi 142 141 fi 143 144 if [ X"${pisces_UserChoices_Offline_Mode}" = X"y" ] ; then 145 if [ X"${pisces_UserChoices_Offline_DynTrp}" = X"y" ] ; then 146 OFF_DYNTRP=.TRUE. 147 else 148 OFF_DYNTRP=.FALSE. 149 fi 150 fi 142 151 143 ##-- Restart configuration 152 144 if ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "n" ] ) ; then … … 177 169 IGCM_comp_modifyNamelist blocker namelist_cfg nn_date0 ${PeriodDateBegin} 178 170 IGCM_comp_modifyNamelist blocker namelist_cfg nn_leapy ${OPA_NLEAPY} 179 IGCM_comp_modifyNamelist blocker namelist_cfg ln_dyntrp ${OFF_DYNTRP}180 171 181 172 # update domain_def.xml file … … 190 181 fi 191 182 192 if [ X"${pisces_UserChoices_pis}" = X" n" ] ; then183 if [ X"${pisces_UserChoices_pis}" = X"y" ] ; then 193 184 echo "DeActivate pisces outputs" 194 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file33 enabled .FALSE. 195 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file34 enabled .FALSE. 196 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file35 enabled .FALSE. 197 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file36 enabled .FALSE. 198 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file37 enabled .FALSE. 185 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file31 enabled .TRUE. 186 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file32 enabled .TRUE. 187 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file33 enabled .TRUE. 188 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file34 enabled .TRUE. 189 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file35 enabled .TRUE. 190 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file36 enabled .TRUE. 191 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file37 enabled .TRUE. 199 192 fi 200 193 … … 210 203 echo "Activate CFC11 tracer" 211 204 TOP_CFC11=.TRUE. 212 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file39 enabled . FALSE.205 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file39 enabled .TRUE. 213 206 else 214 207 TOP_CFC11=.FALSE. … … 223 216 fi 224 217 ## 225 if [ X"${pisces_UserChoices_Co2Anthr}" = X"y" ] ; then 226 LCO2INT=.TRUE. 227 else 228 LCO2INT=.FALSE. 229 fi 218 if [ X"${pisces_UserChoices_sf6}" = X"y" ] ; then 219 echo "Activate SF6 tracer" 220 TOP_SF6=.TRUE. 221 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file41 enabled .TRUE. 222 else 223 TOP_SF6=.FALSE. 224 fi 225 ## 226 if [ X"${pisces_UserChoices_c14}" = X"y" ] ; then 227 echo "Activate RC14 tracer" 228 TOP_C14=.TRUE. 229 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file42 enabled .TRUE. 230 else 231 TOP_C14=.FALSE. 232 fi 233 234 if [ X"${pisces_UserChoices_gas}" = X"n" ] ; then 235 LGAS=.FALSE. 236 cp namelist_top_p4z_cfg namelist_top_cfg 237 else 238 echo "Activate gas tracer" 239 LGAS=.TRUE. 240 cp namelist_top_p4z_gas_cfg namelist_top_cfg 241 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file50 enabled .TRUE. 242 IGCM_comp_modifyXmlFile force file_def_nemo-top.xml file51 enabled .TRUE. 243 fi 244 ## 245 if [ X"${pisces_UserChoices_AnthrGas}" = X"y" ] ; then 246 # Read value for co2_ppm from file CO2.txt. If file not existing, take DEFAULT. 247 if [ -f atmco2.txt ] ; then 248 line_year=`awk '/'${year}'/{print NR}' atmco2.txt` 249 PisCo2=`awk 'NR == '$line_year' {print $2 }' atmco2.txt` 250 else 251 PisCo2=${pisces_UserChoices_AtmCo2} 252 fi 253 else 254 PisCo2=${pisces_UserChoices_AtmCo2} 255 fi 256 257 if [ X"${pisces_UserChoices_AnthrGas}" = X"y" ] && [ X"${pisces_UserChoices_gas}" = X"y" ] ; then 258 if [ -f atmn2o.txt ] ; then 259 line_year=`awk '/'${year}'/{print NR}' atmn2o.txt` 260 PisNo2=`awk 'NR == '$line_year' {print $2 }' atmn2o.txt` 261 else 262 PisN2o=${pisces_UserChoices_AtmN2o} 263 fi 264 if [ -f atmcos.txt ] ; then 265 line_year=`awk '/'${year}'/{print NR}' atmcos.txt` 266 PisCos=`awk 'NR == '$line_year' {print $2 }' atmcos.txt` 267 else 268 PisCos=${pisces_UserChoices_AtmCos} 269 fi 270 else 271 PisN2o=${pisces_UserChoices_AtmN2o} 272 PisCos=${pisces_UserChoices_AtmCos} 273 fi 230 274 ##-- Update namelist_top_cfg and namelist_pisces_cfg 231 275 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LRSTTR} … … 234 278 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_cfc11 ${TOP_CFC11} 235 279 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_cfc12 ${TOP_CFC12} 280 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_sf6 ${TOP_SF6} 281 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_c14 ${TOP_C14} 236 282 if [ X"${pisces_UserChoices_pis}" = X"y" ] ; then 237 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg ln_co2int ${LCO2INT} 238 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg atcco2 ${pisces_UserChoices_AtmCo2} 283 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg atcco2 ${PisCo2} 239 284 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg nrdttrc ${pisces_UserChoices_PisFreq} 240 285 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg nn_pisdmp ${OPA_NPDT_YEAR} 286 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg ln_dms ${LGAS} 287 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg ln_n2o ${LGAS} 288 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg ln_bvocs ${LGAS} 289 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg atcn2o ${PisN2o} 290 IGCM_comp_modifyNamelist blocker namelist_pisces_cfg atccos ${PisCos} 241 291 fi 242 292
Note: See TracChangeset
for help on using the changeset viewer.