annotate mean-per-zone.xml @ 1:4bb2f6091660 draft default tip

planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
author climate
date Mon, 24 Jun 2019 02:41:30 -0400
parents 4f14b5b97262
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
1 <tool id="mean_per_zone" name="zonal statistics" version="0.2.0">
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
2 <description>over each area</description>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
3 <requirements>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
4 <requirement type="package" version="3">python</requirement>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
5 <requirement type="package" version="0.13.1">rasterstats</requirement>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
6 <requirement type="package" version="0.4.1">geopandas</requirement>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
7 <requirement type="package" version="0.11.3">xarray</requirement>
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
8 <requirement type="package" version="1.5.1.2">netcdf4</requirement>
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
9 </requirements>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
11 python3 '$__tool_directory__/zonal_statistics.py'
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
12 '$ifilename'
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
13 '$shapefile.extra_files_path'
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
14 '$variable'
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
15 '$ofilename'
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
16 --stat '$stat_type'
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
17 #if str($title).strip() != ''
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
18 --title '$title'
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
19 #end if
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
20 ]]></command>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
21 <inputs>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
22 <param name="ifilename" type="data" format="netcdf,h5" label="input with geographical coordinates (netCDF format)"/>
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
23 <param name="shapefile" type="data" format="shp" label="shapefile (shp) with polygons for which statistics will be computed"/>
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
24 <!--param name="name" type="text" value="" label="Shapefile name" /-->
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
25 <param name="variable" type="text" value="TS" label="variable name as given in the netCDF file" />
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
26 <param name="title" type="text" value="" label="Title of the generated plot" />
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
27 <param name="stat_type" type="select">
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
28 <option value="min">minimum</option>
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
29 <option value="max">maximum</option>
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
30 <option value="mean" selected="true">mean</option>
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
31 <option value="count">count</option>
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
32 </param>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
33 </inputs>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
34 <outputs>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
35 <data name="ofilename" format="png"></data>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
36 </outputs>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
37 <tests>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
38 <test>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
39 <param name="ifilename" value="TS.f2000.T31T31.control.cam.h0.0014-12.180.nc" />
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
40 <param name="variable" value="TS" />
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
41 <param name="title" value="Mean Surface Temperature per country" />
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
42 <param name="shapefile" value="TM_WORLD_BORDERS_SIMPL-0.3.html" ftype="shp" >
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
43 <composite_data value="TM_WORLD_BORDERS_SIMPL-0.3/TM_WORLD_BORDERS_SIMPL-0.3.shp"/>
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
44 <composite_data value="TM_WORLD_BORDERS_SIMPL-0.3/TM_WORLD_BORDERS_SIMPL-0.3.shx"/>
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
45 <composite_data value="TM_WORLD_BORDERS_SIMPL-0.3/TM_WORLD_BORDERS_SIMPL-0.3.dbf"/>
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
46 <composite_data value="TM_WORLD_BORDERS_SIMPL-0.3/TM_WORLD_BORDERS_SIMPL-0.3.prj"/>
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
47 </param>
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
48 <!--param name="name" value="TM_WORLD_BORDERS_SIMPL-0.3" /-->
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
49 <output name="ofilename" ftype="png" file="TS.f2000.T31T31.control.cam.h0.0014-12.180.png" compare="sim_size" delta="1500"/>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
50 </test>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
51 </tests>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
52 <help><![CDATA[
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
53
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
54 **Plot statistics**
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
55 ================================================
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
56
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
57 This tool wraps the functionality of ``zonal-statistics.py``.
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
58
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
59
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
60 .. class:: infomark
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
61
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
62 The wrapper aims at providing a utility to extract information
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
63 from geospatial raster data based on vector geometries (shapefile).
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
64 The raster input file must be in netCDF format with geographical coordinates
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
65 (latitudes, longitudes) with the same coordinate reference system as the
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
66 shapefile.
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
67
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
68 **What it does**
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
69 ----------------
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
70
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
71 This tools creates a png image showing statistic over areas as defined in the
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
72 vector file.
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
73
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
74 **Usage**
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
75
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
76 ::
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
77
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
78 usage: zonal-statistics.py [-h] [-v] [-t] raster vector variable output
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
79
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
80
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
81 Positional arguments:
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
82 ~~~~~~~~~~~~~~~~~~~~~
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
83
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
84 - **raster**: input raster filename with geographical coordinates (netCDF format)
1
4bb2f6091660 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit a5d176b7d0dc81bae07569d396edced43cfa2702
climate
parents: 0
diff changeset
85 - **vector**: input shapefile filename with polygons
0
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
86 - **variable**: variable used from raster file to compute statistics
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
87 - **output**: output filename for png file containing the resulting plot.
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
88
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
89 Optional arguments:
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
90 ~~~~~~~~~~~~~~~~~~~~~
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
91
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
92 -h, --help show this help message and exit
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
93 -v, --verbose switch on verbose mode
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
94 -t, --type statistic type [min, max, mean, count]
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
95
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
96 It uses ``rasterstats`` python package to compute zonal statistics.
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
97 More information about ``rasterstats`` can be found at https://pythonhosted.org/rasterstats
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
98
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
99 ]]></help>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
100 <citations>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
101 </citations>
4f14b5b97262 planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff changeset
102 </tool>