Mercurial > repos > ecology > aquainfra_ogc_api_processes
diff macros.xml @ 0:0117fab93b87 draft
planemo upload for repository https://github.com/AquaINFRA/tools-ecology/tree/master commit 6db8e8425f0525fc2e5df8cb43beb3b14024d0ab
author | ecology |
---|---|
date | Mon, 14 Oct 2024 12:22:48 +0000 |
parents | |
children | fb54a4ca66b6 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Mon Oct 14 12:22:48 2024 +0000 @@ -0,0 +1,51 @@ +<macros> + <xml name="requirements"> + <requirements> + <requirement type="package" version="4.3.1">r-base</requirement> + <requirement type="package" version="1.20.4">r-getopt</requirement> + <requirement type="package" version="0.2.3">r-httr2</requirement> + <requirement type="package" version="1.8.7">r-jsonlite</requirement> + </requirements> + </xml> + <xml name="citations"> + <citations> + <citation type="bibtex">@Manual{httr2, title = {httr2: Perform HTTP Requests and Process the Responses}, author = {Hadley Wickham}, year = {2023}, note = {R package version 1.0.0, https://github.com/r-lib/httr2}, url = {https://httr2.r-lib.org},}</citation> + <citation type="doi">10.48550/arXiv.1403.2805</citation> + </citations> + </xml> + <xml name="help"> + <help> + Use the dropdown menu at the top to select the OGC API processes hosted on https://aqua.igb-berlin.de/pygeoapi-dev/processes and then complete the corresponding form to run the service. + </help> + </xml> + <xml name="tests"> + <tests> + <test> + <param name="select_process" value="points-att-polygon"/> + <param name="regions" value="points_att_polygon_test_input_1.txt"/> + <param name="input_data" value="points_att_polygon_test_input_2.txt"/> + <param name="colname_long" value="longitude"/> + <param name="colname_lat" value="latitude"/> + <output name="output_data"> + <assert_contents> + <has_n_lines n="1"/> + </assert_contents> + </output> + </test> + <test> + <param name="select_process" value="map-shapefile-points"/> + <param name="regions" value="points_att_polygon_test_input_1.txt"/> + <param name="input_data" value="points_att_polygon_test_input_3.txt"/> + <param name="colname_long" value="longitude"/> + <param name="colname_lat" value="latitude"/> + <param name="colname_value_name" value="transparency_m"/> + <param name="colname_region_id" value="HELCOM_ID"/> + <output name="output_data"> + <assert_contents> + <has_n_lines n="1"/> + </assert_contents> + </output> + </test> + </tests> + </xml> +</macros> \ No newline at end of file