- Timestamp:
- 06/12/09 14:13:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/lmdz.driver
r583 r641 13 13 LMD9671) BandsResol=96x71x19 ;; 14 14 LMD9695) BandsResol=96x95x19 ;; 15 LMD9696) BandsResol=96x96x19 ;; 15 16 LMD14496) BandsResol=144x96x19 ;; 16 17 LMD144142) BandsResol=144x142x19 ;; … … 39 40 40 41 ##--Variables used by LMDZ in physiq.def -- 41 PAT_INST=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'OK_instan ' )42 PAT_JOUR=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'OK_journe ' )43 PAT_MOIS=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'OK_mensuel ' )44 PAT_HFRE=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'ok_hf ' )42 PAT_INST=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'OK_instan=' ) 43 PAT_JOUR=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'OK_journe=' ) 44 PAT_MOIS=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'OK_mensuel=' ) 45 PAT_HFRE=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def | grep 'ok_hf=' ) 45 46 ##--Variables used by LMDZ in gcm.def -- 46 47 PAT_iphysiq=$( grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM} | grep iphysiq ) … … 58 59 iphysiq=$( echo ${PAT_iphysiq} | awk -F= '{print $2}' ) 59 60 # day_step : number of steps per day (multiple of iperiod) 60 (( day_step = 48 * iphysiq )) 61 #(( day_step = 48 * iphysiq )) 62 day_step=$( echo ${PAT_day_step} | awk -F= '{print $2}' ) 61 63 62 #[ -f ${SUBMIT_DIR}/PARAM/Bands_${BandsResol}_ 7prc.dat ] && IGCM_sys_Cp ${SUBMIT_DIR}/PARAM/Bands_${BandsResol}_7prc.dat .64 #[ -f ${SUBMIT_DIR}/PARAM/Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat ] && IGCM_sys_Cp ${SUBMIT_DIR}/PARAM/Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat . 63 65 64 66 IGCM_debug_PopStack "ATM_Initialize" … … 80 82 81 83 ## Mise en forme du fichier physiq.def 82 sed -e "s/ OK_instan=.*/OK_instan=${OK_instan}/" \83 -e "s/ OK_journe=.*/OK_journe=${OK_journe}/" \84 -e "s/ OK_mensuel=.*/OK_mensuel=${OK_mensuel}/"\85 -e "s/ ok_hf=.*/ok_hf=${ok_hf}/"\84 sed -e "s/${PAT_INST}/OK_instan=${OK_instan}/" \ 85 -e "s/${PAT_JOUR}/OK_journe=${OK_journe}/" \ 86 -e "s/${PAT_MOIS}/OK_mensuel=${OK_mensuel}/" \ 87 -e "s/${PAT_HFRE}/ok_hf=${ok_hf}/" \ 86 88 physiq.def > physiq.def.tmp 87 89 IGCM_sys_Mv physiq.def.tmp physiq.def
Note: See TracChangeset
for help on using the changeset viewer.