Mercurial > repos > climate > cds_essential_variability
comparison essential_climate_variables.xml @ 5:a781bdaaa30e draft default tip
"planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/essential_climate_variables commit 9a008dba390aef21d4ab61240641bf455f5bb036"
| author | climate |
|---|---|
| date | Tue, 08 Jun 2021 08:57:38 +0000 |
| parents | 6fc129e756bc |
| children |
comparison
equal
deleted
inserted
replaced
| 4:85ec9e6112df | 5:a781bdaaa30e |
|---|---|
| 1 <tool id="cds_essential_variability" name="Copernicus Essential Climate Variables" version="0.1.4"> | 1 <tool id="cds_essential_variability" name="Copernicus Essential Climate Variables" version="0.2.0" profile="20.05"> |
| 2 <description>for assessing climate variability</description> | 2 <description>for assessing climate variability</description> |
| 3 <requirements> | 3 <requirements> |
| 4 <requirement type="package" version="3">python</requirement> | 4 <requirement type="package" version="3">python</requirement> |
| 5 <requirement type="package" version="0.1.4">cdsapi</requirement> | 5 <requirement type="package" version="0.5.1">cdsapi</requirement> |
| 6 <requirement type="package" version="1.9.6">cdo</requirement> | 6 <requirement type="package" version="1.9.10">cdo</requirement> |
| 7 </requirements> | 7 </requirements> |
| 8 <command detect_errors="exit_code"><![CDATA[ | 8 <command detect_errors="exit_code"><![CDATA[ |
| 9 HOME=`pwd` && | 9 export HOME=`pwd` && |
| 10 cp \$COPERNICUS_CDSAPIRC_KEY_FILE .cdsapirc | true && | 10 #set $cdsapirc_file = os.environ.get('COPERNICUS_CDSAPIRC_KEY_FILE', '') |
| 11 #if os.path.isfile(str($cdsapirc_file)) | |
| 12 echo "xx $cdsapirc_file xx" && | |
| 13 cp $cdsapirc_file .cdsapirc && | |
| 14 #else | |
| 15 echo 'use tool cdsapirc file' && | |
| 16 cp '$__tool_directory__/cdsapirc.cfg' .cdsapirc && | |
| 17 #end if | |
| 11 python3 '$__tool_directory__/ecv_retrieve.py' | 18 python3 '$__tool_directory__/ecv_retrieve.py' |
| 12 'ecv-for-climate-change' '$variable' | 19 'ecv-for-climate-change' '$variable' |
| 13 --month '$month' | 20 --month '$month' |
| 14 #if str($product_type.product) == 'monthly_mean' | 21 #if str($product_type.product) == 'monthly_mean' |
| 15 --year '$product_type.year' | 22 --year '$product_type.year' |
| 16 --time_aggregation '1_month' | 23 --time_aggregation '1_month_mean' |
| 17 #else if str($product_type.product) == 'anomaly' | 24 #else if str($product_type.product) == 'anomaly' |
| 25 --climate_reference_period $product_type.climate_reference_period | |
| 18 --time_aggregation '$product_type.selector' | 26 --time_aggregation '$product_type.selector' |
| 19 --year '$product_type.year' | 27 --year '$product_type.year' |
| 20 #else | 28 #else |
| 21 --year '2018' | 29 --climate_reference_period $product_type.climate_reference_period |
| 22 --time_aggregation '1_month' | 30 --time_aggregation '1_month_mean' |
| 23 #end if | 31 #end if |
| 24 --product_type '$product_type.product' | 32 --product_type '$product_type.product' |
| 25 --format 'tgz' --output 'tmp.tgz' | 33 --format 'tgz' --output 'tmp.tgz' |
| 26 --verbose && | 34 --verbose && |
| 27 tar zxvf tmp.tgz && | 35 tar zxvf tmp.tgz && |
| 41 <param name="product" type="select" label="Select type of data"> | 49 <param name="product" type="select" label="Select type of data"> |
| 42 <option value="monthly_mean" selected="true">Monthly mean</option> | 50 <option value="monthly_mean" selected="true">Monthly mean</option> |
| 43 <option value="climatology">Climatology</option> | 51 <option value="climatology">Climatology</option> |
| 44 <option value="anomaly">Anomaly</option> | 52 <option value="anomaly">Anomaly</option> |
| 45 </param> | 53 </param> |
| 54 <when value="climatology"> | |
| 55 <param name="climate_reference_period" type="select" multiple="false" label="Select Climate reference period"> | |
| 56 <option value="1981_2010" selected="true">1981-2010</option> | |
| 57 <option value="1991_2020">1991-2020</option> | |
| 58 </param> | |
| 59 </when> | |
| 46 <when value="monthly_mean"> | 60 <when value="monthly_mean"> |
| 47 <param name="year" type="select" multiple="true" label="Select year(s)"> | 61 <param name="year" type="select" multiple="true" label="Select year(s)"> |
| 48 <option value="1979">1979</option> | 62 <option value="1979">1979</option> |
| 49 <option value="1980">1980</option> | 63 <option value="1980">1980</option> |
| 50 <option value="1981">1981</option> | 64 <option value="1981">1981</option> |
| 83 <option value="2014">2014</option> | 97 <option value="2014">2014</option> |
| 84 <option value="2015">2015</option> | 98 <option value="2015">2015</option> |
| 85 <option value="2016">2016</option> | 99 <option value="2016">2016</option> |
| 86 <option value="2017">2017</option> | 100 <option value="2017">2017</option> |
| 87 <option value="2018">2018</option> | 101 <option value="2018">2018</option> |
| 88 <option value="2019" selected="true">2019</option> | 102 <option value="2019">2019</option> |
| 103 <option value="2020" selected="true">2020</option> | |
| 89 </param> | 104 </param> |
| 90 </when> | 105 </when> |
| 91 <when value="anomaly"> | 106 <when value="anomaly"> |
| 107 <param name="climate_reference_period" type="select" multiple="false" label="Select Climate reference period"> | |
| 108 <option value="1981_2010" selected="true">1981-2010</option> | |
| 109 <option value="1991_2020">1991-2020</option> | |
| 110 </param> | |
| 92 <param name="year" type="select" multiple="true" label="Select year(s)"> | 111 <param name="year" type="select" multiple="true" label="Select year(s)"> |
| 93 <option value="1979">1979</option> | 112 <option value="1979">1979</option> |
| 94 <option value="1980">1980</option> | 113 <option value="1980">1980</option> |
| 95 <option value="1981">1981</option> | 114 <option value="1981">1981</option> |
| 96 <option value="1982">1982</option> | 115 <option value="1982">1982</option> |
| 127 <option value="2013">2013</option> | 146 <option value="2013">2013</option> |
| 128 <option value="2014">2014</option> | 147 <option value="2014">2014</option> |
| 129 <option value="2015">2015</option> | 148 <option value="2015">2015</option> |
| 130 <option value="2016">2016</option> | 149 <option value="2016">2016</option> |
| 131 <option value="2017">2017</option> | 150 <option value="2017">2017</option> |
| 132 <option value="2018" selected="true">2018</option> | 151 <option value="2018">2018</option> |
| 152 <option value="2019">2019</option> | |
| 153 <option value="2020" selected="true">2020</option> | |
| 133 </param> | 154 </param> |
| 134 <param name="selector" type="select" label="Time aggregation"> | 155 <param name="selector" type="select" label="Time aggregation"> |
| 135 <option value="12_month" selected="true">yearly</option> | 156 <option value="12_month_running_mean" selected="true">yearly</option> |
| 136 <option value="1_month">monthly</option> | 157 <option value="1_month_mean">monthly</option> |
| 137 </param> | 158 </param> |
| 138 </when> | 159 </when> |
| 139 </conditional> | 160 </conditional> |
| 140 <param name="month" type="select" multiple="true" label="Select month(s)"> | 161 <param name="month" type="select" multiple="true" label="Select month(s)"> |
| 141 <option value="01" selected="true">January</option> | 162 <option value="01" selected="true">January</option> |
| 203 and other known deficiencies. Data sources and adjustment methods used are described in the Product User | 224 and other known deficiencies. Data sources and adjustment methods used are described in the Product User |
| 204 Guide, as are various particulars such as the baseline periods used to calculate monthly climatologies and | 225 Guide, as are various particulars such as the baseline periods used to calculate monthly climatologies and |
| 205 the corresponding anomalies. | 226 the corresponding anomalies. |
| 206 | 227 |
| 207 | 228 |
| 208 - ECV Factsheets: https://gcos.wmo.int/en/essential-climate-variables/ecv-factsheets | 229 - ECV: https://gcos.wmo.int/en/essential-climate-variables |
| 209 - Copernicus Climate Data Store documentation on Essential Climate Variables: | 230 - Copernicus Climate Data Store documentation on Essential Climate Variables: |
| 210 https://cds.climate.copernicus.eu/cdsapp#!/dataset/ecv-for-climate-change?tab=overview | 231 https://cds.climate.copernicus.eu/cdsapp#!/dataset/ecv-for-climate-change?tab=overview |
| 211 | 232 |
| 212 See climatedata.wmo.int/ for more information on Essential Climate Variables. | 233 See climatedata.wmo.int/ for more information on Essential Climate Variables. |
| 213 | 234 |
| 227 ]]></help> | 248 ]]></help> |
| 228 <citations> | 249 <citations> |
| 229 <citation type="doi">10.1002/qj.828</citation> | 250 <citation type="doi">10.1002/qj.828</citation> |
| 230 <citation type="doi">10.1002/qj.2949</citation> | 251 <citation type="doi">10.1002/qj.2949</citation> |
| 231 </citations> | 252 </citations> |
| 253 <edam_topics> | |
| 254 <edam_topic>topic_3855</edam_topic> | |
| 255 <edam_topic>topic_3318</edam_topic> | |
| 256 </edam_topics> | |
| 257 <edam_operations> | |
| 258 <edam_operation>operation_2422</edam_operation> | |
| 259 <edam_operation>operation_3357</edam_operation> | |
| 260 <edam_operation>operation_0335</edam_operation> | |
| 261 </edam_operations> | |
| 232 </tool> | 262 </tool> |
