Changeset 4366 for CONFIG


Ignore:
Timestamp:
03/27/19 15:26:57 (5 years ago)
Author:
jgipsl
Message:

Modification to have right date when running create_etat0_mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/lmdz.driver

    r4357 r4366  
    336336    IGCM_comp_modifyDefFile blocker run.def nday      ${PeriodLengthInDays} 
    337337 
    338     # Set anneeref different for gcm and ce0l 
    339     # Test if executable create_etat0_limit is present and lmdz.x is not present 
    340     if [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then 
    341         # for case ce0l : always take current year 
    342         IGCM_comp_modifyDefFile blocker run.def anneeref ${year} 
    343          
    344         # Temporary, set use_filtre_fft=n because we now use dyn3d for ce0l version where fft is not implemented.  
    345         # In more recent versions of LMDZ, this will not be needed.  
    346         IGCM_comp_modifyDefFile force   run.def use_filtre_fft n 
     338    # Set anneeref different for gcm and create_etat0_limit mode 
     339    # Test if keyword create_etat0_limit=y is set in dynamico.card or in lmdz.card 
     340    if [ X${lmdz_UserChoices_create_etat0_limit} = Xy ] || [ X${dynamico_UserChoices_create_etat0_limit} = Xy ] ; then 
     341       # for case create_etat0_limit : always take current year 
     342       IGCM_comp_modifyDefFile blocker run.def anneeref ${year} 
     343         
     344       # Temporary, set use_filtre_fft=n because we now use dyn3d for ce0l version where fft is not implemented.  
     345       # In more recent versions of LMDZ, this will not be needed.  
     346           IGCM_comp_modifyDefFile force   run.def use_filtre_fft n 
    347347    else 
    348348        # for case gcm : take first year of simulation 
Note: See TracChangeset for help on using the changeset viewer.