pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
232 stars 190 forks source link

Improve flexibility of WDPA data download #941

Closed ekatef closed 10 months ago

ekatef commented 10 months ago

Describe the feature you'd like to see

WDPA data have been loaded to the server ahead of schedule. Currently, the available file corresponds to January. That means that an attempt to load it automatically with retrieve_data_bundle would fail. The solution is to load data manually, using this link: https://d1gam3xoknrgr2.cloudfront.net/current/WDPA_Jan2024_Public.zip`

Thanks a lot @euronion for providing the correct link and @mbongaerts for reporting this issue.

A more stable solution may be to check not only the current month, but also a previous and a consecutive one.

ekatef commented 10 months ago

Closed as completed with #945