Mercurial > repos > climate > cds_essential_variability
comparison essential_climate_variables.xml @ 0:5c0ab9932311 draft
planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/essential_climate_variables commit 49926d09bb7d28f07b24050d25c40f2ae875d6f7
author | climate |
---|---|
date | Fri, 03 May 2019 15:11:01 -0400 |
parents | |
children | 8b30be2cef81 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5c0ab9932311 |
---|---|
1 <tool id="cds_essential_variability" name="Copernicus Essential Climate Variables" version="0.1.4"> | |
2 <description>for assessing climate variability</description> | |
3 <requirements> | |
4 <requirement type="package" version="3">python</requirement> | |
5 <requirement type="package" version="0.1.4">cdsapi</requirement> | |
6 <requirement type="package" version="1.9.6">cdo</requirement> | |
7 </requirements> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 HOME=`pwd` && | |
10 python3 '$__tool_directory__/ecv_retrieve.py' | |
11 'ecv-for-climate-change' '$variable' | |
12 --year '$year' | |
13 #if str($time_aggregation.selector) == '1_month' | |
14 --month '$time_aggregation.month' | |
15 #else | |
16 --month '01' | |
17 #end if | |
18 --time_aggregation '$time_aggregation.selector' | |
19 --product_type '$product_type' | |
20 --format 'tgz' --output 'tmp.tgz' | |
21 --verbose && | |
22 tar zxvf tmp.tgz && | |
23 cat *.grib > tmp.grib && | |
24 cdo -f nc -t ecmwf copy tmp.grib tmp.nc | |
25 ]]></command> | |
26 <inputs> | |
27 <param name="variable" type="select" multiple="true" label="Variable(s)"> | |
28 <option value="surface_air_temperature" selected="true">Surface air temperature</option> | |
29 <option value="surface_air_relative_humidity" selected="true">Surface air relative humidity</option> | |
30 <option value="0_7cm_volumetric_soil_moisture" selected="true">0-7cm volumetric soil moisture</option> | |
31 <option value="precipitation" selected="true">Precipitation</option> | |
32 <option value="sea_ice" selected="true">Sea-ice</option> | |
33 </param> | |
34 <param name="product_type" type="select" label="Select type of data"> | |
35 <option value="climatology" selected="true">Climatology</option> | |
36 <option value="anomaly">Anomaly</option> | |
37 </param> | |
38 <conditional name="time_aggregation"> | |
39 <param name="selector" type="select" label="Time aggregation"> | |
40 <option value="12_month" selected="true">yearly</option> | |
41 <option value="1_month">monthly</option> | |
42 </param> | |
43 <when value="1_month"> | |
44 <param name="month" type="select" multiple="true" label="Select month(s)"> | |
45 <option value="01" selected="true">January</option> | |
46 <option value="02" selected="true">February</option> | |
47 <option value="03" selected="true">March</option> | |
48 <option value="04" selected="true">April</option> | |
49 <option value="05" selected="true">May</option> | |
50 <option value="06" selected="true">June</option> | |
51 <option value="07" selected="true">July</option> | |
52 <option value="08" selected="true">August</option> | |
53 <option value="09" selected="true">September</option> | |
54 <option value="10" selected="true">October</option> | |
55 <option value="11" selected="true">November</option> | |
56 <option value="12" selected="true">December</option> | |
57 </param> | |
58 </when> | |
59 </conditional> | |
60 | |
61 <param name="year" type="select" multiple="true" label="Select year(s)"> | |
62 <option value="1979">1979</option> | |
63 <option value="1980">1980</option> | |
64 <option value="1981">1981</option> | |
65 <option value="1982">1982</option> | |
66 <option value="1983">1983</option> | |
67 <option value="1984">1984</option> | |
68 <option value="1985">1985</option> | |
69 <option value="1986">1986</option> | |
70 <option value="1987">1987</option> | |
71 <option value="1988">1988</option> | |
72 <option value="1989">1989</option> | |
73 <option value="1990">1990</option> | |
74 <option value="1991">1991</option> | |
75 <option value="1992">1992</option> | |
76 <option value="1993">1993</option> | |
77 <option value="1994">1994</option> | |
78 <option value="1995">1995</option> | |
79 <option value="1996">1996</option> | |
80 <option value="1997">1997</option> | |
81 <option value="1998">1998</option> | |
82 <option value="1999">1999</option> | |
83 <option value="2000">2000</option> | |
84 <option value="2001">2001</option> | |
85 <option value="2002">2002</option> | |
86 <option value="2003">2003</option> | |
87 <option value="2004">2004</option> | |
88 <option value="2005">2005</option> | |
89 <option value="2006">2006</option> | |
90 <option value="2007">2007</option> | |
91 <option value="2008">2008</option> | |
92 <option value="2009">2009</option> | |
93 <option value="2010">2010</option> | |
94 <option value="2011">2011</option> | |
95 <option value="2012">2012</option> | |
96 <option value="2013">2013</option> | |
97 <option value="2014">2014</option> | |
98 <option value="2015">2015</option> | |
99 <option value="2016">2016</option> | |
100 <option value="2017">2017</option> | |
101 <option value="2018">2018</option> | |
102 <option value="2019" selected="true">2019</option> | |
103 </param> | |
104 </inputs> | |
105 <outputs> | |
106 <data name="ofilename" format="netcdf" from_work_dir="tmp.nc"/> | |
107 </outputs> | |
108 <tests> | |
109 <test> | |
110 <param name="variable" value="0_7cm_volumetric_soil_moisture"/> | |
111 <param name="product_type" value="climatology"/> | |
112 <param name="time_aggregation" value="1_month"/> | |
113 <param name="month" value="12"/> | |
114 <param name="year" value="2018"/> | |
115 <output name="ofilename" ftype="netcdf" file="soil_moisture.nc" compare="sim_size" delta="100"/> | |
116 </test> | |
117 <test> | |
118 <param name="variable" value="precipitation,sea_ice"/> | |
119 <param name="product_type" value="anomaly"/> | |
120 <param name="time_aggregation" value="12_month"/> | |
121 <param name="year" value="2017"/> | |
122 <output name="ofilename" ftype="netcdf" file="prep_seaice.nc" compare="sim_size" delta="100"/> | |
123 </test> | |
124 </tests> | |
125 <help><![CDATA[ | |
126 | |
127 **Copernicus Essential climate variables for assessment of climate variability from 1979 to present** | |
128 ======================================================================================================= | |
129 | |
130 This tool is a wrapper to retrieve Copernicus Essential Climate Variables. | |
131 It corresponds to the European Contribution to the Monitoring of Essential Climate Variables from Space. | |
132 An Essential Climate Variable is a physical, chemical or biological variable or a group of linked variables | |
133 that critically contributes to the characterization of Earth’ s climate. | |
134 | |
135 The Essential Climate Variables for assessment of climate variability from 1979 to present dataset contains | |
136 a selection of climatologies and monthly anomalies of Essential Climate Variables (ECVs) suitable for | |
137 monitoring and assessment of climate variability and change. Selection criteria are based on accuracy | |
138 and temporal consistency on monthly to decadal time scales. The ECV data products in this set have been | |
139 estimated from multiple sources and, depending on the source, may have been adjusted to account for biases | |
140 and other known deficiencies. Data sources and adjustment methods used are described in the Product User | |
141 Guide, as are various particulars such as the baseline periods used to calculate monthly climatologies and | |
142 the corresponding anomalies. | |
143 | |
144 | |
145 - ECV Factsheets: https://gcos.wmo.int/en/essential-climate-variables/ecv-factsheets | |
146 - Copernicus Climate Data Store documentation on Essential Climate Variables: | |
147 https://cds.climate.copernicus.eu/cdsapp#!/dataset/ecv-for-climate-change?tab=overview | |
148 | |
149 See climatedata.wmo.int/ for more information on Essential Climate Variables. | |
150 | |
151 .. class:: infomark | |
152 | |
153 It allows to retrieve estimates of Essential Climate Variables (ECVs) | |
154 derived from Earth observations. | |
155 | |
156 License: | |
157 ~~~~~~~~ | |
158 Copernicus License V1.1 | |
159 | |
160 Generated using Copernicus Climate Change Service information [2019]. | |
161 Neither the European Commission nor ECMWF is responsible for any use | |
162 that may be made of the Copernicus information or data it contains. | |
163 | |
164 ]]></help> | |
165 <citations> | |
166 </citations> | |
167 </tool> |