Changeset 699 for CONFIG/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.driver
- Timestamp:
- 08/05/09 16:00:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.driver
r541 r699 8 8 9 9 RESOL_ATM=${RESOL} 10 case ${RESOL_ATM} in 11 LMD7245) BandsResol=72x45x19 ;; 12 LMD9671) BandsResol=96x71x19 ;; 13 LMD14496) BandsResol=144x96x19 ;; 14 LMD144142) BandsResol=144x142x19 ;; 15 esac 10 11 [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 12 RESOL_ATM_Z=$( echo $RESOL_ATM_3D | awk "-Fx" '{print $3}' ) 16 13 17 14 ##- Create_etat0_limit version … … 53 50 54 51 ##--Variables used by LMDZ in gcm.def -- 55 PAT_iphysiq=$( grep -v ^# ${SUBMIT_DIR}/${PARAM}/gcm.def_${RESOL_ATM } | grep iphysiq )56 PAT_iperiod=$( grep -v ^# ${SUBMIT_DIR}/${PARAM}/gcm.def_${RESOL_ATM } | grep iperiod )52 PAT_iphysiq=$( grep -v ^# ${SUBMIT_DIR}/${PARAM}/gcm.def_${RESOL_ATM_3D} | grep iphysiq ) 53 PAT_iperiod=$( grep -v ^# ${SUBMIT_DIR}/${PARAM}/gcm.def_${RESOL_ATM_3D} | grep iperiod ) 57 54 58 55 ## Read LMDZ_adjust option in ${compname}.card --> put adjust=y and save Bands_*.dat in ${SUBMIT_DIR}/${PARAM} … … 64 61 iperiod=$( echo ${PAT_iperiod} | awk -F= '{print $2}' ) 65 62 iphysiq=$( echo ${PAT_iphysiq} | awk -F= '{print $2}' ) 66 67 63 # day_step : number of steps per day (multiple of iperiod and iphysiq) 68 64 (( day_step = 48 * iphysiq )) 69 65 70 66 IGCM_debug_PopStack "ATM_Initialize" 71 67 } … … 75 71 { 76 72 IGCM_debug_PushStack "ATM_Update" 77 78 # ecritphy=${PeriodLengthInDays}79 73 80 74 ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def … … 117 111 IGCM_debug_PushStack "ATM_Finalize" 118 112 119 [ ${LMDZ_adjust} = y ] && IGCM_sys_Cp Bands_${ BandsResol}_${NUM_PROC_ATM}prc.dat ${SUBMIT_DIR}/${PARAM}113 [ ${LMDZ_adjust} = y ] && IGCM_sys_Cp Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${SUBMIT_DIR}/${PARAM} 120 114 121 115 echo FINALIZE ATM !
Note: See TracChangeset
for help on using the changeset viewer.