source: trunk/LMDZ.PLUTO/deftank/dynamico/context_pcm_physics.xml

Last change on this file was 3698, checked in by emillour, 9 months ago

Pluto PCM:
Some fixes to enable runnnig with dynamico:

  • add "strictboundcorrk" flag in callcorrk_pluto to enable running even if outside of kmatrix temperatures (when strictboundcorrk=.true.)
  • add premature exiting of writediagsoil if not with lon-lat grid
  • while at it, turned surfprop.F90 into a module
  • in physiq, enforce the possibility to output subsurface-related field in most cases, not only when "fast=.true."
  • adapt reference xml files: subsurface quantities need to be defined on a dedicated grid, otherwise XIOS will generate misleading garbage values. Updated files are put in "deftank/dynamico" for now.

EM

File size: 5.2 KB
Line 
1<context id="LMDZ">
2
3    <!-- Definition of a calendar is done in code via wxios_set_cal -->
4
5    <!-- Definition of domains and groups of domains -->
6    <domain_definition>
7        <domain_group id="dom_glo" data_dim="1">
8          <domain id="dom_glo" />
9        </domain_group>
10
11    </domain_definition>
12
13    <!-- Definition of vertical axes
14                           NB: these must be defined and set in code via
15         xios_output_mod -->
16    <axis_definition>
17        <axis id="presnivs"
18              standard_name="Pseudo-pressure of model vertical levels"
19              unit="Pa">
20        </axis>
21        <axis id="altitude"
22              standard_name="Pseudo-altitude of model vertical levels"
23              unit="km">
24        </axis>
25        <axis id="soil_layers"
26              standard_name="soil layer depth at intermediate level"
27              unit="m">
28        </axis>
29        <axis id="interlayer"
30              standard_name="Levels between layers (altitude+1)"
31              unit="km">
32        </axis>
33        <axis id="controle_axe"
34              standard_name="Controle"
35              n_glo="100">
36        </axis>
37        <!--Added for diagspecIR-->
38        <axis id="IR_Wavenumber"
39               standard_name="Band mid frequency in the infrared"
40               unit="cm-1">
41        </axis>
42        <!--Added for diagspecVI-->
43        <axis id="VI_Wavenumber"
44              standard_name="Band mid frequency in the visible"
45              unit=
46            "cm-1">
47        </axis>
48
49    </axis_definition>
50
51    <scalar_definition>
52           <scalar id="scalar" />
53    </scalar_definition>
54
55    <grid_definition>
56        <!-- toggle axis id below to change output vertical axis -->
57        <grid id="grid_3D">
58            <domain domain_ref="dom_glo" />
59            <axis axis_ref="altitude" />
60        </grid>
61        <grid id="grid_soil">
62            <domain domain_ref="dom_glo" />
63            <axis axis_ref="soil_layers" />
64        </grid>
65        <grid id="grid_2D">
66            <domain domain_ref="dom_glo" />
67        </grid>
68        <!--Added for diagspecIR-->
69        <grid id='grid_IR_3D'>
70            <domain domain_ref="dom_glo" />
71            <axis axis_ref='IR_Wavenumber'/>
72        </grid>
73        <!-- Added for diagspecVI-->
74        <grid id="grid_VI_3D">
75          <domain domain_ref="dom_glo" />
76          <axis axis_ref="VI_Wavenumber"/>
77        </grid>
78        <!-- grid for interpolated lon-lat outputs -->
79        <!-- to output scalars -->
80        <grid id="scalarpoint" >
81            <scalar scalar_ref="scalar" />
82        </grid>
83        <!-- output grids -->
84        <grid id="grid_3D_out">
85            <domain domain_ref="dom_out" />
86            <axis axis_ref="altitude" />
87        </grid>
88        <grid id="grid_2D_out">
89            <domain domain_ref="dom_out" />
90        </grid>
91        <grid id="grid_soil_out">
92            <domain domain_ref="dom_out" />
93            <axis axis_ref="soil_layers" />
94        </grid>
95        <!--added for diagspecIR-->
96        <grid id="grid_IR_3D_out">
97            <domain domain_ref="dom_out"/>
98            <axis axis_ref="IR_Wavenumber"/>
99        </grid>
100        <grid id="grid_IR">
101            <axis axis_ref="IR_Wavenumber"/>
102        </grid>
103        <!--Added for diagspecVI-->
104        <grid id="grid_VI_3D_out">
105            <domain domain_ref="dom_out"/>
106            <axis axis_ref="VI_Wavenumber"/>
107        </axis>
108        <grid id="grid_VI">
109          <axis axis_ref="VI_Wavenumber"/>
110        </grid>
111    </grid_definition>
112
113    <!-- various predefined grids to output onto -->
114    <domain_definition>
115        <domain id="dom_64_48" type="rectilinear" ni_glo="64" nj_glo="48"   >
116          <generate_rectilinear_domain/>
117          <interpolate_domain order="1"/>
118        </domain>
119
120        <domain id="dom_96_95" type="rectilinear"  ni_glo="96" nj_glo="95"  >
121          <generate_rectilinear_domain/>
122          <interpolate_domain order="1"/>
123        </domain>
124
125        <domain id="dom_144_142" type="rectilinear" ni_glo="144" nj_glo="142"   >
126          <generate_rectilinear_domain/>
127          <interpolate_domain order="1"/>
128        </domain>
129
130        <domain id="dom_512_360" type="rectilinear" ni_glo="512" nj_glo="360"   >
131          <generate_rectilinear_domain/>
132          <interpolate_domain order="1"/>
133        </domain>
134
135        <domain id="dom_720_360" type="rectilinear" ni_glo="720" nj_glo="360" >
136          <generate_rectilinear_domain/>
137          <interpolate_domain order="1"/>
138        </domain>
139
140        <domain id="dom_128_96" type="rectilinear" ni_glo="128" nj_glo="96" >
141          <generate_rectilinear_domain/>
142          <interpolate_domain order="1"/>
143        </domain>
144
145        <domain id="dom_256_192" type="rectilinear" ni_glo="256" nj_glo="192" >
146          <generate_rectilinear_domain/>
147          <interpolate_domain order="1"/>
148        </domain>
149
150        <!-- set dom_out to any of the reference grid above,
151              or dom_glo to output on native grid -->
152        <domain id="dom_out" domain_ref="dom_128_96"/>
153
154    </domain_definition>
155
156
157    <!-- Definition of model variables -->
158    <field_definition src="./field_def_physics.xml" />
159
160    <!-- Definition of output files -->
161    <file_definition src="./file_def_physics.xml" />
162</context>
Note: See TracBrowser for help on using the repository browser.