Changeset 4351


Ignore:
Timestamp:
03/25/19 14:56:01 (5 years ago)
Author:
jgipsl
Message:

Updated with changes done in LMDZOR_v6 in changeset [4260], [4311] and [4312].

Location:
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
Files:
2 edited

Legend:

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

    r4297 r4351  
    3939        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_level 0 
    4040        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate2 output_freq 1mo 
     41        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .FALSE. 
     42        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level 0 
     43        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq 1mo 
    4144    fi 
    4245 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/stomate.driver

    r3565 r4351  
    4747 
    4848         
     49    if [ X${stomate_UserChoices_output_level_stomate_history_4dim} = X ] || [ X${stomate_UserChoices_output_level_stomate_history_4dim} = XNONE ] ; then 
     50        # output_level_stomate_history_4dim is not set in stomate.card or it is set to NONE. 
     51        # Deactivate the file. 
     52        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled .FALSE. 
     53        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level 0 
     54        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq 1mo 
     55    else 
     56        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 enabled      .TRUE. 
     57        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_level ${stomate_UserChoices_output_level_stomate_history_4dim} 
     58        IGCM_comp_modifyXmlFile nonblocker file_def_orchidee.xml stomate3 output_freq  ${stomate_UserChoices_output_freq_stomate_history_4dim} 
     59    fi 
     60 
    4961 
    5062    # Define in orchidee.def if restart file should be used 
     
    5567        IGCM_comp_modifyDefFile blocker orchidee.def STOMATE_RESTART_FILEIN stomate_rest_in.nc 
    5668    fi 
     69 
     70 
     71    # Modify in orchidee.def NINPUT_UPDATE if it is set in stomate.card section UserChoices 
     72    # NINPUT_UPDATE inidcates if the nitrogen maps should be updated and at which frequency 
     73    if [ ! X${stomate_UserChoices_NINPUT_UPDATE} = X ] ; then 
     74        # Take the value from stomate.card 
     75        IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE   ${stomate_UserChoices_NINPUT_UPDATE} 
     76    else 
     77        # Set default value 0Y 
     78        IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE 0Y 
     79    fi 
     80 
     81    # Modify in orchidee.def STOMATE_IMPOSE_CN if it is set in stomate.card section UserChoices 
     82    # STOMATE_IMPOSE_CN inidcates if the nitrogen should be imposed or not.  
     83    if [ ! X${stomate_UserChoices_STOMATE_IMPOSE_CN} = X ] ; then 
     84        # Take the value from stomate.card 
     85        IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN   ${stomate_UserChoices_STOMATE_IMPOSE_CN} 
     86    else 
     87        # Set default value n (nitrogen is not imposed) 
     88        IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN n 
     89    fi 
     90 
    5791 
    5892    IGCM_debug_PopStack "SBG_Update" 
Note: See TracChangeset for help on using the changeset viewer.