Changes between Version 170 and Version 171 of DevelopmentActivities/ORCHIDEE-DOFOCO


Ignore:
Timestamp:
2018-10-25T08:58:42+02:00 (6 years ago)
Author:
alanso
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentActivities/ORCHIDEE-DOFOCO

    v170 v171  
    3636Once the model is compiled, make sure that XIOS=y in orchidee_ol.card. 
    3737 
    38 Moreover, new output files for ORCHIDEE have been specified within the code. If you are seeing the following error when you run: 
    39 {{{ 
    40 Error [StdIStream& operator>>(StdIStream& in , CDuration& duration)] : In file '/home/users/mmcgrath/ORCHIDEE-CN-CAN/modeles/XIOS/src/duration.cpp', line 74 -> Bad duration format: impossible to read a pair (value, unit). 
    41 }}} 
    42  
    43 then it's possible you need to add lines in stomate.card, stomate.driver, sechiba.card, and sechiba.driver.  This is because the .xml files, when they have been copied to the working directory, cannot have values like "_AUTO_" in them.  libIGCM is supposed to replace such values, which exist in the template .xml files in modeles/ORCHIDEE/src_xml/, when it copies files from the run directory to the working directory.  If there is something missing in the .driver files, this replacement doesn't happen and XIOS throws the parsing error above. 
     38Moreover, new output files for ORCHIDEE have been specified within the code. 
    4439 
    4540Below is given an example for stomate_history_4dim. 
     
    7772}}} 
    7873 
     74 If you are seeing the following error when you run: 
     75{{{ 
     76Error [StdIStream& operator>>(StdIStream& in , CDuration& duration)] : In file '/home/users/mmcgrath/ORCHIDEE-CN-CAN/modeles/XIOS/src/duration.cpp', line 74 -> Bad duration format: impossible to read a pair (value, unit). 
     77}}} 
     78 
     79then it is possible because you have not added the needed lines in stomate.card, stomate.driver, sechiba.card, and sechiba.driver. This error arises because the .xml files, when they have been copied to the working directory, cannot have values like "_AUTO_" in them.  libIGCM is supposed to replace such values, which exist in the template .xml files in modeles/ORCHIDEE/src_xml/, when it copies files from the run directory to the working directory.  If there is something missing in the .driver files, this replacement doesn't happen and XIOS throws the parsing error above. 
    7980 
    8081== Functionalities (alphabetical order) == 
     
    370371 
    371372=== Spin-up === 
    372 The analytical spin-up works with ORCHIDEE-CN-CAN. Note that irrespective of whether IMPOSE_CN is y or n, some carbon and nitrogen is put into the soil at the first time step (this is done in stomate_io.f90). Also, when IMPOSE_CN = n, N-deposition maps are being read adding N to the system. A model spin-up can start straight with impose_cn = n. If, after a test run, the equilibrium values are more or less known, the spin-up can be speed-up by setting in the run.def: 
     373The analytical spin-up works with ORCHIDEE-CN-CAN. To ensure growth at the onset of the analytic spin-up for all PFTs initial values are needed for the SOM pools, and that is  irrespective of whether IMPOSE_CN is y or n. The initial pools are set in stomate_io.f90, and they can be specified in the run.def by: 
    373374{{{ 
    374375SOM_INIT_ACTIVE = 1000 
     
    377378SOM_INIT_SURFACE = 1000 
    378379}}}  
    379 Where 1000, 3000, 3000 and 1000 are the values retrieved from the test run. 
     380The initial values of carbon for the four SOM pools are used globally. Sensitivity test have shown that the analytic spin-up is not sensitive to the actual size of the initial values. The different system will after a while settle in to there own state (N limited or saturated) in spite of having the same initial state.  
     381 
    380382 
    381383=== Stomate ===