Changeset 1220 for CONFIG/IPSLCM/IPSLCM5B/EXP00/COMP
- Timestamp:
- 12/15/10 17:15:45 (14 years ago)
- Location:
- CONFIG/IPSLCM/IPSLCM5B/EXP00/COMP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5B/EXP00/COMP/lmdz.card
r1183 r1220 3 3 4 4 [UserChoices] 5 # Physics package to use 6 LMDZ_Physics=NPv2.0 7 #LMDZ_Physics=AP 8 5 9 ByPass_hgardfou_teta=n 6 10 ByPass_hgardfou_mats=n … … 51 55 52 56 [ParametersFiles] 53 List= (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}, physiq.def), \ 54 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 55 (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt, .), \ 56 (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt, .), \ 57 (${SUBMIT_DIR}/PARAM/run.def, .), \ 57 List= (${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}_${LMDZ_Physics}, physiq.def), \ 58 (${SUBMIT_DIR}/PARAM/config.def, config.def), \ 59 (${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D}, gcm.def), \ 60 (${SUBMIT_DIR}/PARAM/cosp_input_nl.txt, .), \ 61 (${SUBMIT_DIR}/PARAM/cosp_output_nl.txt, .), \ 62 (${SUBMIT_DIR}/PARAM/output.def, .), \ 63 (${SUBMIT_DIR}/PARAM/run.def, .), \ 58 64 (${SUBMIT_DIR}/PARAM/traceur.def, .) 59 65 -
CONFIG/IPSLCM/IPSLCM5B/EXP00/COMP/lmdz.driver
r1172 r1220 14 14 } 15 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" 26 return $RET 27 } 28 16 29 function ATM_Initialize 17 30 { 18 31 IGCM_debug_PushStack "ATM_Initialize" 19 32 33 set -vx 34 20 35 RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-F-" '{print $1}') 21 36 … … 23 38 24 39 RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 25 40 26 41 ##-- Calendar type for LMDZ 27 42 case ${config_UserChoices_CalendarType} in … … 57 72 done 58 73 74 ## Read LMDZPhysics option in lmdz.card 75 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_Physics 76 LMDZ_Physics=${lmdz_UserChoices_LMDZ_Physics} 77 59 78 ## Read LMDZ_NbPeriod_adjust option in lmdz.card 60 79 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_NbPeriod_adjust … … 91 110 case ${config_UserChoices_PeriodLength} in 92 111 *Y|*y) 93 LMDZ_ecrit_mth=30. 112 # LMDZ_ecrit_mth=30. 113 LMDZ_ecrit_mth=1mth 94 114 LMDZ_ecrit_ISCCP=30. 95 115 LMDZ_periodav=30. … … 100 120 ;; 101 121 *) 102 LMDZ_ecrit_mth= ${PeriodLengthInDays}.122 LMDZ_ecrit_mth="${PeriodLengthInDays}""day" 103 123 LMDZ_ecrit_ISCCP=${PeriodLengthInDays}. 104 124 LMDZ_periodav=${PeriodLengthInDays}. … … 140 160 LMDZ_sed physiq.def OK_mensuel ${OK_mensuel} 141 161 LMDZ_sed physiq.def ok_hf ${ok_hf} 142 LMDZ_sed physiq.def ecrit_mth ${LMDZ_ecrit_mth} 162 # LMDZ_sed physiq.def ecrit_mth ${LMDZ_ecrit_mth} 163 LMDZ_string_sed config.def _ecrit-mth_ ${LMDZ_ecrit_mth} 143 164 LMDZ_sed physiq.def ecrit_ISCCP ${LMDZ_ecrit_ISCCP} 144 165 LMDZ_sed physiq.def ok_cosp ${LMDZ_COSP_OK}
Note: See TracChangeset
for help on using the changeset viewer.