Open rcavaliere opened 1 month ago
@dulvui today I got the information that the Data Provider (APPABZ) has fixed an issue, now the data should be available always as UTC+1. Can you please check?
@rcavaliere For opendata I simplified now the timestamp conversion and it should be correct now. The sync triggers every morning at 10, so lets see tomorrow if the issues are solved.
There is still missing data for some days. I will setup now some logging to understand better if we loose the data or if the API doesn't update the data
@rcavaliere I just saw now that there might be a problem with the data provider, since the values for Egna are -1, and in that case values are not valid and get ignored by the data collector. Here the url for the station at Egna http://dati.retecivica.bz.it/services/airquality/timeseries?station_code=ML5
Here an example response with -1 value, since this will change if called on another day.
[{"DATE":"2024-06-23T12:00:00+01:00","SCODE":"ML5","MCODE":"CO","TYPE":"1","VALUE":-1},{"DATE":"2024-06-23T12:00:00+01:00","SCODE":"ML5","MCODE":"NO2","TYPE":"1","VALUE":-1}]
I added now specific logging for the case that the value is -1, so I can see for which stations/data types this happens
The BrennerLEC partners have noticed that specifically on the ML5 air quality stations of the Province ("A22 Egna - A22, corsia sud km 103") we have frequent data holes, which should not appear.
Check for example: link
Generally, the open data (period = 3600) the data seem to have timestamp UTC + 2, while it should UTC +1.
Affected Data Collectors to check: https://github.com/noi-techpark/bdp-commons/tree/main/data-collectors/environment-appa-bz-tenminutes https://github.com/noi-techpark/bdp-commons/tree/main/data-collectors/environment-appa-bz-opendata