Changeset 3635
- Timestamp:
- 03/12/18 16:30:44 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver
r3634 r3635 68 68 fi 69 69 70 71 ##-- CO2 forcing : update atcco2 value in namelist_pisces_cfg 72 if [ "${pisces_UserChoices_CARBON_CYCLE}" = "y" ]; then 73 IGCM_debug_Print 1 "Special case for carbon cycle" 74 # Activate this case by putting CARBON_CYCLE=y in pisces.card section UserChoices 75 IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with value from file co2.log' 76 PathCO2log=${SUBMIT_DIR} 77 PreviousLinelog=$( tail -1 ${PathCO2log}/co2.log ) 78 IPCC_PIS_CO2=$( echo "${PreviousLinelog[*]}" | gawk -F '|' '{gsub(" ",""); print $4}' ) 79 IGCM_debug_Print 1 "IPCC_PIS_CO2 : ${IPCC_PIS_CO2} " 80 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 81 else 82 IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 83 # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 84 IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 85 LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 86 IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 87 IGCM_comp_modifyNamelist force namelist_pisces_cfg atcco2 ${LMDZ_CO2} 88 fi 89 90 70 91 ##-- Update namelist_top_cfg and namelist_pisces_cfg 71 92 IGCM_comp_modifyNamelist blocker namelist_top_cfg ln_rsttr ${TOP_LN_RSTR}
Note: See TracChangeset
for help on using the changeset viewer.