Changeset 1783 for CONFIG/UNIFORM/v5/IPSLCM5CHS_v5
- Timestamp:
- 06/21/12 16:51:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v5/IPSLCM5CHS_v5/GENERAL/DRIVER/lmdz.driver
r1782 r1783 6 6 # In file filedef modify the line containing var_name=xxx into var_name=myvalue 7 7 IGCM_debug_PushStack "LMDZ_sed" 8 9 # Test if the fichier exist 10 if [ ! -f ${1} ] ; then 11 echo "WARNING : ${1} file does not exist. Following will not be done : LMDZ_sed : ${1} ${2} ${3}" 12 return 13 fi 8 14 9 15 sed -e "s/^${2}\ *=.*/${2}= ${3}/" ${1} > ${1}.tmp … … 130 136 fi 131 137 132 ## Read LMDZ_Freq_aero and LMDZ_Length_aero in lmdz.card 133 LMDZ_Freq_aero=${lmdz_UserChoices_LMDZ_Freq_aero} 134 LMDZ_Length_aero=${lmdz_UserChoices_LMDZ_Length_aero} 135 136 ## Read LMDZ_COSP_monthly LMDZ_COSP_daily and LMDZ_COSP_hf in lmdz.card 137 LMDZ_COSP_OK=${lmdz_UserChoices_LMDZ_COSP_OK} 138 LMDZ_COSP_monthly=${lmdz_UserChoices_LMDZ_COSP_monthly} 139 LMDZ_COSP_daily=${lmdz_UserChoices_LMDZ_COSP_daily} 140 LMDZ_COSP_hf=${lmdz_UserChoices_LMDZ_COSP_hf} 141 142 ## Read LMDZ_NMC_monthly LMDZ_NMC_daily and LMDZ_NMC_hf in lmdz.card 143 LMDZ_NMC_monthly=${lmdz_UserChoices_LMDZ_NMC_monthly} 144 LMDZ_NMC_daily=${lmdz_UserChoices_LMDZ_NMC_daily} 145 LMDZ_NMC_hf=${lmdz_UserChoices_LMDZ_NMC_hf} 138 139 ## Read LMDZ_COSP_OK in lmdz.card 140 if [ ! X${lmdz_UserChoices_LMDZ_COSP_OK} = X ] ; then 141 LMDZ_COSP_OK=${lmdz_UserChoices_LMDZ_COSP_OK} 142 else 143 LMDZ_COSP_OK=n 144 fi 145 ## Read LMDZ_COSP_monthly in lmdz.card 146 if [ ! X${lmdz_UserChoices_LMDZ_COSP_monthly} = X ] ; then 147 LMDZ_COSP_monthly=${lmdz_UserChoices_LMDZ_COSP_monthly} 148 else 149 LMDZ_COSP_monthly=n 150 fi 151 ## Read LMDZ_COSP_daily in lmdz.card 152 if [ ! X${lmdz_UserChoices_LMDZ_COSP_daily} = X ] ; then 153 LMDZ_COSP_daily=${lmdz_UserChoices_LMDZ_COSP_daily} 154 else 155 LMDZ_COSP_daily=n 156 fi 157 ## Read LMDZ_COSP_hf in lmdz.card 158 if [ ! X${lmdz_UserChoices_LMDZ_COSP_hf} = X ] ; then 159 LMDZ_COSP_hf=${lmdz_UserChoices_LMDZ_COSP_hf} 160 else 161 LMDZ_COSP_hf=n 162 fi 163 164 ## Read LMDZ_NMC_monthly in lmdz.card 165 if [ ! X${lmdz_UserChoices_LMDZ_NMC_monthly} = X ] ; then 166 LMDZ_NMC_monthly=${lmdz_UserChoices_LMDZ_NMC_monthly} 167 else 168 LMDZ_NMC_monthly=n 169 fi 170 171 ## Read LMDZ_NMC_daily in lmdz.card 172 if [ ! X${lmdz_UserChoices_LMDZ_NMC_daily} = X ] ; then 173 LMDZ_NMC_daily=${lmdz_UserChoices_LMDZ_NMC_daily} 174 else 175 LMDZ_NMC_daily=n 176 fi 177 178 ## Read LMDZ_NMC_hf in lmdz.card 179 if [ ! X${lmdz_UserChoices_LMDZ_NMC_hf} = X ] ; then 180 LMDZ_NMC_hf=${lmdz_UserChoices_LMDZ_NMC_hf} 181 else 182 LMDZ_NMC_hf=n 183 fi 184 146 185 147 186 IGCM_debug_PopStack "ATM_Initialize" … … 265 304 LMDZ_sed output.def ok_journeCOSP ${LMDZ_COSP_daily} 266 305 LMDZ_sed output.def ok_hfCOSP ${LMDZ_COSP_hf} 267 LMDZ_sed output.def ok_histNMC "${LMDZ_NMC_monthly} , ${LMDZ_NMC_daily},${LMDZ_NMC_hf}"306 LMDZ_sed output.def ok_histNMC "${LMDZ_NMC_monthly} ${LMDZ_NMC_daily} ${LMDZ_NMC_hf}" 268 307 269 308 ## gcm.def parameters :
Note: See TracChangeset
for help on using the changeset viewer.