Changeset 1221 for CONFIG/IPSLCM
- Timestamp:
- 12/17/10 17:36:23 (14 years ago)
- Location:
- CONFIG/IPSLCM/IPSLCM5B
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5B/historical/COMP/lmdz.card
r1220 r1221 4 4 [UserChoices] 5 5 # Physics package to use 6 LMDZ_Physics=AP 6 LMDZ_Physics=NPv2.0 7 #LMDZ_Physics=AP 8 7 9 ByPass_hgardfou_teta=n 8 10 ByPass_hgardfou_mats=n … … 59 61 [ParametersFiles] 60 62 List= (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, physiq.def), \ 61 (${SUBMIT_DIR}/PARAM/config.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, config.def), \ 62 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 63 (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt, .), \ 64 (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt, .), \ 65 (${SUBMIT_DIR}/PARAM/run.def, .), \ 63 (${SUBMIT_DIR}/PARAM/config.def, config.def), \ 64 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 65 (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt, .), \ 66 (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt, .), \ 67 (${SUBMIT_DIR}/PARAM/output.def, .), \ 68 (${SUBMIT_DIR}/PARAM/run.def, .), \ 66 69 (${SUBMIT_DIR}/PARAM/traceur.def, .) 67 70 -
CONFIG/IPSLCM/IPSLCM5B/historical/COMP/lmdz.driver
r1220 r1221 11 11 12 12 IGCM_debug_PopStack "LMDZ_sed" 13 return $RET 14 } 15 16 function LMDZ_string_sed 17 { 18 IGCM_debug_PushStack "LMDZ_string_sed" 19 20 sed -e "s/${2}/${3}/" ${1} > ${1}.tmp 21 RET=$? 22 echo "LMDZ_sed : ${1} ${2} ${3}" 23 \mv ${1}.tmp ${1} 24 25 IGCM_debug_PopStack "LMDZ_string_sed" 13 26 return $RET 14 27 } … … 60 73 done 61 74 62 63 64 75 ## Read LMDZPhysics option in lmdz.card 76 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_Physics 77 LMDZ_Physics=${lmdz_UserChoices_LMDZ_Physics} 65 78 66 79 ## Read LMDZ_NbPeriod_adjust option in lmdz.card … … 98 111 case ${config_UserChoices_PeriodLength} in 99 112 *Y|*y) 100 LMDZ_ecrit_mth=30. 113 # LMDZ_ecrit_mth=30. 114 LMDZ_ecrit_mth=1mth 101 115 LMDZ_ecrit_ISCCP=30. 102 116 LMDZ_periodav=30. … … 107 121 ;; 108 122 *) 109 LMDZ_ecrit_mth= ${PeriodLengthInDays}.123 LMDZ_ecrit_mth="${PeriodLengthInDays}""day" 110 124 LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 111 125 LMDZ_periodav=${PeriodLengthInDays}. … … 168 182 LMDZ_sed physiq.def OK_journe ${OK_journe} 169 183 LMDZ_sed physiq.def OK_mensuel ${OK_mensuel} 170 #LMDZ_sed physiq.def lev_histmth ${lev_histmth}171 184 LMDZ_sed physiq.def ok_hf ${ok_hf} 172 LMDZ_sed physiq.def ecrit_mth ${LMDZ_ecrit_mth} 185 # LMDZ_sed physiq.def ecrit_mth ${LMDZ_ecrit_mth} 186 LMDZ_string_sed config.def _ecrit-mth_ ${LMDZ_ecrit_mth} 173 187 LMDZ_sed physiq.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 174 188 LMDZ_sed physiq.def ok_cosp ${LMDZ_COSP_OK} -
CONFIG/IPSLCM/IPSLCM5B/piControl/COMP/lmdz.card
r1220 r1221 4 4 [UserChoices] 5 5 # Physics package to use 6 LMDZ_Physics=AP 6 LMDZ_Physics=NPv2.0 7 #LMDZ_Physics=AP 8 7 9 ByPass_hgardfou_teta=n 8 10 ByPass_hgardfou_mats=n … … 53 55 [ParametersFiles] 54 56 List= (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, physiq.def), \ 55 + (${SUBMIT_DIR}/PARAM/config.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, config.def), \ 56 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 57 (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt, .), \ 58 (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt, .), \ 59 (${SUBMIT_DIR}/PARAM/run.def, .), \ 57 (${SUBMIT_DIR}/PARAM/config.def, config.def), \ 58 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 59 (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt, .), \ 60 (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt, .), \ 61 (${SUBMIT_DIR}/PARAM/output.def, .), \ 62 (${SUBMIT_DIR}/PARAM/run.def, .), \ 60 63 (${SUBMIT_DIR}/PARAM/traceur.def, .) 61 64 -
CONFIG/IPSLCM/IPSLCM5B/piControl/COMP/lmdz.driver
r1220 r1221 11 11 12 12 IGCM_debug_PopStack "LMDZ_sed" 13 return $RET 14 } 15 16 function LMDZ_string_sed 17 { 18 IGCM_debug_PushStack "LMDZ_string_sed" 19 20 sed -e "s/${2}/${3}/" ${1} > ${1}.tmp 21 RET=$? 22 echo "LMDZ_sed : ${1} ${2} ${3}" 23 \mv ${1}.tmp ${1} 24 25 IGCM_debug_PopStack "LMDZ_string_sed" 13 26 return $RET 14 27 } … … 95 108 case ${config_UserChoices_PeriodLength} in 96 109 *Y|*y) 97 LMDZ_ecrit_mth=30. 110 # LMDZ_ecrit_mth=30. 111 LMDZ_ecrit_mth=1mth 98 112 LMDZ_ecrit_ISCCP=30. 99 113 LMDZ_periodav=30. … … 104 118 ;; 105 119 *) 106 LMDZ_ecrit_mth= ${PeriodLengthInDays}.120 LMDZ_ecrit_mth="${PeriodLengthInDays}""day" 107 121 LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 108 122 LMDZ_periodav=${PeriodLengthInDays}. … … 144 158 LMDZ_sed physiq.def OK_mensuel ${OK_mensuel} 145 159 LMDZ_sed physiq.def ok_hf ${ok_hf} 146 LMDZ_sed physiq.def ecrit_mth ${LMDZ_ecrit_mth} 160 # LMDZ_sed physiq.def ecrit_mth ${LMDZ_ecrit_mth} 161 LMDZ_string_sed config.def _ecrit-mth_ ${LMDZ_ecrit_mth} 147 162 LMDZ_sed physiq.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 148 163 LMDZ_sed physiq.def ok_cosp ${LMDZ_COSP_OK}
Note: See TracChangeset
for help on using the changeset viewer.