Mercurial > repos > climate > mean_per_zone
annotate mean-per-zone.xml @ 1:639192aa63f5 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:08 -0400 |
| parents | 40727a2668d6 |
| children |
| rev | line source |
|---|---|
|
1
639192aa63f5
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
40727a2668d6
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> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
3 <requirements> |
|
40727a2668d6
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> |
|
40727a2668d6
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> |
|
40727a2668d6
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> |
|
40727a2668d6
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
639192aa63f5
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
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
9 </requirements> |
|
40727a2668d6
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[ |
|
40727a2668d6
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' |
|
40727a2668d6
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
639192aa63f5
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
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
14 '$variable' |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
15 '$ofilename' |
|
40727a2668d6
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' |
|
40727a2668d6
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() != '' |
|
40727a2668d6
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' |
|
40727a2668d6
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 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
20 ]]></command> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
21 <inputs> |
|
40727a2668d6
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
639192aa63f5
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
40727a2668d6
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" /--> |
|
40727a2668d6
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" /> |
|
40727a2668d6
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" /> |
|
40727a2668d6
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
639192aa63f5
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> |
|
639192aa63f5
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
40727a2668d6
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
639192aa63f5
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
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
32 </param> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
33 </inputs> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
34 <outputs> |
|
40727a2668d6
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> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
36 </outputs> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
37 <tests> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
38 <test> |
|
40727a2668d6
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" /> |
|
40727a2668d6
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" /> |
|
40727a2668d6
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
639192aa63f5
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" > |
|
639192aa63f5
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"/> |
|
639192aa63f5
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"/> |
|
639192aa63f5
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"/> |
|
639192aa63f5
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"/> |
|
639192aa63f5
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> |
|
639192aa63f5
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
40727a2668d6
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"/> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
50 </test> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
51 </tests> |
|
40727a2668d6
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[ |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
53 |
|
40727a2668d6
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** |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
55 ================================================ |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
56 |
|
40727a2668d6
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``. |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
58 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
59 |
|
40727a2668d6
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 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
61 |
|
40727a2668d6
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 |
|
40727a2668d6
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). |
|
40727a2668d6
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 |
|
40727a2668d6
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 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
66 shapefile. |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
67 |
|
40727a2668d6
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** |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
69 ---------------- |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
70 |
|
40727a2668d6
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 |
|
40727a2668d6
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. |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
73 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
74 **Usage** |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
75 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
76 :: |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
77 |
|
40727a2668d6
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 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
79 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
80 |
|
40727a2668d6
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: |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
82 ~~~~~~~~~~~~~~~~~~~~~ |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
83 |
|
40727a2668d6
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
639192aa63f5
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
40727a2668d6
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 |
|
40727a2668d6
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. |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
88 |
|
40727a2668d6
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: |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
90 ~~~~~~~~~~~~~~~~~~~~~ |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
91 |
|
40727a2668d6
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 |
|
40727a2668d6
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 |
|
40727a2668d6
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] |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
95 |
|
40727a2668d6
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. |
|
40727a2668d6
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 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
98 |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
99 ]]></help> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
100 <citations> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
101 </citations> |
|
40727a2668d6
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/mean-per-zone commit 24f20e7459e275c14376680f9bb91cd8ac26d9a5
climate
parents:
diff
changeset
|
102 </tool> |
