Last change
on this file since 5047 was
4972,
checked in by yann meurdesoif, 5 months ago
|
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 size:
135 bytes
|
Line | |
---|
1 | <context_group> |
---|
2 | <context id="LMDZ" src="./context_lmdz.xml"/> |
---|
3 | <context id="LMDZ" src="./context_input_lmdz.xml"/> |
---|
4 | </context_group> |
---|
Note: See
TracBrowser
for help on using the repository browser.