Changeset 1254 for CMIP5/historical/v3.historical2/COMP/lmdz.driver
- Timestamp:
- 01/19/11 23:20:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMIP5/historical/v3.historical2/COMP/lmdz.driver
r1172 r1254 62 62 ## Read LMDZ_NbPeriod_adjust option in lmdz.card 63 63 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_NbPeriod_adjust 64 LMDZ_NbPeriod_adjust=${lmdz_UserChoices_LMDZ_NbPeriod_adjust}64 eval LMDZ_NbPeriod_adjust=\${lmdz_UserChoices_LMDZ_NbPeriod_adjust} > /dev/null 2>&1 65 65 66 66 if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 67 67 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_Bands_file_name 68 LMDZ_Bands_file_name=${lmdz_UserChoices_LMDZ_Bands_file_name}68 eval LMDZ_Bands_file_name=\${lmdz_UserChoices_LMDZ_Bands_file_name} > /dev/null 2>&1 69 69 fi 70 70 71 71 ## Read LMDZ_Freq_aero and LMDZ_Length_aero in lmdz.card 72 LMDZ_Freq_aero=${lmdz_UserChoices_LMDZ_Freq_aero}73 LMDZ_Length_aero=${lmdz_UserChoices_LMDZ_Length_aero}72 eval LMDZ_Freq_aero=\${lmdz_UserChoices_LMDZ_Freq_aero} > /dev/null 2>&1 73 eval LMDZ_Length_aero=\${lmdz_UserChoices_LMDZ_Length_aero} > /dev/null 2>&1 74 74 75 75 ## Read LMDZ_COSP_monthly LMDZ_COSP_daily and LMDZ_COSP_hf in lmdz.card 76 LMDZ_COSP_OK=${lmdz_UserChoices_LMDZ_COSP_OK}77 LMDZ_COSP_monthly=${lmdz_UserChoices_LMDZ_COSP_monthly}78 LMDZ_COSP_daily=${lmdz_UserChoices_LMDZ_COSP_daily}79 LMDZ_COSP_hf=${lmdz_UserChoices_LMDZ_COSP_hf}76 eval LMDZ_COSP_OK=\${lmdz_UserChoices_LMDZ_COSP_OK} > /dev/null 2>&1 77 eval LMDZ_COSP_monthly=\${lmdz_UserChoices_LMDZ_COSP_monthly} > /dev/null 2>&1 78 eval LMDZ_COSP_daily=\${lmdz_UserChoices_LMDZ_COSP_daily} > /dev/null 2>&1 79 eval LMDZ_COSP_hf=\${lmdz_UserChoices_LMDZ_COSP_hf} > /dev/null 2>&1 80 80 81 81 ## Read LMDZ_NMC_monthly LMDZ_NMC_daily and LMDZ_NMC_hf in lmdz.card 82 LMDZ_NMC_monthly=${lmdz_UserChoices_LMDZ_NMC_monthly}83 LMDZ_NMC_daily=${lmdz_UserChoices_LMDZ_NMC_daily}84 LMDZ_NMC_hf=${lmdz_UserChoices_LMDZ_NMC_hf}82 eval LMDZ_NMC_monthly=\${lmdz_UserChoices_LMDZ_NMC_monthly} > /dev/null 2>&1 83 eval LMDZ_NMC_daily=\${lmdz_UserChoices_LMDZ_NMC_daily} > /dev/null 2>&1 84 eval LMDZ_NMC_hf=\${lmdz_UserChoices_LMDZ_NMC_hf} > /dev/null 2>&1 85 85 86 86 IGCM_debug_PopStack "ATM_Initialize" … … 193 193 ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 194 194 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_teta 195 ByPass_hgardfou_teta=${lmdz_UserChoices_ByPass_hgardfou_teta}195 eval ByPass_hgardfou_teta=\${lmdz_UserChoices_ByPass_hgardfou_teta} > /dev/null 2>&1 196 196 if [ ${ByPass_hgardfou_teta} = y ] ; then 197 197 awk '{ if ($0 ~ /^teta.*=/) {split($0,a,"=") ; print a[1]"="a[2]/2"."} else print $0}' gcm.def > gcm.def.tmp … … 207 207 ## Read ByPass_hgardfou_mats option in lmdz.card --> purmats=y 2 if [ $ByPass_hgardfou_mats = 1 ] 208 208 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_mats 209 ByPass_hgardfou_mats=${lmdz_UserChoices_ByPass_hgardfou_mats}209 eval ByPass_hgardfou_mats=\${lmdz_UserChoices_ByPass_hgardfou_mats} > /dev/null 2>&1 210 210 if [ ${ByPass_hgardfou_mats} = y ] ; then 211 211 sed -e "s/^purmats=.*/purmats=y/" gcm.def > gcm.def.tmp
Note: See TracChangeset
for help on using the changeset viewer.