Changeset 1220 for CONFIG/IPSLCM/IPSLCM5B/EXP00/COMP/lmdz.driver
- Timestamp:
- 12/15/10 17:15:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.