openclimatedata / national-inventory-submisions

Downloader for UNFCCC National Inventory Submissions
7 stars 3 forks source link

Multiple links #1

Closed JGuetschow closed 5 years ago

JGuetschow commented 5 years ago

I just tried the downloader and got the following error message:

Russian Federation NIR 2018 https://unfccc.int/documents/65719 https://unfccc.int/sites/default/files/resource/rus-2018-nir-14apr18.zip Traceback (most recent call last): File "scripts/process.py", line 87, in raise ValueError("More than one link found. Please update script" ValueError: More than one link found. Please update script to handle multiple links. Makefile:2: recipe for target 'data-2018' failed make: *** [data-2018] Error 1

The error message suggests that it's known that this might occur at some point and needs development?

rgieseke commented 5 years ago

I'll have a look, thanks for the report.

rgieseke commented 5 years ago

Pushed a workaround https://github.com/openclimatedata/national-inventory-submisions/commit/15eb48817aae6002056b4a871f5cb37ab41940d0

The note should not download anyway (not matching CRF, NIR ...).

Please re-open if this causes trouble elsewhere.