XIOS notes : https://www.lmd.polytechnique.fr/~rpennel/chimere/XIOS-formation-dev.pdf
./build-chimere.sh compile oasis -> xios -> chimerebuild-chimere will not recompile it./build-xios.sh is called by build-chimere.sh there should be no reason to use it directlyin chimere.par 2 new tags :
[$nproc_xios] Number of xios processors : 2
[$io_nc4] Use classic NC4 I/O : 1
[$nproc_xios] : 0 xios is not used[$nproc_xios] is up to you and can act on performance (has been tested with 2, but if lots of data can be increased)[$io_nc4] switch on/off the use of the classical chimere output systema new directory : xml
contains several files :
iodef.xml : general information for xios (memory management/ log management )
using_oasis : dynamically set if chimere online or offline (in scripts/chimere-init.sh)context_chimere.xml : everythinhg , i.e fields, params, files (those 3 are described in seprate files), gridsparam_def_chimere.xml : list of constants like molar masses used by xios to perform units changes :
<variable id="mm_APINEN" type="float"> 136.0 </variable>field_def_chimere.xml : list of all the fields (i.e conc, meteo variables) that are potentially used during a chimere run, and that the user would like to output
call xios_send_field('O3', conc(indx, 1:nzonal, 1:nmerid, ks)) <field id="fppb" field_ref="airm" long_name="" standard_name="" unit="who knows !"> 1e9/this</field>
<field id="O3" long_name="O3" standard_name="O3" unit="ppb vol" grid_ref="grid_T_3D"> this*fppb </field>
<field_group id="run_conc" enabled=".true." />
<field_group id="run_meteo" enabled=".true." />
file_def.xml: list of output files
<file id="out" name_suffix="_out" output_freq="1h" sync_freq="1ts" enabled=".true.">enabled=".true.") or disabled (enabled=".false.")output_freq : 1 record every output freqsync_freq : file updated on disk every sync freq (ts is time step) <file id="out" name_suffix="_out" output_freq="1h" sync_freq="1ts" enabled=".true.">
<variable id="Title" type="string"> CHIMERE </variable>
<variable id="Sub-title" type="string"> 'hourly data' </variable>
<variable id="Date_origin" type="string"> 'Date_origin' </variable>
<variable id="CHIMERE_version" type="string"> v2020r1 </variable>
<variable id="Domain" type="string"> domain </variable>
<variable id="CHIMERE_type" type="string"> out </variable>
<variable id="Online" type="string"> online </variable>
<variable id="Cpl_case" type="string"> cpl_case </variable>
<variable id="Physical_timestep" type="string"> physstep </variable>
<variable id="Chemical_timestep" type="string"> chemstep </variable>
<variable id="Labchem" type="string"> labchem </variable>
<field field_ref="cut_off_diameters" />
<field field_ref="a_vcoord" />
<field field_ref="b_vcoord" />
<field field_ref="mmd" />
<field field_ref="wavelength" />
<field field_ref="hgt" />
<!-- All fields will be auto completed on the fortan side -->
<!-- DO NOT MODIFY - for custom outputs add a new file below -->
<field_group id="auto_out" enabled=".true.">
<field_group group_ref="run_conc" />
<field_group group_ref="run_meteo" />
</field_group>
</file>
ex_0[1-4] disabled by default
ex_01 : statistics on a field (min, max, average)ex_02 : operation on a field (sum, test)ex_03 : extract first levels of a field (using a special grid) every time stepex_04 : extract a profil every time step -rw-r--r-- 1 rpennel lmdpol 2138343 Dec 8 13:25 chimere_xios_force_IDF5_2017010100_2017010200_extract.nc
-rw-r--r-- 1 rpennel lmdpol 545775954 Dec 8 13:25 chimere_xios_force_IDF5_2017010100_2017010200_out.nc
-rw-r--r-- 1 rpennel lmdpol 3797231 Dec 8 13:25 chimere_xios_force_IDF5_2017010100_2017010200_peaks.nc
-rw-r--r-- 1 rpennel lmdpol 89048 Dec 8 13:25 chimere_xios_force_IDF5_2017010100_2017010200_prof.nc
-rw-r--r-- 1 rpennel lmdpol 23682461 Dec 8 13:25 chimere_xios_force_IDF5_2017010100_2017010200_start.nc
-rw-r--r-- 1 rpennel lmdpol 5675991 Dec 8 13:25 chimere_xios_force_IDF5_2017010100_2017010200_stats.nc
ciom_mod no call of xios anywhere else (except in chisis but to be changed)chimere.F90 : to init mpi, xios and finalizeiniworker.F90 : to call chisis-endefworker.F90 : update xios calendar, send fields, deal with screen outputsdevel_ciom/analysisXIOS.py , change directory name insidefield_def_chimere, if it is a new conc id should be the name in output_speciesciom_init_meteo or put it directly in the xml in the start and out sectionciom_send_meteo