Ignore:
Timestamp:
06/25/09 15:00:39 (15 years ago)
Author:
sdipsl
Message:
  • new sponge layer parameter for 39 levels
  • ecrit_mth is a REAL for LMDZ (ecritphy is deprecated, LMDZ use ecrit_mth now)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/lmdz.driver

    r659 r666  
    3333 
    3434    ##--Variables used by LMDZ in physiq.def -- 
    35     PAT_INST=$(     grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'OK_instan='  ) 
    36     PAT_JOUR=$(     grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'OK_journe='  ) 
    37     PAT_MOIS=$(     grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'OK_mensuel=' ) 
    38     PAT_HFRE=$(     grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'ok_hf='      ) 
     35    PAT_INST=$(      grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'OK_instan='  ) 
     36    PAT_JOUR=$(      grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'OK_journe='  ) 
     37    PAT_MOIS=$(      grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'OK_mensuel=' ) 
     38    PAT_HFRE=$(      grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'ok_hf='      ) 
     39    PAT_ecrit_mth=$( grep -v ^# ${SUBMIT_DIR}/PARAM/physiq.def_L${RESOL_ATM_Z}  | grep 'ecrit_mth='  ) 
    3940    ##--Variables used by LMDZ in gcm.def -- 
    40     PAT_iphysiq=$(  grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep iphysiq  ) 
    41     PAT_iperiod=$(  grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep iperiod  ) 
    42     PAT_day_step=$( grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep day_step ) 
    43     PAT_ecritphy=$( grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep ecritphy ) 
     41    PAT_iphysiq=$(   grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep iphysiq  ) 
     42    PAT_iperiod=$(   grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep iperiod  ) 
     43    PAT_day_step=$(  grep -v ^# ${SUBMIT_DIR}/PARAM/gcm.def_${RESOL_ATM_3D} | grep day_step ) 
    4444 
    4545    ## Read LMDZ_adjust option in ${compname}.card --> put adjust=y and save Bands_*.dat in ${SUBMIT_DIR}/PARAM 
     
    6565    IGCM_debug_PushStack "ATM_Update" 
    6666 
    67     ecritphy=${PeriodLengthInDays} 
     67    ecrit_mth=${PeriodLengthInDays}. 
    6868 
    6969    ##-- Remise ou non a zero de la date initiale de LMDZ pour le fichier run.def 
     
    7575 
    7676    ## Mise en forme du fichier physiq.def 
    77     sed -e "s/${PAT_INST}/OK_instan=${OK_instan}/"    \ 
    78         -e "s/${PAT_JOUR}/OK_journe=${OK_journe}/"    \ 
    79         -e "s/${PAT_MOIS}/OK_mensuel=${OK_mensuel}/"  \ 
    80         -e "s/${PAT_HFRE}/ok_hf=${ok_hf}/"            \ 
     77    sed -e "s/${PAT_INST}/OK_instan=${OK_instan}/"      \ 
     78        -e "s/${PAT_JOUR}/OK_journe=${OK_journe}/"      \ 
     79        -e "s/${PAT_MOIS}/OK_mensuel=${OK_mensuel}/"    \ 
     80        -e "s/${PAT_HFRE}/ok_hf=${ok_hf}/"              \ 
     81        -e "s/${PAT_ecrit_mth}/ecrit_mth=${ecrit_mth}/" \ 
    8182        physiq.def > physiq.def.tmp 
    8283    IGCM_sys_Mv physiq.def.tmp physiq.def 
    8384 
    8485    ## Mise en forme du fichier gcm.def 
    85     sed -e "s/${PAT_ecritphy}/ecritphy=${ecritphy}/"   \ 
    86         -e "s/${PAT_day_step}/day_step=${day_step}/"   \ 
    87         -e "s/${PAT_iperiod}/iperiod=${iperiod}/"      \ 
    88         -e "s/${PAT_iphysiq}/iphysiq=${iphysiq}/"      \ 
     86    sed -e "s/${PAT_day_step}/day_step=${day_step}/"    \ 
     87        -e "s/${PAT_iperiod}/iperiod=${iperiod}/"       \ 
     88        -e "s/${PAT_iphysiq}/iphysiq=${iphysiq}/"       \ 
    8989        gcm.def > gcm.def.tmp 
    9090    IGCM_sys_Mv gcm.def.tmp gcm.def 
Note: See TracChangeset for help on using the changeset viewer.