earthpulse / eotdl

Earth Observation Training Datasets
https://eotdl.com
MIT License
17 stars 6 forks source link

FR load defaults from .env file #130

Closed robmarkcole closed 8 months ago

robmarkcole commented 8 months ago

It would be nice to use a .env file and avoid passing path="data" every time. Recommend https://pypi.org/project/python-dotenv/

robmarkcole commented 8 months ago

OK I see the default is .cache - the env var could be used to set this to another location

juansensio commented 8 months ago

You can set the EOTDL_DOWNLOAD_PATH to provide a default download path https://www.eotdl.com/docs/datasets/download

If this is not enough we can explore how to set it with a .env file as well.