Ignore:
Timestamp:
01/12/18 13:19:53 (6 years ago)
Author:
jgipsl
Message:

Added option VEGET_UPDATE_at_start in orchidee.card and driver. This option is set to yes in all control simulations to be sure to take the vegetation file and woodharvest file set in orchidee.card instead of those stored in the restart file. The input files must be in BoundaryFiles because InitialStatFiles? will not be copied for the case if starting with restart file.

By default, VEGET_UPDATE_at_start=n and nothing will be done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/orchidee.driver

    r3505 r3537  
    4646    fi 
    4747 
     48    # Set VEGET_UPDATE=1Y in orchidee.def if VEGET_UPDATE_at_start=y in orchidee.card and if it is the first cumul periond (start of new simulation) 
     49    if [ X${orchidee_UserChoices_VEGET_UPDATE_at_start} = Xy ] && [ ${CumulPeriod} -eq 1 ] ; then 
     50        IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE   1Y 
     51    fi 
     52 
    4853    # Modify in orchidee.def VEGET_UPDATE if it is set in orchidee.card section UserChoices 
     54    # Note: if the variable has been set by VEGET_UPDATE_at_start, this section will not overwrite it. 
    4955    if [ ! X${orchidee_UserChoices_VEGET_UPDATE} = X ] ; then 
    5056        IGCM_comp_modifyDefFile nonblocker orchidee.def VEGET_UPDATE   ${orchidee_UserChoices_VEGET_UPDATE} 
Note: See TracChangeset for help on using the changeset viewer.