Documentation

Download models

In the same way, downloading models is similar to downloading datasets.

CLI

You can download a model with following CLI command:

eotdl models get "model-name"

Your models 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 model to the current directory:

eotdl models get "model-name" --path .

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

eotdl models get "model-name" --force

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

eotdl models get "model-name" --version 1

Library

You can download models using the following Python code:

from eotdl.models import download_model

download_model("model-name")

And use the same options seen before.

download_model("model-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