Changes between Version 4 and Version 5 of Documentation/UserGuide/XIOSaddVar
- Timestamp:
- 2020-03-02T16:33:01+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/XIOSaddVar
v4 v5 2 2 In 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. 3 3 4 === 1. Modifications in the fortran source code === 4 Detailed 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 == 5 7 From any module in ORCHIDEE you can send the variable to xios. Add the following: 6 8 … … 20 22 21 23 22 == = 2. Modifications in the xml files ===24 == 2. Modifications in the xml files == 23 25 All 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]] 24 26 25 '''field_def_orchidee.xml'''[[BR]] 27 === field_def_orchidee.xml === 26 28 27 29 Add 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: … … 84 86 85 87 86 '''file_def_orchidee.xml'''[[BR]] 88 === file_def_orchidee.xml === 87 89 88 90 Specify 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):