diff --git a/tools/c3s/c3s.xml b/tools/c3s/c3s.xml index 22a07f9..6fb0dc2 100644 --- a/tools/c3s/c3s.xml +++ b/tools/c3s/c3s.xml @@ -1,5 +1,14 @@ - + for retrieving climate data + + topic_3855 + topic_3318 + + + operation_2422 + operation_3357 + operation_0335 + python cdsapi @@ -11,18 +20,18 @@ export HOME=`pwd` && #set $c3s_cds_apikey = $__user__.extra_preferences.get('c3s_account|c3s_cds_apikey', "") #if $c3s_cds_apikey == "" - echo "Error. Set your credentials via: User -> Preferences -> Manage Information" && + echo "Error. Set your credentials via: User -> Preferences -> Manage Information" && #else cp '$cds_key_file' .cdsapirc && #end if #if str($is_file.has_req).strip() == 'yes' python3 '$__tool_directory__/c3s_retrieve.py' - --request '$is_file.api_req_file' --output request.txt && + --request '$is_file.api_req_file' --output request.txt && #else python3 '$__tool_directory__/c3s_retrieve.py' - --request $req_from_paste --output request.txt && + --request $req_from_paste --output request.txt && #end if - bash $__tool_directory__/c3s.sh && + bash $__tool_directory__/c3s.sh && echo "C3S data retrieval is done" ]]> @@ -52,8 +61,8 @@ $is_file.api_req_text - - + + @@ -78,27 +87,22 @@ $is_file.api_req_text - - topic_3855 - topic_3318 - - - operation_2422 - operation_3357 - operation_0335 - `_. - Set your CDS API Key via: User -> Preferences -> Manage Information" - Documentation on where to get the CDS API key can be found `here `_. - Compose your request directly on C3S and extract the relevant information, which should be put in the input field "Request" or saved in a file. The format should be, for example:: + + import cdsapi + c = cdsapi.Client() c.retrieve( 'reanalysis-era5-single-levels-monthly-means', @@ -112,7 +116,10 @@ This tool is a wrapper to retrieve data from the Copernicus Climate Data Store. 'area': [60, 10, 59.5, 10.5], }, 'download.nc') + + - Be aware that for being able to download dataset from C3S, users also need to agree to licensing terms for each dataset of interest on the C3S website. + License: ~~~~~~~~