Changes between Version 4 and Version 5 of Documentation/UserGuide/XIOSaddVar


Ignore:
Timestamp:
2020-03-02T16:33:01+01:00 (4 years ago)
Author:
aducharne
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/XIOSaddVar

    v4 v5  
    22In order to add a new variable in the output files you need to add a line in the fortran source code to send the variable to xios during run time. You also need to adapt the xml files to recognise this variable and to write it to one or several output files.  
    33 
    4 === 1. Modifications in the fortran source code === 
     4Detailed information regarding the XIOS syntax can be found on http://forge.ipsl.jussieu.fr/ioserver, which includes a user guide and reference guide. 
     5 
     6== 1. Modifications in the fortran source code == 
    57From any module in ORCHIDEE you can send the variable to xios. Add the following: 
    68 
     
    2022 
    2123 
    22 === 2. Modifications in the xml files === 
     24== 2. Modifications in the xml files == 
    2325All the xml files are stored in the model directory ORCHIDEE/src_xml. When using the libIGCM configurations, file_def_orchidee.xml is duplicated in PARAM/ directory and it is this file that will be considered.[[BR]] 
    2426 
    25 '''field_def_orchidee.xml'''[[BR]] 
     27=== field_def_orchidee.xml === 
    2628 
    2729Add the declaration of the new variable in field_def_orchidee.xml. By default the variables are supposed to be horizontal fields. If they have a vertical axis it needs to be specified here. Add the following in field_def_orchidee.xml for horizontal field: 
     
    8486 
    8587 
    86 '''file_def_orchidee.xml'''[[BR]] 
     88=== file_def_orchidee.xml === 
    8789 
    8890Specify in which files the variable should be written in file_def_orchidee.xml. Set in one or several sections (one section corresponding to one file):