Ignore:
Timestamp:
10/25/10 12:38:08 (14 years ago)
Author:
sdipsl
Message:

Update ldmz.driver

  • turn on daily cosp for historical experiment after year 1979
  • clean up unnecessary eval call in the driver
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5A/piControl/COMP/lmdz.driver

    r1163 r1172  
    5959    ## Read LMDZ_NbPeriod_adjust option in lmdz.card  
    6060    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_NbPeriod_adjust 
    61     eval LMDZ_NbPeriod_adjust=\${lmdz_UserChoices_LMDZ_NbPeriod_adjust} > /dev/null 2>&1 
     61    LMDZ_NbPeriod_adjust=${lmdz_UserChoices_LMDZ_NbPeriod_adjust} 
    6262 
    6363    if [ ${LMDZ_NbPeriod_adjust} -eq 0 ] ; then 
    6464        IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices LMDZ_Bands_file_name 
    65         eval LMDZ_Bands_file_name=\${lmdz_UserChoices_LMDZ_Bands_file_name} > /dev/null 2>&1 
     65        LMDZ_Bands_file_name=${lmdz_UserChoices_LMDZ_Bands_file_name} 
    6666    fi 
    6767 
    6868    ##  Read LMDZ_Freq_aero and LMDZ_Length_aero in lmdz.card 
    69     eval LMDZ_Freq_aero=\${lmdz_UserChoices_LMDZ_Freq_aero} > /dev/null 2>&1 
    70     eval LMDZ_Length_aero=\${lmdz_UserChoices_LMDZ_Length_aero} > /dev/null 2>&1 
     69    LMDZ_Freq_aero=${lmdz_UserChoices_LMDZ_Freq_aero} 
     70    LMDZ_Length_aero=${lmdz_UserChoices_LMDZ_Length_aero} 
    7171 
    7272    ##  Read LMDZ_COSP_monthly  LMDZ_COSP_daily and LMDZ_COSP_hf in lmdz.card 
    73     eval LMDZ_COSP_OK=\${lmdz_UserChoices_LMDZ_COSP_OK} > /dev/null 2>&1 
    74     eval LMDZ_COSP_monthly=\${lmdz_UserChoices_LMDZ_COSP_monthly} > /dev/null 2>&1 
    75     eval LMDZ_COSP_daily=\${lmdz_UserChoices_LMDZ_COSP_daily} > /dev/null 2>&1 
    76     eval LMDZ_COSP_hf=\${lmdz_UserChoices_LMDZ_COSP_hf} > /dev/null 2>&1 
     73    LMDZ_COSP_OK=${lmdz_UserChoices_LMDZ_COSP_OK} 
     74    LMDZ_COSP_monthly=${lmdz_UserChoices_LMDZ_COSP_monthly} 
     75    LMDZ_COSP_daily=${lmdz_UserChoices_LMDZ_COSP_daily} 
     76    LMDZ_COSP_hf=${lmdz_UserChoices_LMDZ_COSP_hf} 
    7777 
    7878    ##  Read LMDZ_NMC_monthly  LMDZ_NMC_daily and LMDZ_NMC_hf in lmdz.card 
    79     eval LMDZ_NMC_monthly=\${lmdz_UserChoices_LMDZ_NMC_monthly} > /dev/null 2>&1 
    80     eval LMDZ_NMC_daily=\${lmdz_UserChoices_LMDZ_NMC_daily} > /dev/null 2>&1 
    81     eval LMDZ_NMC_hf=\${lmdz_UserChoices_LMDZ_NMC_hf} > /dev/null 2>&1 
     79    LMDZ_NMC_monthly=${lmdz_UserChoices_LMDZ_NMC_monthly} 
     80    LMDZ_NMC_daily=${lmdz_UserChoices_LMDZ_NMC_daily} 
     81    LMDZ_NMC_hf=${lmdz_UserChoices_LMDZ_NMC_hf} 
    8282 
    8383    IGCM_debug_PopStack "ATM_Initialize" 
     
    161161    ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 
    162162    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_teta 
    163     eval ByPass_hgardfou_teta=\${lmdz_UserChoices_ByPass_hgardfou_teta} > /dev/null 2>&1 
     163    ByPass_hgardfou_teta=${lmdz_UserChoices_ByPass_hgardfou_teta} 
    164164    if [ ${ByPass_hgardfou_teta} = y ] ; then 
    165165        awk '{ if ($0 ~ /^teta.*=/) {split($0,a,"=") ; print a[1]"="a[2]/2"."} else print $0}' gcm.def > gcm.def.tmp 
     
    175175    ## Read ByPass_hgardfou_mats option in lmdz.card --> purmats=y 2 if [ $ByPass_hgardfou_mats = 1 ] 
    176176    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_mats 
    177     eval ByPass_hgardfou_mats=\${lmdz_UserChoices_ByPass_hgardfou_mats} > /dev/null 2>&1 
     177    ByPass_hgardfou_mats=${lmdz_UserChoices_ByPass_hgardfou_mats} 
    178178    if [ ${ByPass_hgardfou_mats} = y ] ; then 
    179179        sed -e "s/^purmats=.*/purmats=y/" gcm.def > gcm.def.tmp 
Note: See TracChangeset for help on using the changeset viewer.