Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleCDS API Installation

Instructions about the installation and set up of the CDS API can be found in How to use the CDS API.

A user will indicate the data they wish to download by using the radio buttons on the 'Data Download' tab of their chosen dataset on the CDS. After a selection is made on the form, to generate the API request click the 'Show API request' button. This will show the python code to be used to download the data of the bottom of the form.

Image Added

Info
titleHow to run the scripts:

You should copy the content of the script into a python file (ex: retrieve_<dataset>.py) and then launch it from a terminal:

Code Block
languagebash
themeRDark
user@host:
Info
titleHow to run the scripts:

You should copy the content of the script into a python file (ex: retrieve_<dataset>.py) and then launch it from a terminal:

Code Block
languagebash
themeRDark
user@host:~$ python retrieve_<dataset>.py


...

Table of Contents

API script examples:

A user will indicate the data they wish to download by using the radio buttons on the 'Data Download' tab of their chosen dataset on the CDS. After a selection is made on the form, to generate the API request click the 'Show API request' button. This will show the python code to be used to download the data of the bottom of the form.

...

The following are some examples of API scripts to download the various CEMS-Floods datasets from the CDS.

...