Changeset 4260


Ignore:
Timestamp:
02/07/19 15:46:21 (5 years ago)
Author:
jgipsl
Message:

Added section in stomate.driver so that all drivers will be the same between v6, v6.2 and v6.3.

This section will modify the parameters STOMATE_IMPOSE_CN and NINPUT_UPDATE in orchidee.def. But as they are modified using nonblocker option it will not make any harm if the variables do not exist.

Location:
CONFIG/UNIFORM/v6
Files:
2 edited

Legend:

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

    r3563 r4260  
    5656    fi 
    5757 
     58 
     59    # Modify in orchidee.def NINPUT_UPDATE if it is set in stomate.card section UserChoices 
     60    # NINPUT_UPDATE inidcates if the nitrogen maps should be updated and at which frequency 
     61    if [ ! X${stomate_UserChoices_NINPUT_UPDATE} = X ] ; then 
     62        # Take the value from stomate.card 
     63        IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE   ${stomate_UserChoices_NINPUT_UPDATE} 
     64    else 
     65        # Set default value 0Y 
     66        IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE 0Y 
     67    fi 
     68 
     69    # Modify in orchidee.def STOMATE_IMPOSE_CN if it is set in stomate.card section UserChoices 
     70    # STOMATE_IMPOSE_CN inidcates if the nitrogen should be imposed or not.  
     71    if [ ! X${stomate_UserChoices_STOMATE_IMPOSE_CN} = X ] ; then 
     72        # Take the value from stomate.card 
     73        IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN   ${stomate_UserChoices_STOMATE_IMPOSE_CN} 
     74    else 
     75        # Set default value n (nitrogen is not imposed) 
     76        IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN n 
     77    fi 
     78 
     79 
    5880    IGCM_debug_PopStack "SBG_Update" 
    5981} 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/stomate.driver

    r3563 r4260  
    5656    fi 
    5757 
     58 
     59    # Modify in orchidee.def NINPUT_UPDATE if it is set in stomate.card section UserChoices 
     60    # NINPUT_UPDATE inidcates if the nitrogen maps should be updated and at which frequency 
     61    if [ ! X${stomate_UserChoices_NINPUT_UPDATE} = X ] ; then 
     62        # Take the value from stomate.card 
     63        IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE   ${stomate_UserChoices_NINPUT_UPDATE} 
     64    else 
     65        # Set default value 0Y 
     66        IGCM_comp_modifyDefFile nonblocker orchidee.def NINPUT_UPDATE 0Y 
     67    fi 
     68 
     69    # Modify in orchidee.def STOMATE_IMPOSE_CN if it is set in stomate.card section UserChoices 
     70    # STOMATE_IMPOSE_CN inidcates if the nitrogen should be imposed or not.  
     71    if [ ! X${stomate_UserChoices_STOMATE_IMPOSE_CN} = X ] ; then 
     72        # Take the value from stomate.card 
     73        IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN   ${stomate_UserChoices_STOMATE_IMPOSE_CN} 
     74    else 
     75        # Set default value n (nitrogen is not imposed) 
     76        IGCM_comp_modifyDefFile nonblocker orchidee.def STOMATE_IMPOSE_CN n 
     77    fi 
     78 
     79 
    5880    IGCM_debug_PopStack "SBG_Update" 
    5981} 
Note: See TracChangeset for help on using the changeset viewer.