Mercurial > repos > ecology > hirondelle_crim
view 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 |
line wrap: on
line source
<tool id="hirondelle_crim" name="Hirondelle CRIM OGC API Processes" version="0.2.0" profile="22.05"> <description>executes remote processes.</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <command detect_errors="exit_code"><![CDATA[ Rscript '$__tool_directory__/ogc_api_processes_wrapper.R' --outputData '$output_data' ]]></command> <configfiles> <inputs name="inputs" filename="inputs.json" data_style="paths"/> </configfiles> <inputs> <conditional name="conditional_process"> <param name="select_process" type="select" label="Select process"> <option value="calculate-band">calculate-band: Performs a calculation with bands.</option> <option value="download-band-sentinel2-product-safe">download-band-sentinel2-product-safe: Downloads Copernicus products.</option> <option value="plot-image">plot-image: Plots an image with colors.</option> <option value="reproject-image">reproject-image: Performs image reprojection.</option> <option value="select-products-sentinel2">select-products-sentinel2: Searches the specified catalog for Sentinel-2 products matching filtering criteria.</option> </param> <when value="calculate-band"> <param name="cookie" label="cookie" optional="false" value="" type="text"/> <param name="calc" label="Calculation" optional="false" help="Calculation to perform with band references." type="text"/> <param name="band_a" label="Band A" optional="true" type="data" format="txt"/> <param name="band_b" label="Band B" optional="true" type="data" format="txt"/> <param name="band_c" label="Band C" optional="true" type="data" format="txt"/> <param name="band_d" label="Band D" optional="true" type="data" format="txt"/> <param name="band_e" label="Band E" optional="true" type="data" format="txt"/> <param name="band_f" label="Band F" optional="true" type="data" format="txt"/> <param name="band_g" label="Band G" optional="true" type="data" format="txt"/> <param name="band_h" label="Band H" optional="true" type="data" format="txt"/> <param name="band_i" label="Band I" optional="true" type="data" format="txt"/> <param name="band_j" label="Band J" optional="true" type="data" format="txt"/> <param name="band_k" label="Band K" optional="true" type="data" format="txt"/> <param name="band_l" label="Band L" optional="true" type="data" format="txt"/> <param name="band_m" label="Band M" optional="true" type="data" format="txt"/> <param name="band_n" label="Band N" optional="true" type="data" format="txt"/> <param name="band_o" label="Band O" optional="true" type="data" format="txt"/> <param name="band_p" label="Band P" optional="true" type="data" format="txt"/> <param name="band_q" label="Band Q" optional="true" type="data" format="txt"/> <param name="band_r" label="Band R" optional="true" type="data" format="txt"/> <param name="band_s" label="Band S" optional="true" type="data" format="txt"/> <param name="band_t" label="Band T" optional="true" type="data" format="txt"/> <param name="band_u" label="Band U" optional="true" type="data" format="txt"/> <param name="band_v" label="Band V" optional="true" type="data" format="txt"/> <param name="band_w" label="Band W" optional="true" type="data" format="txt"/> <param name="band_x" label="Band X" optional="true" type="data" format="txt"/> <param name="band_y" label="Band Y" optional="true" type="data" format="txt"/> <param name="band_z" label="Band Z" optional="true" type="data" format="txt"/> </when> <when value="download-band-sentinel2-product-safe"> <param name="product_url" label="Product URL" help="S3 URL to a Sentinel-2 product in SAFE format." optional="false" type="data" format="txt"/> <param name="user_credentials" label="User credentials" optional="false" type="data" format="json"/> <param name="cookie" label="cookie" optional="false" value="" type="text"/> <param name="resolution" label="resolution" optional="true" type="select"> <option value="10m">10m</option> <option value="20m">20m</option> <option value="60m">60m</option> </param> <param name="band" label="band" optional="false" type="select"> <option value="B01">B01</option> <option value="B02">B02</option> <option value="B03">B03</option> <option value="B04">B04</option> <option value="B05">B05</option> <option value="B06">B06</option> <option value="B07">B07</option> <option value="B08">B08</option> <option value="B8A">B8A</option> <option value="B09">B09</option> <option value="B11">B11</option> <option value="B12">B12</option> <option value="AOT">AOT</option> <option value="SCL">SCL</option> <option value="TCI">TCI</option> <option value="WVP">WVP</option> </param> <param name="debug" label="Debug" optional="true" type="boolean"/> </when> <when value="plot-image"> <param name="cookie" label="cookie" optional="false" value="" type="text"/> <param name="input_image" label="Input image" optional="false" help="Image to map with the colors bins." type="data" format="txt"/> <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"/> <param name="output_name" label="Output name" optional="true" type="text"/> <param name="plot_name" label="Plot name" optional="true" type="text"/> <param name="plot_title" label="Plot title" optional="true" type="text"/> </when> <when value="reproject-image"> <param name="cookie" label="cookie" optional="false" value="" type="text"/> <param name="input_image" label="input_image" optional="false" type="data" format="txt"/> <param name="output_dimensions_Array_integer" label="output_dimensions" optional="true" help="Please provide comma-seperated values of type integer here." type="text"/> <param name="output_resolution_Array_integer" label="Output resolution" optional="true" help="Please provide comma-seperated values of type integer here." type="text"/> </when> <when value="select-products-sentinel2"> <param name="cookie" label="cookie" optional="false" value="" type="text"/> <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"/> <param name="delta" label="Delta" optional="true" type="integer"/> <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"/> <param name="aoi" label="Area of interest" optional="false" help="Polygon defining the area of interest." type="data" format="txt"/> <param name="collection" label="Collection" optional="false" type="text"/> <param name="product_level" label="Product level" optional="true" help="Please provide comma-seperated values of type text here." type="select"> <option value="L1C">L1C</option> <option value="L2A">L2A</option> </param> <param name="catalog" label="catalog" optional="false" type="select"> <option value="copernicus">copernicus</option> <option value="earth-search">earth-search</option> </param> <param name="cloud_cover" label="Cloud cover" optional="true" type="float"/> </when> </conditional> </inputs> <outputs> <data name="output_data" format="txt" label="$select_process"/> </outputs> <expand macro="tests"/> <help>Use the dropdown menu at the top to select the process and then complete the corresponding from, which is different for every process.</help> <expand macro="citations"/> </tool>