comparison crim_project_ogc_api_processes.xml @ 1:52baddd15640 draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/ogc_api_processes_wrapper commit 8b4b58222af2c77abd41dd8f17862a24ca7d3381
author ecology
date Fri, 06 Sep 2024 10:30:30 +0000
parents afede0916f0a
children
comparison
equal deleted inserted replaced
0:afede0916f0a 1:52baddd15640
1 <tool id="hirondelle_crim" name="Hirondelle CRIM OGC API Processes" version="0.1.0" profile="22.05"> 1 <tool id="hirondelle_crim" name="Hirondelle CRIM OGC API Processes" version="0.2.0" profile="22.05">
2 <description>executes remote processes.</description> 2 <description>executes remote processes.</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
12 <inputs name="inputs" filename="inputs.json" data_style="paths"/> 12 <inputs name="inputs" filename="inputs.json" data_style="paths"/>
13 </configfiles> 13 </configfiles>
14 <inputs> 14 <inputs>
15 <conditional name="conditional_process"> 15 <conditional name="conditional_process">
16 <param name="select_process" type="select" label="Select process"> 16 <param name="select_process" type="select" label="Select process">
17 <option value="algae-usecase-workflow-copernicus">algae-usecase-workflow-copernicus: Algae bloom for water quality assessment on Sentinel-2 imagery offered by Copernicus platform.</option>
18 <option value="algae-usecase-workflow-copernicus-process">algae-usecase-workflow-copernicus-process: Processing on Sentinel-2 bands to evaluate algae bloom.</option>
19 <option value="algae-usecase-workflow-earth-search">algae-usecase-workflow-earth-search: Algae bloom for water quality assessment on Sentinel-2 L2A imagery offered by Earth-Search platform.</option>
20 <option value="algae-usecase-workflow-earth-search-process">algae-usecase-workflow-earth-search-process: Processing on Sentinel-2 L2A bands to evaluate algae bloom.</option>
21 <option value="calculate-band">calculate-band: Performs a calculation with bands.</option> 17 <option value="calculate-band">calculate-band: Performs a calculation with bands.</option>
22 <option value="download-band-sentinel2-product-safe">download-band-sentinel2-product-safe: Downloads Copernicus products.</option> 18 <option value="download-band-sentinel2-product-safe">download-band-sentinel2-product-safe: Downloads Copernicus products.</option>
23 <option value="download-band-sentinel2-stac-item">download-band-sentinel2-stac-item: Downloads Sentinel-2 GeoTiff from STAC Item.</option>
24 <option value="EchoProcess">EchoProcess</option>
25 <option value="file_index_selector">file_index_selector: File Index Selector</option>
26 <option value="file2string_array">file2string_array: File to String-Array</option>
27 <option value="jsonarray2netcdf">jsonarray2netcdf: JSON array to NetCDF</option>
28 <option value="metalink2netcdf">metalink2netcdf: Metalink to NetCDF</option>
29 <option value="ogc-tb16-land-cover-mapping">ogc-tb16-land-cover-mapping: OGC Testbed-16 Pixel-Wise Classifier for Land Cover Mapping</option>
30 <option value="plot-image">plot-image: Plots an image with colors.</option> 19 <option value="plot-image">plot-image: Plots an image with colors.</option>
31 <option value="reproject-image">reproject-image: Performs image reprojection.</option> 20 <option value="reproject-image">reproject-image: Performs image reprojection.</option>
32 <option value="select-products-sentinel2">select-products-sentinel2: Searches the specified catalog for Sentinel-2 products matching filtering criteria.</option> 21 <option value="select-products-sentinel2">select-products-sentinel2: Searches the specified catalog for Sentinel-2 products matching filtering criteria.</option>
33 </param> 22 </param>
34 <when value="algae-usecase-workflow-copernicus">
35 <param name="user_credentials" label="user_credentials" optional="false" type="data" format="json"/>
36 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
37 <param name="date" label="date" optional="false" value="" type="text"/>
38 <param name="delta_Array_integer" label="delta" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/>
39 <param name="aoi" label="aoi" optional="false" value="" type="data" format="txt"/>
40 <param name="collection" label="collection" optional="false" value="" type="text"/>
41 <param name="cloud_cover_Array_float" label="cloud_cover" optional="false" value="" help="Please provide comma-seperated values of type float here." type="text"/>
42 </when>
43 <when value="algae-usecase-workflow-copernicus-process">
44 <param name="user_credentials" label="user_credentials" optional="false" type="data" format="json"/>
45 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
46 <param name="product_url" label="product_url" optional="false" value="" type="text"/>
47 </when>
48 <when value="algae-usecase-workflow-earth-search">
49 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
50 <param name="date_Array_text" label="date" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/>
51 <param name="delta_Array_integer" label="delta" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/>
52 <param name="toi_Array_text" label="toi" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/>
53 <param name="aoi" label="aoi" optional="false" value="" help="Polygon defining the area of interest." type="data" format="txt"/>
54 <param name="collection" label="collection" optional="false" value="" type="text"/>
55 <param name="cloud_cover_Array_float" label="cloud_cover" optional="false" value="" help="Please provide comma-seperated values of type float here." type="text"/>
56 </when>
57 <when value="algae-usecase-workflow-earth-search-process">
58 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
59 <param name="product_url" label="product_url" optional="false" value="" help="The STAC Item should contain Assets with Sentinel-2 product bands." type="text"/>
60 </when>
61 <when value="calculate-band"> 23 <when value="calculate-band">
62 <param name="cookie" label="cookie" optional="false" value="" type="text"/> 24 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
63 <param name="name" label="name" optional="false" value="" help="Name to apply for the output GeoTiff file." type="text"/> 25 <param name="calc" label="Calculation" optional="false" help="Calculation to perform with band references." type="text"/>
64 <param name="calc" label="calc" optional="false" value="" help="Calculation to perform with band references." type="text"/> 26 <param name="band_a" label="Band A" optional="true" type="data" format="txt"/>
65 <param name="band_a" label="band_a" optional="false" value="" type="text"/> 27 <param name="band_b" label="Band B" optional="true" type="data" format="txt"/>
66 <param name="band_b" label="band_b" optional="false" value="" type="text"/> 28 <param name="band_c" label="Band C" optional="true" type="data" format="txt"/>
67 <param name="band_c" label="band_c" optional="false" value="" type="text"/> 29 <param name="band_d" label="Band D" optional="true" type="data" format="txt"/>
68 <param name="band_d" label="band_d" optional="false" value="" type="text"/> 30 <param name="band_e" label="Band E" optional="true" type="data" format="txt"/>
69 <param name="band_e" label="band_e" optional="false" value="" type="text"/> 31 <param name="band_f" label="Band F" optional="true" type="data" format="txt"/>
70 <param name="band_f" label="band_f" optional="false" value="" type="text"/> 32 <param name="band_g" label="Band G" optional="true" type="data" format="txt"/>
71 <param name="band_g" label="band_g" optional="false" value="" type="text"/> 33 <param name="band_h" label="Band H" optional="true" type="data" format="txt"/>
72 <param name="band_h" label="band_h" optional="false" value="" type="text"/> 34 <param name="band_i" label="Band I" optional="true" type="data" format="txt"/>
73 <param name="band_i" label="band_i" optional="false" value="" type="text"/> 35 <param name="band_j" label="Band J" optional="true" type="data" format="txt"/>
74 <param name="band_j" label="band_j" optional="false" value="" type="text"/> 36 <param name="band_k" label="Band K" optional="true" type="data" format="txt"/>
75 <param name="band_k" label="band_k" optional="false" value="" type="text"/> 37 <param name="band_l" label="Band L" optional="true" type="data" format="txt"/>
76 <param name="band_l" label="band_l" optional="false" value="" type="text"/> 38 <param name="band_m" label="Band M" optional="true" type="data" format="txt"/>
77 <param name="band_m" label="band_m" optional="false" value="" type="text"/> 39 <param name="band_n" label="Band N" optional="true" type="data" format="txt"/>
78 <param name="band_n" label="band_n" optional="false" value="" type="text"/> 40 <param name="band_o" label="Band O" optional="true" type="data" format="txt"/>
79 <param name="band_o" label="band_o" optional="false" value="" type="text"/> 41 <param name="band_p" label="Band P" optional="true" type="data" format="txt"/>
80 <param name="band_p" label="band_p" optional="false" value="" type="text"/> 42 <param name="band_q" label="Band Q" optional="true" type="data" format="txt"/>
81 <param name="band_q" label="band_q" optional="false" value="" type="text"/> 43 <param name="band_r" label="Band R" optional="true" type="data" format="txt"/>
82 <param name="band_r" label="band_r" optional="false" value="" type="text"/> 44 <param name="band_s" label="Band S" optional="true" type="data" format="txt"/>
83 <param name="band_s" label="band_s" optional="false" value="" type="text"/> 45 <param name="band_t" label="Band T" optional="true" type="data" format="txt"/>
84 <param name="band_t" label="band_t" optional="false" value="" type="text"/> 46 <param name="band_u" label="Band U" optional="true" type="data" format="txt"/>
85 <param name="band_u" label="band_u" optional="false" value="" type="text"/> 47 <param name="band_v" label="Band V" optional="true" type="data" format="txt"/>
86 <param name="band_v" label="band_v" optional="false" value="" type="text"/> 48 <param name="band_w" label="Band W" optional="true" type="data" format="txt"/>
87 <param name="band_w" label="band_w" optional="false" value="" type="text"/> 49 <param name="band_x" label="Band X" optional="true" type="data" format="txt"/>
88 <param name="band_x" label="band_x" optional="false" value="" type="text"/> 50 <param name="band_y" label="Band Y" optional="true" type="data" format="txt"/>
89 <param name="band_y" label="band_y" optional="false" value="" type="text"/> 51 <param name="band_z" label="Band Z" optional="true" type="data" format="txt"/>
90 <param name="band_z" label="band_z" optional="false" value="" type="text"/>
91 </when> 52 </when>
92 <when value="download-band-sentinel2-product-safe"> 53 <when value="download-band-sentinel2-product-safe">
93 <param name="user_credentials" label="user_credentials" optional="false" type="data" format="json"/> 54 <param name="product_url" label="Product URL" help="S3 URL to a Sentinel-2 product in SAFE format." optional="false" type="data" format="txt"/>
55 <param name="user_credentials" label="User credentials" optional="false" type="data" format="json"/>
94 <param name="cookie" label="cookie" optional="false" value="" type="text"/> 56 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
95 <param name="product_url" label="product_url" optional="false" value="" type="text"/> 57 <param name="resolution" label="resolution" optional="true" type="select">
96 <param name="resolution_Array_text" label="resolution" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 58 <option value="10m">10m</option>
97 <param name="band" label="band" optional="false" value="" type="select"> 59 <option value="20m">20m</option>
60 <option value="60m">60m</option>
61 </param>
62 <param name="band" label="band" optional="false" type="select">
98 <option value="B01">B01</option> 63 <option value="B01">B01</option>
99 <option value="B02">B02</option> 64 <option value="B02">B02</option>
100 <option value="B03">B03</option> 65 <option value="B03">B03</option>
101 <option value="B04">B04</option> 66 <option value="B04">B04</option>
102 <option value="B05">B05</option> 67 <option value="B05">B05</option>
110 <option value="AOT">AOT</option> 75 <option value="AOT">AOT</option>
111 <option value="SCL">SCL</option> 76 <option value="SCL">SCL</option>
112 <option value="TCI">TCI</option> 77 <option value="TCI">TCI</option>
113 <option value="WVP">WVP</option> 78 <option value="WVP">WVP</option>
114 </param> 79 </param>
115 <param name="debug_Array_boolean" label="debug" value="" help="Please provide comma-seperated values of type boolean here." type="text"/> 80 <param name="debug" label="Debug" optional="true" type="boolean"/>
116 </when>
117 <when value="download-band-sentinel2-stac-item">
118 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
119 <param name="product_url" label="product_url" optional="false" value="" type="text"/>
120 <param name="band" label="band" optional="false" value="" type="select">
121 <option value="B01">B01</option>
122 <option value="B02">B02</option>
123 <option value="B03">B03</option>
124 <option value="B04">B04</option>
125 <option value="B05">B05</option>
126 <option value="B06">B06</option>
127 <option value="B07">B07</option>
128 <option value="B08">B08</option>
129 <option value="B8A">B8A</option>
130 <option value="B09">B09</option>
131 <option value="B11">B11</option>
132 <option value="B12">B12</option>
133 <option value="AOT">AOT</option>
134 <option value="SCL">SCL</option>
135 <option value="TCI">TCI</option>
136 <option value="WVP">WVP</option>
137 </param>
138 </when>
139 <when value="EchoProcess">
140 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
141 <param name="stringInput" label="stringInput" optional="false" value="" type="select">
142 <option value="Value1">Value1</option>
143 <option value="Value2">Value2</option>
144 <option value="Value3">Value3</option>
145 </param>
146 <param name="measureInput" label="measureInput" optional="false" help="This is an example of a NUMERIC literal with an associated unit of measure." type="text"/>
147 <param name="dateInput" label="dateInput" optional="false" value="" help="This is an example of a DATE literal input." type="text"/>
148 <param name="doubleInput" label="doubleInput" optional="false" value="" help="This is an example of a DOUBLE literal input that is bounded between a value greater than 0 and 10. The default value is 5." type="float"/>
149 <param name="arrayInput_Array_integer" label="arrayInput" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/>
150 <param name="complexObjectInput" label="complexObjectInput" optional="false" help="This is an example of a complex object input." type="text"/>
151 <param name="geometryInput" label="geometryInput" optional="false" value="" help="This is an example of a geometry input. In this case the geometry can be expressed as a GML of GeoJSON geometry." type="text"/>
152 <param name="boundingBoxInput" label="boundingBoxInput" optional="false" help="This is an example of an image input. In this case, the input is an array of up to 150 images that might, for example, be a set of tiles. The oneOf[] conditional is used to indicate the acceptable image content types; GeoTIFF and JPEG 2000 in this case. Each input image in the input array can be included inline in the execute request as a base64-encoded string or referenced using the link.yaml schema. The use of a base64-encoded string is implied by the specification and does not need to be specified in the definition of the input." type="data" format="txt"/>
153 <param name="imagesInput" label="imagesInput" optional="false" help="This is an example of an image input. In this case, the input is an array of up to 150 images that might, for example, be a set of tiles. The oneOf[] conditional is used to indicate the acceptable image content types; GeoTIFF and JPEG 2000 in this case. Each input image in the input array can be included inline in the execute request as a base64-encoded string or referenced using the link.yaml schema. The use of a base64-encoded string is implied by the specification and does not need to be specified in the definition of the input." type="data" format="txt"/>
154 <param name="featureCollectionInput" label="featureCollectionInput" optional="false" help="This is an example of an input that is a feature collection that can be encoded in one of three ways. As a GeoJSON feature collection, as a GML feature collection retrieved from a WFS or as a KML document." type="text"/>
155 </when>
156 <when value="file_index_selector">
157 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
158 <param name="files" label="files" optional="false" type="data" format="txt"/>
159 <param name="index" label="index" optional="false" value="" type="integer"/>
160 </when>
161 <when value="file2string_array">
162 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
163 <param name="input" label="input" optional="false" value="" type="data" format="txt"/>
164 </when>
165 <when value="jsonarray2netcdf">
166 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
167 <param name="input" label="input" optional="false" value="" help="JSON file formed of an array of file URIs, each representing NetCDF contents." type="text"/>
168 </when>
169 <when value="metalink2netcdf">
170 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
171 <param name="input" label="input" optional="false" type="text"/>
172 <param name="index" label="index" optional="false" value="" help="Index of the MetaLink file to extract. This index is 1-based." type="integer"/>
173 </when>
174 <when value="ogc-tb16-land-cover-mapping">
175 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
176 <param name="raster_file" label="raster_file" optional="false" help="Input raster onto which to run object classification. Either a Sentinel-2 SAFE ZIP or a RBG-NIR GeoTiff." type="data" format="txt"/>
177 <param name="raster_bands_Array_integer" label="raster_bands" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/>
178 <param name="raster_mean_Array_float" label="raster_mean" optional="false" value="" help="Please provide comma-seperated values of type float here." type="text"/>
179 <param name="raster_std_Array_float" label="raster_std" optional="false" value="" help="Please provide comma-seperated values of type float here." type="text"/>
180 <param name="patch_size_Array_integer" label="patch_size" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/>
181 <param name="batch_size_Array_integer" label="batch_size" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/>
182 <param name="device_Array_text" label="device" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/>
183 </when> 81 </when>
184 <when value="plot-image"> 82 <when value="plot-image">
185 <param name="cookie" label="cookie" optional="false" value="" type="text"/> 83 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
186 <param name="input_image" label="input_image" optional="false" value="" help="Image to map with the colors bins." type="data" format="txt"/> 84 <param name="input_image" label="Input image" optional="false" help="Image to map with the colors bins." type="data" format="txt"/>
187 <param name="color_scale" label="color_scale" optional="false" value="" help="JSON-like array with each item being an array of 2 elements, the first for the bin scale value and the second for the RGB color. Each RGB value can be either a [0-1] floating point or a [0-255] integer. Example: '[ [0, [0,0,0]], [20, [0,0,255]], [50, [255,100,0]] ]'" type="text"/> 85 <param name="color_scale" label="Color mappings to bin scales to apply to the image." optional="false" help="JSON-like array with each item being an array of 2 elements, the first for the bin scale value and the second for the RGB color. Each RGB value can be either a [0-1] floating point or a [0-255] integer. Example: '[ [0, [0,0,0]], [20, [0,0,255]], [50, [255,100,0]] ]'" type="text"/>
188 <param name="output_name_Array_text" label="output_name" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 86 <param name="output_name" label="Output name" optional="true" type="text"/>
189 <param name="plot_name_Array_text" label="plot_name" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 87 <param name="plot_name" label="Plot name" optional="true" type="text"/>
190 <param name="plot_title_Array_text" label="plot_title" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 88 <param name="plot_title" label="Plot title" optional="true" type="text"/>
191 </when> 89 </when>
192 <when value="reproject-image"> 90 <when value="reproject-image">
193 <param name="cookie" label="cookie" optional="false" value="" type="text"/> 91 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
194 <param name="input_image" label="input_image" optional="false" type="data" format="txt"/> 92 <param name="input_image" label="input_image" optional="false" type="data" format="txt"/>
195 <param name="output_dimensions_Array_integer" label="output_dimensions" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/> 93 <param name="output_dimensions_Array_integer" label="output_dimensions" optional="true" help="Please provide comma-seperated values of type integer here." type="text"/>
196 <param name="output_resolution_Array_integer" label="output_resolution" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/> 94 <param name="output_resolution_Array_integer" label="Output resolution" optional="true" help="Please provide comma-seperated values of type integer here." type="text"/>
197 <param name="output_name" label="output_name" optional="false" value="" help="Name to apply for the output GeoTiff file." type="text"/>
198 </when> 95 </when>
199 <when value="select-products-sentinel2"> 96 <when value="select-products-sentinel2">
200 <param name="cookie" label="cookie" optional="false" value="" type="text"/> 97 <param name="cookie" label="cookie" optional="false" value="" type="text"/>
201 <param name="date_Array_text" label="date" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 98 <param name="date" label="Central date" optional="true" help="Date around which ±delta-days will be applied for search. If omitted, 'toi' input must be provided instead." type="text"/>
202 <param name="delta_Array_integer" label="delta" optional="false" value="" help="Please provide comma-seperated values of type integer here." type="text"/> 99 <param name="delta" label="Delta" optional="true" type="integer"/>
203 <param name="toi_Array_text" label="toi" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 100 <param name="toi_Array_text" label="Time of interest" optional="true" help="Start and end date-time strings. Must be provided if 'date' input is omitted. Please provide comma-seperated values of type text here." type="text"/>
204 <param name="aoi" label="aoi" optional="false" value="" help="Polygon defining the area of interest." type="data" format="txt"/> 101 <param name="aoi" label="Area of interest" optional="false" help="Polygon defining the area of interest." type="data" format="txt"/>
205 <param name="collection" label="collection" optional="false" value="" type="text"/> 102 <param name="collection" label="Collection" optional="false" type="text"/>
206 <param name="product_level_Array_text" label="product_level" optional="false" value="" help="Please provide comma-seperated values of type text here." type="text"/> 103 <param name="product_level" label="Product level" optional="true" help="Please provide comma-seperated values of type text here." type="select">
207 <param name="catalog" label="catalog" optional="false" value="" type="select"> 104 <option value="L1C">L1C</option>
105 <option value="L2A">L2A</option>
106 </param>
107 <param name="catalog" label="catalog" optional="false" type="select">
208 <option value="copernicus">copernicus</option> 108 <option value="copernicus">copernicus</option>
209 <option value="earth-search">earth-search</option> 109 <option value="earth-search">earth-search</option>
210 </param> 110 </param>
211 <param name="cloud_cover_Array_float" label="cloud_cover" optional="false" value="" help="Please provide comma-seperated values of type float here." type="text"/> 111 <param name="cloud_cover" label="Cloud cover" optional="true" type="float"/>
212 </when> 112 </when>
213 </conditional> 113 </conditional>
214 </inputs> 114 </inputs>
215 <outputs> 115 <outputs>
216 <data name="output_data" format="txt" label="$select_process"/> 116 <data name="output_data" format="txt" label="$select_process"/>