EOTDL is now available in STAC Browser! Explore datasets and models with a user-friendly catalog interface.
Stage models
In the same way, staging models is similar to staging datasets.
CLI
You can stage a model with following CLI command:
eotdl models get "model-name" Your models will be staged 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 stage the model to the current directory:
eotdl models get "model-name" --path . In order to overwrite a model that you already staged, you can use the --force option.
eotdl models get "model-name" --force If you know the specific version of the model to stage, use the --version option.
eotdl models get "model-name" --version 1 By default, only the model metadata is staged. In order to stage the assets as well, use the --assets option.
eotdl models get "model-name" --assets Library
You can stage 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, assets=True)