annotate eodie.xml @ 0:81b0ca76435d draft default tip

"planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
author climate
date Thu, 30 Dec 2021 15:24:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
1 <tool id="eodie" name="EODIE" version="@VERSION@" profile="20.09">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
2 <description>converts simple features data between file formats</description>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
3 <macros>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
4 <import>macros.xml</import>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
5 </macros>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
6 <expand macro="edam_ontology"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
7 <requirements>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
8 <requirement type="package" version="@VERSION@">eodie</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
9 <requirement type="package" version="3.9">python</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
10 <requirement type="package" version="1.8">shapely</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
11 <requirement type="package" version="1.2">rasterio</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
12 <requirement type="package" version="0.16">rasterstats</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
13 <requirement type="package" version="1.8">fiona</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
14 <requirement type="package" version="1.21">numpy</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
15 <requirement type="package" version="3.4.0">gdal</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
16 <requirement type="package" version="6.0">pyyaml</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
17 <requirement type="package" version="6.0">unzip</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
18 <requirement type="package" version="1.34">tar</requirement>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
19 </requirements>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
20 <command detect_errors="exit_code"><![CDATA[
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
21 mkdir -p work/data_collection work/results results_csv results_tiffs &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
22 cp '$config_tif' config_tif.yml &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
23 cp '$config_s2' config_s2.yml &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
24 cp '$config_ls8' config_ls8.yml &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
25 cp '$user_config' user_config.yml &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
26 cp '${input.extra_files_path}'/* work/ &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
27 cd work &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
28 ln -s '${input_type.input_file}' '${input_type.input_file.element_identifier}' &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
29 #if $input_type.input_file.is_of_type("zip")
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
30 unzip '$input_type.input_file' -d data_collection/ &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
31 #elif $input_type.input_file.is_of_type("tar")
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
32 tar -xf '$input_type.input_file' -C data_collection &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
33 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
34 #if str($input_type.platform) == 's2'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
35 mkdir -p sentinel2_tiles_world &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
36 (cp '$input_type.s2_shp.extra_files_path'/shapefile.shp sentinel2_tiles_world/sentinel2_tiles_world.shp || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
37 (cp '$input_type.s2_shp.extra_files_path'/shapefile.shx sentinel2_tiles_world/sentinel2_tiles_world.shx || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
38 (cp '$input_type.s2_shp.extra_files_path'/shapefile.dbf sentinel2_tiles_world/sentinel2_tiles_world.dbf || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
39 (cp '$input_type.s2_shp.extra_files_path'/shapefile.prj sentinel2_tiles_world/sentinel2_tiles_world.prj || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
40 #elif str($input_type.platform) == 'ls8'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
41 mkdir -p WRS2_descending &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
42 (cp '$input_type.ls8_shp.extra_files_path'/shapefile.shp WRS2_descending/WRS2_descending.shp || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
43 (cp '$input_type.ls8_shp.extra_files_path'/shapefile.shx WRS2_descending/WRS2_descending.shx || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
44 (cp '$input_type.ls8_shp.extra_files_path'/shapefile.dbf WRS2_descending/WRS2_descending.dbf || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
45 (cp '$input_type.ls8_shp.extra_files_path'/shapefile.prj WRS2_descending/WRS2_descending.prj || true ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
46 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
47
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
48 eodie_process.py
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
49 --platform $input_type.platform
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
50 #if str($input_type.platform) == 'tif'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
51 --file ${input_type.input_file.element_identifier}
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
52 #else
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
53 --dir data_collection
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
54 --out ./results
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
55 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
56 --shp shapefile
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
57 #for $i, $s in enumerate( $adv_options.statistics )
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
58 #if str($i) == '0'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
59 --statistics_out
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
60 --statistics
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
61 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
62 #if $s.stats_input.stats and str($s.stats_input.stats) != '':
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
63 #if str($s.stats_input.stats) == 'percentile':
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
64 '$s.stats_input.stats'_'$s.stats_input.p_value'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
65 #else
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
66 '$s.stats_input.stats'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
67 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
68 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
69 #end for
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
70 #if $adv_options.indices and str($adv_options.indices) != '':
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
71 --index
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
72 #for $idx in str($adv_options.indices).split(','):
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
73 '$idx'
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
74 #end for
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
75 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
76 #if $adv_options.start_date and str($adv_options.start_date) != '':
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
77 --start int($adv_options.start_date)
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
78 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
79 #if $adv_options.end_date and str($adv_options.end_date) != '':
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
80 --start int($adv_options.end_date)
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
81 #end if
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
82 $adv_options.exclude_border
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
83 $adv_options.exclude_splitshp
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
84 --id '$identifier' &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
85
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
86 mv results/*.log '$logfile' &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
87 bash '$__tool_directory__/postprocess_csv.sh' 'results' '../results_csv' &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
88 ( mv results/*.tif ../results_tiffs/ || echo "No tiff files generated" ) &&
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
89 echo "EODIE data extractor is done"
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
90 ]]> </command>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
91 <expand macro="configfiles"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
92 <inputs>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
93 <conditional name="input_type">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
94 <param name="platform" type="select" label="Select platform of the input data">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
95 <option value="s2">Sentinel 2</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
96 <option value="ls8">Landsat 8</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
97 <option value="tif">tiff file</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
98 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
99 <when value="tif">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
100 <param name='input_file' format="tiff" type="data" label="Individual input file"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
101 </when>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
102 <when value="ls8">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
103 <param name="input_file" type="data" format='zip,tar' label="Landsat 8 input data (zip or tarball)" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
104 <param name="ls8_shp" type="data" format="shp" label="Landsat 8 tile shapefile" help="Provide the Landsat-8 tile shapefile"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
105 </when>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
106 <when value="s2">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
107 <param name="input_file" type="data" format='zip,tar' label="Sentinel 2 input data (zip or tarball)" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
108 <param name="s2_shp" type="data" format="shp" label="Sentinel-2 tile shapefile" help="Provide the Sentinel-2 tile shapefile"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
109 </when>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
110 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
111 <param type="data" name="input" format="shp" label="Shapefile with polygons" help="Provide shapefile with polygons"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
112 <param name="identifier" type="text" value="PlotID" label="Name of identifier" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
113 <section name="adv_options" title="Advanced options" expanded="false">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
114 <param name="start_date" type="text" optional="true" label="Time frame start date (YYYYMMDD)">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
115 <validator type="length" min="8" max="8" message="Please enter a date in the form of YYYYMMDD"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
116 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
117 <param name="end_date" type="text" optional="true" label="Time frame end date (YYYYMMDD)">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
118 <validator type="length" min="8" max="8" message="Please enter a date in the form of YYYYMMDD"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
119 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
120 <repeat name="statistics" title="Compute statistics" min="0">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
121 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
122 <param name="stats" label="Statistics" type="select">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
123 <option value="mean">Mean</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
124 <option value="sum">Sum</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
125 <option value="min">Minimum</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
126 <option value="max">Maximum</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
127 <option value="std">Standard deviation</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
128 <option value="median">Median</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
129 <option value="majority">Majority</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
130 <option value="minority">Minority</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
131 <option value="unique">Unique</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
132 <option value="range">Range</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
133 <option value="percentile">Percentile</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
134 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
135 <when value="mean"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
136 <when value="sum"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
137 <when value="min"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
138 <when value="max"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
139 <when value="std"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
140 <when value="median"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
141 <when value="majority"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
142 <when value="minority"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
143 <when value="unique"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
144 <when value="range"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
145 <when value="percentile">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
146 <param name="p_value" type="integer" value="0" min="0" max="100" label="percentile value (if percentile selected)" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
147 </when>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
148 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
149 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
150 <param name="indices" label="Indice to compute" type="select" multiple="true">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
151 <option value="ndvi">ndvi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
152 <option value="rvi">rvi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
153 <option value="savi">savi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
154 <option value="nbr">nbr</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
155 <option value="kndvi">kndvi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
156 <option value="ndmi">ndmi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
157 <option value="mndwi">mndwi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
158 <option value="evi">evi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
159 <option value="evi2">evi2</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
160 <option value="dvi">dvi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
161 <option value="cvi">cvi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
162 <option value="mcar">mcar</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
163 <option value="ndi45">ndi45</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
164 <option value="tctb">tctb</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
165 <option value="tctg">tctg</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
166 <option value="tctw">tctw</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
167 <option value="ndwi">ndwi</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
168 <option value="B02">B02</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
169 <option value="B03">B03</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
170 <option value="B04">B04</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
171 <option value="B05">B05</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
172 <option value="B06">B06</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
173 <option value="B07">B07</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
174 <option value="B08">B08</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
175 <option value="B8A">B8A</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
176 <option value="B11">B11</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
177 <option value="B12">B12</option>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
178 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
179 <param name="exclude_splitshp" type="boolean" checked="false" label="exclude splitshp" help="Flag to indicate that splitshp has been run manually beforehand" truevalue="--exclude_splitshp" falsevalue="" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
180 <param name="exclude_border" type="boolean" checked="false" label="exclude border" help="Flag to indicate that border pixels (within the polygon) should be excluded from statistics calculations / array extraction" truevalue="--exclude_border" falsevalue="" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
181 <param name="geotiff_out" type="boolean" checked="false" label="generate geotiffs" help="flag to indicate that geotiffs shall be extracted" truevalue="--geotiff_out" falsevalue="" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
182 </section>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
183 </inputs>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
184 <outputs>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
185 <data name="logfile" format="txt"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
186 <collection name="csv_files" type="list" label="${tool.name} (statistics csv outputs)">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
187 <discover_datasets pattern="__name__" directory="results_csv" visible="false" format="tabular"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
188 </collection>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
189 </outputs>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
190 <tests>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
191 <test>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
192 <conditional name="input_type">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
193 <param name="platform" value="tif" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
194 <param name="input_file" ftype="tiff" value="smaller_area_20100401.tif" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
195 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
196 <param name="input" value="test_polygons/test_polygons.html" ftype="shp">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
197 <composite_data value="test_polygons/test_polygons.shp"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
198 <composite_data value="test_polygons/test_polygons.shx"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
199 <composite_data value="test_polygons/test_polygons.dbf"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
200 <composite_data value="test_polygons/test_polygons.prj"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
201 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
202 <param name="identifier" value="id"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
203 <section name="adv_options">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
204 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
205 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
206 <param name="stats" value="mean"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
207 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
208 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
209 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
210 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
211 <param name="stats" value="percentile"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
212 <param name="p_value" value="10"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
213 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
214 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
215 <param name="exclude_splitshp" value="true"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
216 </section>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
217 <output file="20211213-104427.log" name="logfile" compare="sim_size" delta="100"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
218 <output_collection name="csv_files" type="list" count="1">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
219 <element name="testrgb_20100401__statistics.csv" ftype="tabular" file="testrgb_20100401__statistics.csv" compare="diff" lines_diff="1">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
220 <assert_contents>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
221 <has_text text="percentile_10" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
222 <has_text text="20508" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
223 <has_text text="12049" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
224 <has_text text="4508" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
225 <has_text text="110." />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
226 <has_text text="147." />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
227 <has_text text="32." />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
228 <has_n_columns n="4" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
229 </assert_contents>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
230 </element>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
231
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
232
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
233 </output_collection>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
234 </test>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
235 <test>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
236 <conditional name="input_type">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
237 <param name="platform" value="ls8" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
238 <param name="input_file" ftype="tar" value="LS8.tar" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
239 <param name="ls8_shp" ftype="shp" value="WRS2_descending/WRS2_descending.html">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
240 <composite_data value="WRS2_descending/WRS2_descending.shp"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
241 <composite_data value="WRS2_descending/WRS2_descending.shx"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
242 <composite_data value="WRS2_descending/WRS2_descending.dbf"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
243 <composite_data value="WRS2_descending/WRS2_descending.prj"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
244 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
245 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
246 <param name="input" value="test_parcels_32635/test_parcels_32635.html" ftype="shp">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
247 <composite_data value="test_parcels_32635/test_parcels_32635.shp"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
248 <composite_data value="test_parcels_32635/test_parcels_32635.shx"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
249 <composite_data value="test_parcels_32635/test_parcels_32635.dbf"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
250 <composite_data value="test_parcels_32635/test_parcels_32635.prj"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
251 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
252 <param name="identifier" value="ID"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
253 <section name="adv_options">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
254 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
255 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
256 <param name="stats" value="mean"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
257 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
258 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
259 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
260 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
261 <param name="stats" value="median"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
262 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
263 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
264 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
265 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
266 <param name="stats" value="std"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
267 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
268 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
269 <param name="indices" value="ndvi"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
270 </section>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
271 <output file="20211218-102629.log" name="logfile" compare="sim_size" delta="100"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
272 <output_collection name="csv_files" type="list" count="1">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
273 <element name="ndvi_20190628_189017_statistics.csv" ftype="tabular" file="ndvi_20190628_189017_statistics.csv" compare="diff" lines_diff="1">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
274 <assert_contents>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
275 <has_text text="count" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
276 <has_text text="32" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
277 <has_text text="81" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
278 <has_text text="48" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
279 <has_text text=".384" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
280 <has_text text=".304" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
281 <has_text text=".424" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
282 <has_text text=".387" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
283 <has_text text=".295" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
284 <has_text text=".432" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
285 <has_text text=".033" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
286 <has_text text=".078" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
287 <has_text text=".031" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
288 <has_n_columns n="5" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
289 </assert_contents>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
290 </element>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
291 </output_collection>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
292 </test>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
293 <test>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
294 <conditional name="input_type">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
295 <param name="platform" value="s2" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
296 <param name="input_file" ftype="tar" value="S2.tar" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
297 <param name="s2_shp" ftype="shp" value="sentinel2_tiles_world/sentinel2_tiles_world.html">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
298 <composite_data value="sentinel2_tiles_world/sentinel2_tiles_world.shp"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
299 <composite_data value="sentinel2_tiles_world/sentinel2_tiles_world.shx"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
300 <composite_data value="sentinel2_tiles_world/sentinel2_tiles_world.dbf"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
301 <composite_data value="sentinel2_tiles_world/sentinel2_tiles_world.prj"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
302 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
303 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
304 <param name="input" value="test_parcels_32635/test_parcels_32635.html" ftype="shp">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
305 <composite_data value="test_parcels_32635/test_parcels_32635.shp"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
306 <composite_data value="test_parcels_32635/test_parcels_32635.shx"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
307 <composite_data value="test_parcels_32635/test_parcels_32635.dbf"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
308 <composite_data value="test_parcels_32635/test_parcels_32635.prj"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
309 </param>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
310 <param name="identifier" value="ID"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
311 <section name="adv_options">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
312 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
313 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
314 <param name="stats" value="mean"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
315 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
316 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
317 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
318 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
319 <param name="stats" value="median"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
320 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
321 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
322 <repeat name="statistics">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
323 <conditional name="stats_input">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
324 <param name="stats" value="std"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
325 </conditional>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
326 </repeat>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
327 <param name="indices" value="ndvi"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
328 </section>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
329 <output file="20211217-210343.log" name="logfile" compare="sim_size" delta="100"/>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
330 <output_collection name="csv_files" type="list" count="1">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
331 <element name="ndvi_20200626_34VFN_statistics.csv" ftype="tabular" file="ndvi_20200626_34VFN_statistics.csv" compare="diff" lines_diff="1">
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
332 <assert_contents>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
333 <has_text text="204" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
334 <has_text text="551" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
335 <has_text text="335" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
336 <has_text text=".321" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
337 <has_text text=".293" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
338 <has_text text=".661" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
339 <has_text text=".302" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
340 <has_text text=".294" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
341 <has_text text=".686" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
342 <has_text text=".091" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
343 <has_text text=".088" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
344 <has_text text=".091" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
345 <has_n_columns n="5" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
346 </assert_contents>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
347 </element>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
348 </output_collection>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
349 </test>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
350 </tests>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
351 <help><![CDATA[
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
352
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
353 **EODIE - Earth Observation Data Information Extractor**
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
354 =======================================================================================================
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
355
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
356 Toolkit to extract object based timeseries from Earth Observation data such as Copernicus Sentinel 2, Landsat 8 and more generally geotiff files.
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
357
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
358 EODIE takes the objects in as polygons in a shapefile as well as the timeframe of interest and the features (eg vegetation indices) to be extracted.
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
359 The output is a per polygon timeseries of the selected features over the timeframe of interest.
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
360
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
361 ]]> </help>
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
362 <expand macro="citations" />
81b0ca76435d "planemo upload for repository https://gitlab.com/eetun-tiimi/EODIE commit c4a5672398bc878dd2bc0bf4f3a26f59b3f6395c"
climate
parents:
diff changeset
363 </tool>