Last change
on this file since 2311 was
2111,
checked in by yushan, 3 years ago
|
XIOS TRAINING : update TP answer
|
File size:
1.5 KB
|
Rev | Line | |
---|
[2046] | 1 | <?xml version="1.0"?> |
---|
| 2 | <simulation> |
---|
| 3 | <context id="test"> |
---|
| 4 | <calendar type="Gregorian" time_origin="2021-01-01" start_date="2021-03" /> |
---|
| 5 | |
---|
| 6 | <domain_definition> |
---|
| 7 | <domain id="domain" type="rectilinear" ni_glo="20" nj_glo="20"/> |
---|
| 8 | </domain_definition> |
---|
| 9 | |
---|
| 10 | <grid_definition> |
---|
| 11 | <grid id="grid"> |
---|
| 12 | <domain domain_ref="domain"/> |
---|
| 13 | </grid> |
---|
| 14 | </grid_definition> |
---|
| 15 | |
---|
| 16 | <field_definition> |
---|
[2111] | 17 | <field id="temp" name="temperature" operation="average" grid_ref="grid"/> |
---|
[2046] | 18 | <field id="temp2" field_ref="temp"> temp*temp </field> |
---|
| 19 | </field_definition> |
---|
| 20 | |
---|
| 21 | <file_definition> |
---|
| 22 | <file id="output" name="output" output_freq="1h" type="one_file" > |
---|
| 23 | <field field_ref="temp" /> |
---|
| 24 | </file> |
---|
| 25 | |
---|
| 26 | <file name="output_wmax" output_freq="7d" type="one_file" > |
---|
| 27 | <field field_ref="temp" name="weekly_max_at_noon" operation="maximum" freq_offset="11h" freq_op="1d"/> |
---|
| 28 | </file> |
---|
| 29 | |
---|
| 30 | <file name="output_wmin" output_freq="7d" type="one_file" > |
---|
| 31 | <field field_ref="temp" name="weekly_min_at_midnight" operation="minimum" freq_offset="23h" freq_op="1d"/> |
---|
| 32 | </file> |
---|
| 33 | |
---|
| 34 | <file name="output_v" output_freq="1d" type="one_file" > |
---|
| 35 | <field id="sigma_T" operation="instant" freq_op="1d" grid_ref="grid"> sqrt(@temp2-@temp*@temp) </field> |
---|
| 36 | </file> |
---|
| 37 | |
---|
| 38 | </file_definition> |
---|
| 39 | |
---|
| 40 | </context> |
---|
| 41 | |
---|
| 42 | <context id="xios"> |
---|
| 43 | <variable_definition> |
---|
| 44 | <variable_group id="parameters" > |
---|
| 45 | <variable id="print_file" type="bool">true</variable> |
---|
| 46 | </variable_group> |
---|
| 47 | </variable_definition> |
---|
| 48 | </context> |
---|
| 49 | |
---|
| 50 | </simulation> |
---|
| 51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.