Ignore:
Timestamp:
08/05/09 16:00:47 (15 years ago)
Author:
jgipsl
Message:

Updatede LMDZ4 configuration as done for LMDZ4OR. Added new compile
resolutions and corresponding parameter files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZ/branches/LMDZ4/LMDZ/COMP/lmdz.driver

    r541 r699  
    88 
    99    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}' ) 
    1613 
    1714    ##- Create_etat0_limit version 
     
    5350 
    5451    ##--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  ) 
    5754 
    5855    ## Read LMDZ_adjust option in ${compname}.card --> put adjust=y and save Bands_*.dat in ${SUBMIT_DIR}/${PARAM} 
     
    6461    iperiod=$( echo ${PAT_iperiod} | awk -F= '{print $2}' ) 
    6562    iphysiq=$( echo ${PAT_iphysiq} | awk -F= '{print $2}' ) 
    66  
    6763    # day_step : number of steps per day (multiple of iperiod and iphysiq) 
    6864    (( day_step = 48 * iphysiq )) 
    69  
     65     
    7066    IGCM_debug_PopStack "ATM_Initialize" 
    7167} 
     
    7571{ 
    7672    IGCM_debug_PushStack "ATM_Update" 
    77  
    78 #    ecritphy=${PeriodLengthInDays} 
    7973 
    8074    ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 
     
    117111    IGCM_debug_PushStack "ATM_Finalize" 
    118112 
    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} 
    120114 
    121115    echo FINALIZE ATM ! 
Note: See TracChangeset for help on using the changeset viewer.