1 | <context id="icosagcm" > |
---|
2 | |
---|
3 | <file_definition> |
---|
4 | |
---|
5 | <file id="relief_gw" name="Relief" type="one_file" mode="read" output_freq="100y" enabled="false" > |
---|
6 | <field id="relief_gw" freq_offset="0ts" name="RELIEF" domain_ref="domain_relief_gw_read" operation="instant" /> |
---|
7 | </file> |
---|
8 | |
---|
9 | |
---|
10 | <file id="orography" name="orography" mode="read" output_freq="100y" enabled="false"> |
---|
11 | |
---|
12 | <field_group domain_ref="domain_orography" operation="instant" freq_offset="0ts"> |
---|
13 | <field id="zmea_sso_read" name="phi" /> |
---|
14 | <field id="zstd_sso_read" name="mu" /> |
---|
15 | <field id="zsig_sso_read" name="sigma" /> |
---|
16 | <field id="zgam_sso_read" name="gama" /> |
---|
17 | <field id="zthe_sso_read" name="theta" /> |
---|
18 | </field_group > |
---|
19 | |
---|
20 | </file> |
---|
21 | |
---|
22 | |
---|
23 | <!-- needed only for test and debugging |
---|
24 | |
---|
25 | <file name="param_gw_reg" type="one_file" output_freq="1ts" > |
---|
26 | <field id="zmask_regout" name="zmask" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
27 | <field id="zmea_regout" name="zmea" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
28 | <field id="zpic_regout" name="zpic" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
29 | <field id="zval_regout" name="zval" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
30 | <field id="zsig_regout" name="zsig" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
31 | <field id="zgam_regout" name="zgam" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
32 | <field id="zthe_regout" name="zthe" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
33 | </file> |
---|
34 | |
---|
35 | <file name="test_gw" type="one_file" output_freq="1ts" > |
---|
36 | <field field_ref="zmea_out" name="zmea" operation="instant" prec="8"/> |
---|
37 | <field field_ref="zpic_out" name="zpic" operation="instant" prec="8"/> |
---|
38 | <field field_ref="zval_out" name="zval" operation="instant" prec="8"/> |
---|
39 | <field field_ref="ztz_out" name="ztz" operation="instant" prec="8"/> |
---|
40 | <field field_ref="zxtzx_out" name="zxtzx" operation="instant" prec="8"/> |
---|
41 | <field field_ref="zytzy_out" name="zytzy" operation="instant" prec="8"/> |
---|
42 | <field field_ref="zxtzy_out" name="zxtzy" operation="instant" prec="8"/> |
---|
43 | </file> |
---|
44 | |
---|
45 | <file name="test_gw_orig" type="one_file" output_freq="1ts" > |
---|
46 | <field field_ref="zxtzx_in" name="zxtzx" operation="instant" prec="8"/> |
---|
47 | <field field_ref="zytzy_in" name="zytzy" operation="instant" prec="8"/> |
---|
48 | <field field_ref="zxtzy_in" name="zxtzy" operation="instant" prec="8"/> |
---|
49 | </file> |
---|
50 | |
---|
51 | <file name="param_gw" type="one_file" output_freq="1ts" > |
---|
52 | <field id="zmask" domain_ref="i" operation="instant" prec="8"/> |
---|
53 | <field id="zmea" domain_ref="i" operation="instant" prec="8"/> |
---|
54 | <field id="zpic" domain_ref="i" operation="instant" prec="8"/> |
---|
55 | <field id="zval" domain_ref="i" operation="instant" prec="8"/> |
---|
56 | <field id="zsig" domain_ref="i" operation="instant" prec="8"/> |
---|
57 | <field id="zgam" domain_ref="i" operation="instant" prec="8"/> |
---|
58 | <field id="zthe" domain_ref="i" operation="instant" prec="8"/> |
---|
59 | </file> |
---|
60 | |
---|
61 | <file name="lmdz_mesh" type="one_file" mode="read" output_freq="1ts" > |
---|
62 | <field id="param_gw_dummy::" name="phis" domain_ref="regular_gw_read" operation="instant" prec="8"/> |
---|
63 | </file> |
---|
64 | |
---|
65 | --> |
---|
66 | |
---|
67 | </file_definition> |
---|
68 | |
---|
69 | |
---|
70 | <domain_definition> |
---|
71 | |
---|
72 | <domain id="domain_relief_gw_read" type="rectilinear" > |
---|
73 | <generate_rectilinear_domain /> |
---|
74 | </domain> |
---|
75 | |
---|
76 | <domain id="domain_relief_gw" domain_ref="relief_gw::" /> |
---|
77 | |
---|
78 | <domain id="domain_relief_expand" domain_ref="domain_relief_gw"> |
---|
79 | <expand_domain type="edge" i_periodic="true" j_periodic="true" /> |
---|
80 | </domain> |
---|
81 | |
---|
82 | <domain id="from_relief_gw" domain_ref="i"> |
---|
83 | <interpolate_domain order="1" /> |
---|
84 | </domain> |
---|
85 | |
---|
86 | <domain id="regular_gw_read" type="rectilinear" > |
---|
87 | <generate_rectilinear_domain/> |
---|
88 | </domain> |
---|
89 | |
---|
90 | <domain id="regular_gw" domain_ref="param_gw_dummy::" /> |
---|
91 | |
---|
92 | <domain id="regular_gw_interp" domain_ref="regular_gw" > |
---|
93 | <interpolate_domain order="1" /> |
---|
94 | </domain> |
---|
95 | |
---|
96 | <domain id="regular_gw_exp" domain_ref="regular_gw_interp" > |
---|
97 | <expand_domain type="edge" i_periodic="true" j_periodic="true" /> |
---|
98 | </domain> |
---|
99 | |
---|
100 | <domain id="domain_orography" type="rectilinear" > |
---|
101 | <generate_rectilinear_domain /> |
---|
102 | </domain> |
---|
103 | |
---|
104 | <domain id="from_orography" domain_ref="i"> |
---|
105 | <interpolate_domain order="1" write_weight="true" mode="read_or_compute"/> |
---|
106 | </domain> |
---|
107 | |
---|
108 | </domain_definition> |
---|
109 | |
---|
110 | <field_definition> |
---|
111 | |
---|
112 | <field id="lon2d_in" domain_ref="domain_relief_gw" /> |
---|
113 | <field id="lat2d_in" domain_ref="domain_relief_gw" /> |
---|
114 | <field id="mask_in" domain_ref="domain_relief_gw" /> |
---|
115 | <field id="zmea_in" domain_ref="domain_relief_gw" /> |
---|
116 | <field id="zpic_in" domain_ref="domain_relief_gw" > exp(this/20.) </field> |
---|
117 | <field id="zpic_tmp" field_ref="zpic_in" domain_ref="from_relief_gw" /> |
---|
118 | <field id="zval_in" domain_ref="domain_relief_gw" > exp(-this/20.) </field> |
---|
119 | <field id="zval_tmp" field_ref="zval_in" domain_ref="from_relief_gw" /> |
---|
120 | <field id="ztz_in" domain_ref="domain_relief_gw" /> |
---|
121 | <field id="zytzy_in" domain_ref="domain_relief_gw" /> |
---|
122 | <field id="zxtzx_in" domain_ref="domain_relief_gw" /> |
---|
123 | <field id="zxtzy_in" domain_ref="domain_relief_gw" /> |
---|
124 | |
---|
125 | |
---|
126 | <field_group id="gw_read_access" read_access="false" > |
---|
127 | <field id="relief_exp" field_ref="relief_gw" domain_ref="domain_relief_expand" /> |
---|
128 | <field id="lon2d_out" field_ref="lon2d_in" domain_ref="domain_relief_expand" /> |
---|
129 | <field id="lat2d_out" field_ref="lat2d_in" domain_ref="domain_relief_expand" /> |
---|
130 | <field id="mask_out" field_ref="mask_in" domain_ref="from_relief_gw" /> |
---|
131 | <field id="zmea_out" field_ref="zmea_in" domain_ref="from_relief_gw" /> |
---|
132 | <field id="zpic_out" field_ref="zpic_tmp" > log(this)*20. </field> |
---|
133 | <field id="zval_out" field_ref="zval_tmp" > -log(this)*20. </field> |
---|
134 | <field id="ztz_out" field_ref="ztz_in" domain_ref="from_relief_gw" /> |
---|
135 | <field id="zytzy_out" field_ref="zytzy_in" domain_ref="from_relief_gw" /> |
---|
136 | <field id="zxtzx_out" field_ref="zxtzx_in" domain_ref="from_relief_gw" /> |
---|
137 | <field id="zxtzy_out" field_ref="zxtzy_in" domain_ref="from_relief_gw" /> |
---|
138 | </field_group> |
---|
139 | |
---|
140 | |
---|
141 | <field_group id="gwsso_read_access" read_access="false" > |
---|
142 | <field id="zmea_sso" field_ref="zmea_sso_read" domain_ref="from_orography" /> |
---|
143 | <field id="zstd_sso" field_ref="zstd_sso_read" domain_ref="from_orography" /> |
---|
144 | <field id="zsig_sso" field_ref="zsig_sso_read" domain_ref="from_orography" /> |
---|
145 | <field id="zgam_sso" field_ref="zgam_sso_read" domain_ref="from_orography" /> |
---|
146 | <field id="zthe_sso" field_ref="zthe_sso_read" domain_ref="from_orography" /> |
---|
147 | </field_group> |
---|
148 | |
---|
149 | <!-- for test and debugging (projection onto regular lonlat grid for comparison) |
---|
150 | |
---|
151 | <field id="mask_reg" field_ref="mask_in" domain_ref="regular_gw_interp" read_access="true"/> |
---|
152 | <field id="mask_reg_exp" field_ref="mask_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
153 | |
---|
154 | <field id="zmea_reg" field_ref="zmea_in" domain_ref="regular_gw_interp"/> |
---|
155 | <field id="zmea_reg_exp" field_ref="zmea_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
156 | |
---|
157 | <field id="zpic_reg" field_ref="zpic_in" domain_ref="regular_gw_interp"/> |
---|
158 | <field id="zpic_reg_exp" field_ref="zpic_reg" domain_ref="regular_gw_exp" read_access="true"> log(this)*20. </field> |
---|
159 | |
---|
160 | <field id="zval_reg" field_ref="zval_in" domain_ref="regular_gw_interp"/> |
---|
161 | <field id="zval_reg_exp" field_ref="zval_reg" domain_ref="regular_gw_exp" read_access="true"> -log(this)*20. </field> |
---|
162 | |
---|
163 | <field id="ztz_reg" field_ref="ztz_in" domain_ref="regular_gw_interp"/> |
---|
164 | <field id="ztz_reg_exp" field_ref="ztz_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
165 | |
---|
166 | <field id="zytzy_reg" field_ref="zytzy_in" domain_ref="regular_gw_interp"/> |
---|
167 | <field id="zytzy_reg_exp" field_ref="zytzy_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
168 | |
---|
169 | <field id="zxtzx_reg" field_ref="zxtzx_in" domain_ref="regular_gw_interp"/> |
---|
170 | <field id="zxtzx_reg_exp" field_ref="zxtzx_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
171 | |
---|
172 | <field id="zxtzy_reg" field_ref="zxtzy_in" domain_ref="regular_gw_interp"/> |
---|
173 | <field id="zxtzy_reg_exp" field_ref="zxtzy_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
174 | |
---|
175 | --> |
---|
176 | |
---|
177 | </field_definition> |
---|
178 | |
---|
179 | </context> |
---|