[4855] | 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" 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="dummy" name="phis" domain_ref="regular_gw" operation="instant" prec="8"/> |
---|
| 63 | </file> |
---|
| 64 | |
---|
| 65 | --> |
---|
| 66 | |
---|
| 67 | </file_definition> |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | <domain_definition> |
---|
| 71 | |
---|
| 72 | <domain id="domain_relief_gw" type="rectilinear" > |
---|
| 73 | <generate_rectilinear_domain /> |
---|
| 74 | </domain> |
---|
| 75 | |
---|
| 76 | <domain id="domain_relief_expand" domain_ref="domain_relief_gw"> |
---|
| 77 | <expand_domain type="edge" i_periodic="true" j_periodic="true" /> |
---|
| 78 | </domain> |
---|
| 79 | |
---|
| 80 | <domain id="from_relief_gw" domain_ref="i"> |
---|
| 81 | <interpolate_domain order="1" /> |
---|
| 82 | </domain> |
---|
| 83 | |
---|
| 84 | <domain id="regular_gw" type="rectilinear" > |
---|
| 85 | <generate_rectilinear_domain/> |
---|
| 86 | </domain> |
---|
| 87 | |
---|
| 88 | <domain id="regular_gw_interp" domain_ref="regular_gw" > |
---|
| 89 | <interpolate_domain order="1" /> |
---|
| 90 | </domain> |
---|
| 91 | |
---|
| 92 | <domain id="regular_gw_exp" domain_ref="regular_gw_interp" > |
---|
| 93 | <expand_domain type="edge" i_periodic="true" j_periodic="true" /> |
---|
| 94 | </domain> |
---|
| 95 | |
---|
| 96 | <domain id="domain_orography" type="rectilinear" > |
---|
| 97 | <generate_rectilinear_domain /> |
---|
| 98 | </domain> |
---|
| 99 | |
---|
| 100 | <domain id="from_orography" domain_ref="i"> |
---|
| 101 | <interpolate_domain order="1" write_weight="true" mode="read_or_compute"/> |
---|
| 102 | </domain> |
---|
| 103 | |
---|
| 104 | </domain_definition> |
---|
| 105 | |
---|
| 106 | <field_definition> |
---|
| 107 | |
---|
| 108 | <field id="lon2d_in" domain_ref="domain_relief_gw" /> |
---|
| 109 | <field id="lat2d_in" domain_ref="domain_relief_gw" /> |
---|
| 110 | <field id="mask_in" domain_ref="domain_relief_gw" /> |
---|
| 111 | <field id="zmea_in" domain_ref="domain_relief_gw" /> |
---|
| 112 | <field id="zpic_in" domain_ref="domain_relief_gw" > exp(this/20.) </field> |
---|
| 113 | <field id="zpic_tmp" field_ref="zpic_in" domain_ref="from_relief_gw" /> |
---|
| 114 | <field id="zval_in" domain_ref="domain_relief_gw" > exp(-this/20.) </field> |
---|
| 115 | <field id="zval_tmp" field_ref="zval_in" domain_ref="from_relief_gw" /> |
---|
| 116 | <field id="ztz_in" domain_ref="domain_relief_gw" /> |
---|
| 117 | <field id="zytzy_in" domain_ref="domain_relief_gw" /> |
---|
| 118 | <field id="zxtzx_in" domain_ref="domain_relief_gw" /> |
---|
| 119 | <field id="zxtzy_in" domain_ref="domain_relief_gw" /> |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | <field_group id="gw_read_access" read_access="false" > |
---|
| 123 | <field id="relief_exp" field_ref="relief_gw" domain_ref="domain_relief_expand" /> |
---|
| 124 | <field id="lon2d_out" field_ref="lon2d_in" domain_ref="domain_relief_expand" /> |
---|
| 125 | <field id="lat2d_out" field_ref="lat2d_in" domain_ref="domain_relief_expand" /> |
---|
| 126 | <field id="mask_out" field_ref="mask_in" domain_ref="from_relief_gw" /> |
---|
| 127 | <field id="zmea_out" field_ref="zmea_in" domain_ref="from_relief_gw" /> |
---|
| 128 | <field id="zpic_out" field_ref="zpic_tmp" > log(this)*20. </field> |
---|
| 129 | <field id="zval_out" field_ref="zval_tmp" > -log(this)*20. </field> |
---|
| 130 | <field id="ztz_out" field_ref="ztz_in" domain_ref="from_relief_gw" /> |
---|
| 131 | <field id="zytzy_out" field_ref="zytzy_in" domain_ref="from_relief_gw" /> |
---|
| 132 | <field id="zxtzx_out" field_ref="zxtzx_in" domain_ref="from_relief_gw" /> |
---|
| 133 | <field id="zxtzy_out" field_ref="zxtzy_in" domain_ref="from_relief_gw" /> |
---|
| 134 | </field_group> |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | <field_group id="gwsso_read_access" read_access="false" > |
---|
| 138 | <field id="zmea_sso" field_ref="zmea_sso_read" domain_ref="from_orography" /> |
---|
| 139 | <field id="zstd_sso" field_ref="zstd_sso_read" domain_ref="from_orography" /> |
---|
| 140 | <field id="zsig_sso" field_ref="zsig_sso_read" domain_ref="from_orography" /> |
---|
| 141 | <field id="zgam_sso" field_ref="zgam_sso_read" domain_ref="from_orography" /> |
---|
| 142 | <field id="zthe_sso" field_ref="zthe_sso_read" domain_ref="from_orography" /> |
---|
| 143 | </field_group> |
---|
| 144 | |
---|
| 145 | <!-- for test and debugging (projection onto regular lonlat grid for comparison) |
---|
| 146 | |
---|
| 147 | <field id="mask_reg" field_ref="mask_in" domain_ref="regular_gw_interp" read_access="true"/> |
---|
| 148 | <field id="mask_reg_exp" field_ref="mask_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
| 149 | |
---|
| 150 | <field id="zmea_reg" field_ref="zmea_in" domain_ref="regular_gw_interp"/> |
---|
| 151 | <field id="zmea_reg_exp" field_ref="zmea_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
| 152 | |
---|
| 153 | <field id="zpic_reg" field_ref="zpic_in" domain_ref="regular_gw_interp"/> |
---|
| 154 | <field id="zpic_reg_exp" field_ref="zpic_reg" domain_ref="regular_gw_exp" read_access="true"> log(this)*20. </field> |
---|
| 155 | |
---|
| 156 | <field id="zval_reg" field_ref="zval_in" domain_ref="regular_gw_interp"/> |
---|
| 157 | <field id="zval_reg_exp" field_ref="zval_reg" domain_ref="regular_gw_exp" read_access="true"> -log(this)*20. </field> |
---|
| 158 | |
---|
| 159 | <field id="ztz_reg" field_ref="ztz_in" domain_ref="regular_gw_interp"/> |
---|
| 160 | <field id="ztz_reg_exp" field_ref="ztz_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
| 161 | |
---|
| 162 | <field id="zytzy_reg" field_ref="zytzy_in" domain_ref="regular_gw_interp"/> |
---|
| 163 | <field id="zytzy_reg_exp" field_ref="zytzy_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
| 164 | |
---|
| 165 | <field id="zxtzx_reg" field_ref="zxtzx_in" domain_ref="regular_gw_interp"/> |
---|
| 166 | <field id="zxtzx_reg_exp" field_ref="zxtzx_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
| 167 | |
---|
| 168 | <field id="zxtzy_reg" field_ref="zxtzy_in" domain_ref="regular_gw_interp"/> |
---|
| 169 | <field id="zxtzy_reg_exp" field_ref="zxtzy_reg" domain_ref="regular_gw_exp" read_access="true"/> |
---|
| 170 | |
---|
| 171 | --> |
---|
| 172 | |
---|
| 173 | </field_definition> |
---|
| 174 | |
---|
| 175 | </context> |
---|