Changeset 2275


Ignore:
Timestamp:
07/09/14 14:45:48 (7 years ago)
Author:
omamce
Message:

O.M. : managing coupling frequency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/lmdz.driver

    r2270 r2275  
    2222    return $RET 
    2323} 
     24 
    2425function LMDZ_sed_default 
    2526{ 
     
    3637} 
    3738 
    38  
    3939function ATM_Initialize 
    4040{ 
     
    4343    RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' | awk "-F-" '{print $1}') 
    4444 
    45     [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x19 
     45    [ -f ${SUBMIT_DIR}/../.resol ] && eval $(grep RESOL_ATM_3D ${SUBMIT_DIR}/../.resol) || RESOL_ATM_3D=96x95x39 
    4646 
    4747    RESOL_ATM_Z=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $3}' ) 
     
    4949    RESOL_ATM_Y=$( echo ${RESOL_ATM_3D} | awk "-Fx" '{print $2}' ) 
    5050    RESOL_ATM_XY="${RESOL_ATM_X}x${RESOL_ATM_Y}" 
     51    FreqCoupling=${oasis_UserChoices_FreqCoupling:-86400} 
    5152 
    5253    ##-- Calendar type for LMDZ and create_etat0_limit 
     
    298299    fi 
    299300 
     301    ## Coupling Time Step 
     302    LMDZ_t_coupl=${oasis_UserChoices_FreqCoupling:-${lmdz_UserChoices_t_coupl}} 
     303    IGCM_debug_Print 3 "LMDZ_t_coupl "   ${LMDZ_t_coupl} 
     304    LMDZ_sed config.def t_coupl   ${LMDZ_t_coupl} 
    300305 
    301306    ##-- Add special treatement for CARBON CYCLE 
     
    326331    # Modification only for new physics 
    327332    if [ X${LMDZ_Physics} = X"AP" ] ; then 
    328     LMDZ_sed gcm.def iphysiq     10 
    329     else 
    330     LMDZ_sed_default gcm.def iphysiq 
     333        LMDZ_sed gcm.def iphysiq     10 
     334    else 
     335        LMDZ_sed_default gcm.def iphysiq 
    331336    fi 
    332337 
Note: See TracChangeset for help on using the changeset viewer.