alliander-opensource / weather-provider-api

This API is intended to help you fetch weather data from different data sources in an efficient and uniform way. By just supplying a list of locations and a time window you can get data for a specific source immediately. This project is licensed under the MPL-2.0 license.
https://alliander-opensource.github.io/weather-provider-api/
Mozilla Public License 2.0
27 stars 6 forks source link

Bug: Issues with folder placement for new Harmonie AROME #129

Closed rflinnenbank closed 4 months ago

rflinnenbank commented 4 months ago

Describe the bug When updating the Harmonie Arome data (CY40 P1), there are changes made to the TAR file (due to a new handler for this data), which results in the following error: The downloaded data could not be properly downloaded: 'NoneType' object has no attribute 'variables'

To Reproduce Steps to reproduce the behavior:

  1. Run the Harmonie AROME update script
  2. Wait for the ERROR. (some older files will still work at times)

Expected behavior The update routine finishes without issue.

Additional context The expected reason for this notification is a shift in how the files in the TAR files are stored. A folder appears to be added to the files, causing the error to occur.

Thanks to: Rick the Rooij from Firan, for discovering this bug and developing (at least part) of the upcoming solution.