Mercurial > repos > ecology > timeseries_extraction
comparison macros_tests_netcdf2netcdf.xml @ 0:810820a0d45c draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/data_manipulation/xarray/ commit fd8ad4d97db7b1fd3876ff63e14280474e06fdf7
author | ecology |
---|---|
date | Sun, 31 Jul 2022 21:23:21 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:810820a0d45c |
---|---|
1 <macros> | |
2 <xml name="section_tests"> | |
3 <tests> | |
4 <test> | |
5 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
6 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
7 <section name="variable"> | |
8 <param name="var" value="chl"/> | |
9 <param name="scale" value="1000.5"/> | |
10 </section> | |
11 <section name="subset_coords"> | |
12 <conditional name="tsel"> | |
13 <param name="by_click" value="isel_list"/> | |
14 <repeat name="user_choice"> | |
15 <param name="dim" value="time"/> | |
16 <conditional name="condi_between"> | |
17 <param name="comparator" value="sl"/> | |
18 <param name="t1" value="10"/> | |
19 <param name="t2" value="12"/> | |
20 </conditional> | |
21 </repeat> | |
22 <repeat name="user_choice"> | |
23 <param name="dim" value="latitude"/> | |
24 <param name="dim_tab" value="latitude.tabular"/> | |
25 <conditional name="condi_between"> | |
26 <param name="comparator" value="sl"/> | |
27 <param name="t1" value="5"/> | |
28 <param name="t2" value="10"/> | |
29 </conditional> | |
30 </repeat> | |
31 <repeat name="user_choice"> | |
32 <param name="dim" value="longitude"/> | |
33 <param name="dim_tab" value="longitude.tabular"/> | |
34 <conditional name="condi_between"> | |
35 <param name="comparator" value="sl"/> | |
36 <param name="t1" value="4"/> | |
37 <param name="t2" value="10"/> | |
38 </conditional> | |
39 </repeat> | |
40 </conditional> | |
41 </section> | |
42 <output name="output_netcdf" file="small.netcdf" compare="sim_size" delta="1000"/> | |
43 </test> | |
44 <test> | |
45 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
46 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
47 <section name="variable"> | |
48 <param name="var" value="chl"/> | |
49 <param name="scale" value="1000.5"/> | |
50 <param name="write_all" value="true"/> | |
51 <param name="keep_attribute" value="false"/> | |
52 </section> | |
53 <section name="subset_coords"> | |
54 <conditional name="tsel"> | |
55 <param name="by_click" value="isel_list"/> | |
56 <repeat name="user_choice"> | |
57 <param name="dim" value="time"/> | |
58 <conditional name="condi_between"> | |
59 <param name="comparator" value="sl"/> | |
60 <param name="t1" value="10"/> | |
61 <param name="t2" value="12"/> | |
62 </conditional> | |
63 </repeat> | |
64 <repeat name="user_choice"> | |
65 <param name="dim" value="latitude"/> | |
66 <param name="dim_tab" value="latitude.tabular"/> | |
67 <conditional name="condi_between"> | |
68 <param name="comparator" value="sl"/> | |
69 <param name="t1" value="5"/> | |
70 <param name="t2" value="10"/> | |
71 </conditional> | |
72 </repeat> | |
73 <repeat name="user_choice"> | |
74 <param name="dim" value="longitude"/> | |
75 <param name="dim_tab" value="longitude.tabular"/> | |
76 <conditional name="condi_between"> | |
77 <param name="comparator" value="sl"/> | |
78 <param name="t1" value="4"/> | |
79 <param name="t2" value="10"/> | |
80 </conditional> | |
81 </repeat> | |
82 </conditional> | |
83 </section> | |
84 <output name="output_netcdf" file="all.netcdf" compare="sim_size" delta="1000"/> | |
85 </test> | |
86 <test> | |
87 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
88 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
89 <section name="subset_coords"> | |
90 <conditional name="tsel"> | |
91 <param name="by_click" value="isel_list"/> | |
92 <repeat name="user_choice"> | |
93 <param name="dim" value="time"/> | |
94 <param name="dim_tab" value="time.tabular"/> | |
95 <conditional name="condi_between"> | |
96 <param name="comparator" value="to"/> | |
97 <param name="value" value="12"/> | |
98 </conditional> | |
99 </repeat> | |
100 <repeat name="user_choice"> | |
101 <param name="dim" value="latitude"/> | |
102 <param name="dim_tab" value="latitude.tabular"/> | |
103 <conditional name="condi_between"> | |
104 <param name="comparator" value="is"/> | |
105 <param name="value" value="5"/> | |
106 </conditional> | |
107 </repeat> | |
108 <repeat name="user_choice"> | |
109 <param name="dim" value="longitude"/> | |
110 <param name="dim_tab" value="longitude.tabular"/> | |
111 <conditional name="condi_between"> | |
112 <param name="comparator" value="is"/> | |
113 <param name="value" value="4"/> | |
114 </conditional> | |
115 </repeat> | |
116 </conditional> | |
117 </section> | |
118 <output name="output_netcdf" file="small_all_variables.netcdf" compare="sim_size" delta="500"/> | |
119 </test> | |
120 <test> | |
121 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
122 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
123 <section name="subset_coords"> | |
124 <conditional name="tsel"> | |
125 <param name="by_click" value="isel"/> | |
126 <repeat name="user_choice"> | |
127 <param name="dim" value="time"/> | |
128 <param name="dim_tab" value="time.tabular"/> | |
129 <conditional name="condi_between"> | |
130 <param name="comparator" value="to"/> | |
131 <param name="value" value="12"/> | |
132 </conditional> | |
133 </repeat> | |
134 <repeat name="user_choice"> | |
135 <param name="dim" value="latitude"/> | |
136 <param name="dim_tab" value="latitude.tabular"/> | |
137 <conditional name="condi_between"> | |
138 <param name="comparator" value="is"/> | |
139 <param name="value" value="5"/> | |
140 </conditional> | |
141 </repeat> | |
142 <repeat name="user_choice"> | |
143 <param name="dim" value="longitude"/> | |
144 <param name="dim_tab" value="longitude.tabular"/> | |
145 <conditional name="condi_between"> | |
146 <param name="comparator" value="is"/> | |
147 <param name="value" value="4"/> | |
148 </conditional> | |
149 </repeat> | |
150 </conditional> | |
151 </section> | |
152 <output name="output_netcdf" file="small_all_variables.netcdf" compare="sim_size" delta="500"/> | |
153 </test> | |
154 <test> | |
155 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
156 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
157 <section name="variable"> | |
158 <param name="var" value="chl,nh4"/> | |
159 </section> | |
160 <output name="output_netcdf" file="chl_nh4.netcdf" compare="sim_size" delta="500"/> | |
161 </test> | |
162 <test> | |
163 <param name="input" value="data_to_20040615.nc,data_from_20040615.nc"/> | |
164 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
165 <section name="variable"> | |
166 <param name="var" value="nh4"/> | |
167 </section> | |
168 <output name="output_netcdf" file="chl_alltimes.nc" compare="sim_size" delta="500"/> | |
169 </test> | |
170 <test> | |
171 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
172 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
173 <section name="subset_coords"> | |
174 <conditional name="tsel"> | |
175 <param name="by_click" value="sel"/> | |
176 <repeat name="user_choice"> | |
177 <param name="dim" value="latitude"/> | |
178 <param name="dim_tab" value="latitude.tabular"/> | |
179 <conditional name="condi_between"> | |
180 <param name="comparator" value="sl"/> | |
181 <param name="t1" value="44.5"/> | |
182 <param name="t2" value="45.0"/> | |
183 </conditional> | |
184 </repeat> | |
185 <repeat name="user_choice"> | |
186 <param name="dim" value="longitude"/> | |
187 <param name="dim_tab" value="longitude.tabular"/> | |
188 <conditional name="condi_between"> | |
189 <param name="comparator" value="is"/> | |
190 <param name="value" value="-3.5"/> | |
191 <param name="method" value="nearest"/> | |
192 </conditional> | |
193 </repeat> | |
194 </conditional> | |
195 </section> | |
196 <output name="output_netcdf" file="select_by_values.netcdf" compare="sim_size" delta="500"/> | |
197 </test> | |
198 <test> | |
199 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
200 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
201 <section name="variable"> | |
202 <param name="var" value="chl,phy"/> | |
203 </section> | |
204 <section name="mask_values"> | |
205 <conditional name="mask_condi"> | |
206 <param name="mask_option" value="other"/> | |
207 <param name="set_other" value="1000"/> | |
208 </conditional> | |
209 <param name="where_condition" ftype="txt" value="where_condition.txt"/> | |
210 </section> | |
211 <output name="output_netcdf" file="chl_phy_where.netcdf" compare="sim_size" delta="500"/> | |
212 </test> | |
213 <test> | |
214 <param name="input" value="dataset-ibi-reanalysis-bio-005-003-monthly-regulargrid_1510914389133.nc"/> | |
215 <param name="var_tab" value="var_tab_dataset-ibi"/> | |
216 <section name="variable"> | |
217 <param name="var" value="chl"/> | |
218 <param name="scale" value="1000.5"/> | |
219 <param name="write_all" value="true"/> | |
220 <param name="keep_attribute" value="true"/> | |
221 </section> | |
222 <section name="subset_coords"> | |
223 <conditional name="tsel"> | |
224 <param name="by_click" value="isel_list"/> | |
225 <repeat name="user_choice"> | |
226 <param name="dim" value="time"/> | |
227 <conditional name="condi_between"> | |
228 <param name="comparator" value="sl"/> | |
229 <param name="t1" value="10"/> | |
230 <param name="t2" value="12"/> | |
231 </conditional> | |
232 </repeat> | |
233 <repeat name="user_choice"> | |
234 <param name="dim" value="latitude"/> | |
235 <param name="dim_tab" value="latitude.tabular"/> | |
236 <conditional name="condi_between"> | |
237 <param name="comparator" value="sl"/> | |
238 <param name="t1" value="0"/> | |
239 <param name="t2" value="10"/> | |
240 </conditional> | |
241 </repeat> | |
242 <repeat name="user_choice"> | |
243 <param name="dim" value="longitude"/> | |
244 <param name="dim_tab" value="longitude.tabular"/> | |
245 <conditional name="condi_between"> | |
246 <param name="comparator" value="sl"/> | |
247 <param name="t1" value="1"/> | |
248 <param name="t2" value="20"/> | |
249 </conditional> | |
250 </repeat> | |
251 </conditional> | |
252 </section> | |
253 <section name="mask_values"> | |
254 <conditional name="mask_condi"> | |
255 <param name="mask_option" value="drop"/> | |
256 </conditional> | |
257 <param name="where_condition" ftype="txt" value="where_condition_simple.txt"/> | |
258 </section> | |
259 <output name="output_netcdf" file="chl_where_drop.netcdf" compare="sim_size" delta="500"/> | |
260 </test> | |
261 </tests> | |
262 </xml> | |
263 </macros> |