Changeset 1630


Ignore:
Timestamp:
01/18/12 11:01:36 (12 years ago)
Author:
acosce
Message:

Add new resolution with 39 levels in INCA config

Location:
CONFIG/LMDZORINCA/tags/LMDZORINCA_v2/EXP_LOI/COMP
Files:
6 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/LMDZORINCA/tags/LMDZORINCA_v2/EXP_LOI/COMP/lmdz.driver

    r1575 r1630  
    2323 
    2424    RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' ) 
    25     case ${RESOL_ATM} in 
    26         LMD7245)   BandsResol=72x45x19   ;; 
    27         LMD9671)   BandsResol=96x71x19   ;; 
    28         LMD9672)   BandsResol=96x72x19   ;; 
    29         LMD9695)   BandsResol=96x95x19   ;; 
    30         LMD14496)  BandsResol=144x96x19  ;; 
    31         LMD144142) BandsResol=144x142x19 ;; 
    32     esac 
     25 
     26    [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 
     27 
     28    RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' | awk "-F-" '{print $1}') 
    3329 
    3430 
     
    10197    if [ ${CumulPeriod} -eq 1 ] ; then 
    10298        if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 
    103             IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat 
    104             IGCM_sys_Put_Out Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_0 
    105             IGCM_debug_Print 1 "Bands file forced to ${LMDZ_Bands_file_name} and stored in ${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_0" 
    106             IGCM_sys_Chmod u+w Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat 
     99            if [ ! X${LMDZ_Bands_file_name} = X] ; then 
     100               IGCM_sys_Get ${LMDZ_Bands_file_name} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
     101               IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0 
     102               IGCM_debug_Print 1 "Bands file forced to ${LMDZ_Bands_file_name} and stored in ${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_0" 
     103               IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat 
     104            fi 
    107105        fi 
    108106    fi 
     
    114112    [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && (( RefPeriod = ${CumulPeriod} - 1 ))  
    115113 
    116     [ ${CumulPeriod} -gt 1 ] && ( IGCM_sys_Get ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_${RefPeriod} Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat; IGCM_sys_Chmod u+w Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat ) 
     114    [ ${CumulPeriod} -gt 1 ] && ( IGCM_sys_Get ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${RefPeriod} Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat; IGCM_sys_Chmod u+w Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ) 
    117115 
    118  
    119     ## physiq.def parameters modified from initial physiq.def 
     116    ## physiq.def parameters modified from initial physiq_L${RESOL_ATM_Z} 
    120117    #  columns in phys_output_filekeys refer to the filenames given in phys_out_filenames in output.def :   
    121118    #                                            histmth       histday        histhf    histfh3h   histhf3hm   histstn 
     
    152149    IGCM_debug_PushStack "ATM_Finalize" 
    153150 
    154     [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && IGCM_sys_Put_Out Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${BandsResol}_${NUM_PROC_ATM}prc.dat_${CumulPeriod} 
     151    [ ${CumulPeriod} -le ${LMDZ_NbPeriod_adjust} ] && IGCM_sys_Put_Out Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat ${R_OUT_ATM_D}/${config_UserChoices_JobName}_Bands_${RESOL_ATM_3D}_${NUM_PROC_ATM}prc.dat_${CumulPeriod} 
    155152    echo FINALIZE ATM ! 
    156153 
Note: See TracChangeset for help on using the changeset viewer.