Changes between Version 5 and Version 6 of Documentation/UserGuide/ManipulationDefFile


Ignore:
Timestamp:
2020-02-28T11:06:34+01:00 (4 years ago)
Author:
bguenet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/ManipulationDefFile

    v5 v6  
    11= Manipulation of parameter files in libIGCM configurations = 
    2 11'th of February 2015 
     2Author: J. Ghattas[[BR]] 
     3Last revision: 2020/02/28, B. Guenet 
    34 
    4 When doing simulation with the model, the parameter file run.def must be edited according to the set up of the experiment.  
    5 While running ORCHIDEE using the configurations with libIGCM, the modifications are done by the drivers : orchidee_ol.driver, sechiba.driver and stomate.driver for the offline case. Some of the standard choice in the set up for an experiment is done in the cards : config.card, orchidee_ol.card, sechiba.card and stomate.card. For example the choice of hydrology scheme is done in sechiba.card. Other choices can be done directly in run.def file.  
     5This is the method used in ORCHIDEE_OL since rev [2524].[[BR]] 
    66 
    7 The method for manipulation of parameters files in the offline and coupled libIGCM configurations have changed. The new method is based on the use of the functions IGCM_comp_modifyDefFile (for run.def, orchidee.def,... ) and IGCM_comp_modifyXmlFile (for xml files). The components drivers call one of these functions for each variable that has to be modified.  
     7When doing simulation with the model, you can modify some aspect of your simulation: 
     8 
     9 * If you want to modify parameters values or activate/deactivate flags you have to to it in PARAM/run.def 
     10 
     11 * If you want to modify the boundaries conditions (climate forcing, PFT maps, soil maps, etc.) you have to modify the .card files located in the COMP directory. 
     12 
     13 * If you want to modify your more technical aspects of your setup (length of the simulation, number of processors used, restart files, etc) you can do it in config.card 
     14 
     15Details are given below. This works with ORCHIDEE_OL offline configuration, LMDZOR_v6 and IPSLCM6 configurations: 
    816 
    917== New method: in new ORCHIDEE_OL offline configuration, LMDZOR_v6 and IPSLCM6 configurations == 
     
    6876 
    6977  
    70  
    71  
    72  
    73  
    74  
    75 == Method in previous ORCHIDEE_OL configuration == 
    76 This is the method used in ORCHIDEE_OL for revision older than rev 2523. 
    77 * If a parameter is set in run.def, then the driver will not overwrite it 
    78 * PARAM/run.def is empty but the driver will add several parameters 
    79  
    80 '''Implementation'''[[BR]] 
    81 In orchidee_ol.driver there is a function ORCHIDEE_def. This function is used to modify or add parameters in run.def file. In the beginning, PARAM/run.def file is nearly empty. The orchidee_ol.driver, sechiaba.driver and stomate.driver will add several parameters depending on settings in config.card, orchidee_ol.card, sechiba.card and stomate.card. '''If a parameter is already set in PARAM/run.def, the value will not be overwritten.''' 
    82  
    83  
    8478== Method in LMDZOR_v5 and all other _v5 configurations == 
    8579In these configurations, in the .def files all variables modified by the driver are set =AUTO. '''Even if one these parameters is changed, in PARAM/orchidee.def for example, the driver will overwrite the value.''' A message is written in Script_Output text file.