Changeset 2839 for CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
- Timestamp:
- 05/12/16 14:05:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver
r2753 r2839 16 16 grep ${1} ${2} | grep -v "#" | sed -e 's/=//g' -e 's/://g' -e 's/_AUTO_//' -e 's/DEFAULT//' | sed -e "s/${1}//" 17 17 } 18 19 ##--Variables used by MBG --20 21 # ln_rsttr boolean term for tracer model restart (true or false)22 # nrsttr control of the time step (0, 1 or 2)23 24 ##--Variables used by PISCES --25 26 NAMELIST_TOP_CFG=${SUBMIT_DIR}/PARAM/namelist_top_${RESOL_OCE}_cfg27 NAMELIST_PISCES_CFG=${SUBMIT_DIR}/PARAM/namelist_pisces_${RESOL_OCE}_cfg28 29 PAT_TOP_LRSTTR=$( supergrep ln_rsttr ${NAMELIST_TOP_CFG} )30 PAT_TOP_NRSTTR=$( supergrep nn_rsttr ${NAMELIST_TOP_CFG} )31 PAT_PIS_ATCCO2=$( supergrep atcco2 ${NAMELIST_PISCES_CFG} )32 33 IGCM_debug_Print 1 " PAT_PIS_ATCCO2 : ${PAT_PIS_ATCCO2} "34 18 35 19 IGCM_debug_PopStack "MBG_Initialize" … … 92 76 IPCC_PIS_CO2=$( echo "${PreviousLinelog[*]}" | gawk -F '|' '{gsub(" ",""); print $4}' ) 93 77 IGCM_debug_Print 1 "IPCC_PIS_CO2 : ${IPCC_PIS_CO2} " 94 sed -e "s%${PAT_PIS_ATCCO2}% atcco2=${IPCC_PIS_CO2}%" \ 95 namelist_pisces_cfg > namelist_pisces_cfg.tmp 96 IGCM_sys_Mv namelist_pisces_cfg.tmp namelist_pisces_cfg 78 IGCM_comp_modifyNamelist nonblocker namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 97 79 else 98 80 IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." … … 101 83 LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 102 84 IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 103 sed -e "s%${PAT_PIS_ATCCO2}% atcco2=${LMDZ_CO2}%" \ 104 namelist_pisces_cfg > namelist_pisces_cfg.tmp 105 IGCM_sys_Mv namelist_pisces_cfg.tmp namelist_pisces_cfg 85 IGCM_comp_modifyNamelist nonblocker namelist_pisces_cfg atcco2 ${LMDZ_CO2} 106 86 fi 107 87 108 88 ##-- Update namelist_top_cfg and namelist_pisces_cfg 89 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LRSTTR} 90 IGCM_comp_modifyNamelist blocker namelist_top_cfg nn_rsttr ${TOP_NRSTTR} 109 91 110 sed -e "s%${PAT_TOP_LRSTTR}% ln_rsttr=${TOP_LRSTTR}%" \ 111 -e "s%${PAT_TOP_NRSTTR}% nn_rsttr=${TOP_NRSTTR}%" \ 112 namelist_top_cfg > namelist_top_cfg.tmp 113 114 IGCM_sys_Mv namelist_top_cfg.tmp namelist_top_cfg 115 116 IGCM_debug_PopStack "MBG_Update" 92 IGCM_debug_PopStack "MBG_Update" 117 93 } 118 94
Note: See TracChangeset
for help on using the changeset viewer.