Changeset 4972

Timestamp:
Jun 7, 2024, 12:29:12 PM (3 weeks ago)
Author:
yann meurdesoif
Message:

New way to manage XIOS XML files
Recent version of XIOS2 and XIOS3 introduce new XML tag named <context_group /> that can contain several differrent context (or possibly same).
The main interest is you don't need to include all xml context in root definition file iodef.xml.
Ideally, iodef.xml will contain only one inclusion by model to permit more modularity, all context files owned by model will be included in a specific file itself includes in iodef.xml.

For example :

iodef.xml :


<?xml version="1.0"?>

<simulation>

<context src="xios.xml" />
<context_group src="lmdz.xml"/>
<context_group src="dynamico.xml"/>
<context_group src="icosa_lmdz.xml"/>

</simulation>


lmdz.xml


<context_group>

<context id="LMDZ" src="./context_lmdz.xml"/>
<context id="LMDZ" src="./context_input_lmdz.xml"/>

</context_group>


dynamico.xml


<context_group>

<context id="icosagcm" src="./context_dynamico.xml"/>
<context id="icosagcm" src="./sponge_dynamico.xml" />
<context id="icosagcm_input" src="./context_input_dynamico.xml"/>
<context id="icosagcm" src="./file_def_dynamico.xml" />
<context id="icosagcm" src="./nudging_dynamico.xml" />

</context_group>


icosa_lmdz.xml


<context_group>

<context id="icosagcm" src="./param_gw.xml" />

</context_group>


Older way of xml files management remain retro-compatible, so it can be possible to used older way all along the transition...

YM

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.