Documentation

Download datasets

Once you find a suitable dataset you can download it for training your models.

CLI

You can download a dataset with following CLI command:

eotdl datasets get "dataset name"

Your datasets will be downloaded to a default folder, but you can specify a different folder with the --path option or the EOTDL_DOWNLOAD_PATH environment variable. For example, to download the dataset to the current directory:

eotdl datasets get "dataset name" --path .

In order to overwrite a dataset that you already downloaded, you can use the --force option.

eotdl datasets get "dataset name" --force

If you know the specific version of the dataset to download, use the --version option.

eotdl datasets get "dataset name" --version 1

Library

You can download datasets using the following Python code:

from eotdl.datasets import download_dataset

download_dataset("dataset-name")

And use the same options seen before.

download_dataset("dataset-name", force=True, path="data", version=1)

EOTDL is carried out under a programme of, and funded by the European Space Agency (ESA).

Disclaimer: The views expressed on this site shall not be construed to reflect the official opinion of ESA.

Contact Us

Contact

Follow Us