Mercurial > repos > climate > climate_stripes
comparison climate-stripes.xml @ 2:abdc27e01dca draft default tip
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/climate-stripes commit e4c144851549600ffde5bcf875304d5edd98e2b1
author | climate |
---|---|
date | Sat, 09 Jul 2022 09:02:01 +0000 |
parents | c6f2435d680b |
children |
comparison
equal
deleted
inserted
replaced
1:c6f2435d680b | 2:abdc27e01dca |
---|---|
1 <tool id="climate_stripes" name="climate stripes" version="1.0.1"> | 1 <tool id="climate_stripes" name="climate stripes" version="1.0.2"> |
2 <description>from timeseries</description> | 2 <description>from timeseries</description> |
3 <edam_topics> | |
4 <edam_topic>topic_3855</edam_topic> | |
5 <edam_topic>topic_3318</edam_topic> | |
6 </edam_topics> | |
7 <edam_operations> | |
8 <edam_operation>operation_0337</edam_operation> | |
9 </edam_operations> | |
3 <requirements> | 10 <requirements> |
4 <requirement type="package" version="3">python</requirement> | 11 <requirement type="package" version="3">python</requirement> |
5 <requirement type="package" version="3.1.1">matplotlib</requirement> | 12 <requirement type="package" version="3.5.2">matplotlib</requirement> |
6 <requirement type="package" version="1.0.0">pandas</requirement> | 13 <requirement type="package" version="1.4.3">pandas</requirement> |
7 </requirements> | 14 </requirements> |
8 <command detect_errors="exit_code"><![CDATA[ | 15 <command detect_errors="exit_code"><![CDATA[ |
9 python3 '$__tool_directory__/climate_stripes.py' | 16 python3 '$__tool_directory__/climate_stripes.py' |
10 '$ifilename' '$variable' | 17 '$ifilename' '$variable' |
11 --cmap '$adv.colormap' | 18 --cmap '$adv.colormap' |
19 --format_date '$adv.format_date' | 26 --format_date '$adv.format_date' |
20 #end if | 27 #end if |
21 #if str($adv.format_plot).strip() | 28 #if str($adv.format_plot).strip() |
22 --format_plot '$adv.format_plot' | 29 --format_plot '$adv.format_plot' |
23 #end if | 30 #end if |
31 #if $adv.nxsplit | |
32 --nxsplit '$adv.nxsplit' | |
33 #end if | |
24 --output image.png | 34 --output image.png |
25 ]]></command> | 35 ]]></command> |
26 <inputs> | 36 <inputs> |
27 <param name="ifilename" type="data" format="tabular" label="timeseries to plot"></param> | 37 <param name="ifilename" type="data" format="tabular" label="timeseries to plot"></param> |
28 <param name="variable" type="text" value="global" label="column name to use for plotting" /> | 38 <param name="variable" type="text" value="global" label="column name to use for plotting" /> |
29 <param name="title" type="text" value="" label="plot title" /> | 39 <param name="title" type="text" value="" label="plot title" /> |
30 <section name="adv" title="Advanced Options" expanded="false"> | 40 <section name="adv" title="Advanced Options" expanded="false"> |
41 <param name="nxsplit" type="integer" optional="true" label="number of values per intervals" /> | |
31 <param name="xname" type="text" value="" label="column name to use for x-axis" /> | 42 <param name="xname" type="text" value="" label="column name to use for x-axis" /> |
32 <param name="format_date" type="text" value="" label="format for input date/time column" /> | 43 <param name="format_date" type="text" value="" label="format for input date/time column" /> |
33 <param name="format_plot" type="text" value="" label="format for plotting dates on the x-axis" /> | 44 <param name="format_plot" type="text" value="" label="format for plotting dates on the x-axis" /> |
34 <param name="colormap" type="select"> | 45 <param name="colormap" type="select"> |
35 <option value="Accent">Accent</option> | 46 <option value="Accent">Accent</option> |
125 <test> | 136 <test> |
126 <param name="ifilename" value="T2Mclimatology.txt" /> | 137 <param name="ifilename" value="T2Mclimatology.txt" /> |
127 <param name="variable" value="global" /> | 138 <param name="variable" value="global" /> |
128 <param name="title" value="Surface Temperature stripes (1979-2019)" /> | 139 <param name="title" value="Surface Temperature stripes (1979-2019)" /> |
129 <param name="colormap" value="OrRd" /> | 140 <param name="colormap" value="OrRd" /> |
141 <param name="nxsplit" value="50" /> | |
130 <param name="xname" value="Month" /> | 142 <param name="xname" value="Month" /> |
131 <param name="format_date" value="XYXm" /> | 143 <param name="format_date" value="XYXm" /> |
132 <param name="format_plot" value="XY" /> | 144 <param name="format_plot" value="XY" /> |
133 <output name="ofilename" ftype="png" file="T2Mstripes_with_axis.png" compare="sim_size" delta="50"/> | 145 <output name="ofilename" ftype="png" file="T2Mstripes_with_axis.png" compare="sim_size" delta="50"/> |
134 </test> | 146 </test> |