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/
208 stars 167 forks source link

Improve flexibility of WDPA data download #941

Closed ekatef closed 6 months ago

ekatef commented 6 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 6 months ago

Closed as completed with #945