openego / eGon-data

GNU Affero General Public License v3.0
10 stars 4 forks source link

Wrong data source for heavy duty transport #1086

Closed khelfen closed 1 year ago

khelfen commented 1 year ago

There seems to have been a name change of a file downloaded. The shape file has been renamed from 250_NUTS1.shp to NUTS250_N1.shp, which leads to the task failing:

fiona.errors.DriverError: /storage/eGon-data-sh-kh/workingdir/heavy_duty_transport/nuts250_12-31_utm32s_shape/nuts250_12-31.utm32s.shape/nuts250_1231/250_NUTS1.shp: No such file or directory

This made me realise that I should change the data source for heavy duty transport to take the NUTS 1 regions from the DB and not download it again. This download was necessary as this part of the code was written to work as a standalone tool but the integration in eGon-data should be changed accordingly.