dwd-weather
dwd-weather copied to clipboard
issue regarding "dwdweather weather 2667 2014060122"
the following command: "dwdweather weather 2667 2014060122" is giving errors. I tried out different combinations of stations and dates/hours, but still the same set of errors.
Dear Mayutan,
we are currently renovating this fine piece of software over at [1]. So, after installing the updated version through
pip install dwdweather2
you should be able to run
dwdweather weather 2667 2014-06-01T22
flawlessly. At least we can confirm it works on our machine. Please note the slightly updated datetime format here.
With kind regards, Andreas.
[1] https://github.com/hiveeyes/dwdweather2
Example
$ dwdweather weather 2667 2014-06-01T22
2019-06-03 03:57:44,403 [dwdweather.client ] INFO : Acquiring dataset for resolution "hourly" from "https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly"
2019-06-03 03:57:44,406 [dwdweather.commands ] INFO : Querying data for station "2667" and categories "None" at "2014-06-01 22:00:00"
{
"airtemp_humidity": 82.0,
"airtemp_quality_level": 3,
"airtemp_temperature": 10.4,
"cloudiness_quality_level": 3,
"cloudiness_source": "P",
"cloudiness_total_cover": 1,
"datetime": 2014060122,
"precipitation_fallen": 0,
"precipitation_form": 0,
"precipitation_height": 0.0,
"precipitation_quality_level": 3,
"pressure_normalized": 1020.0,
"pressure_quality_level": 3,
"pressure_station": 1007.9,
"soiltemp_quality_level": 3,
"soiltemp_temperature_002": null,
"soiltemp_temperature_005": 17.1,
"soiltemp_temperature_010": 19.3,
"soiltemp_temperature_020": 20.3,
"soiltemp_temperature_050": 17.2,
"soiltemp_temperature_100": 15.0,
"solar_atmosphere": null,
"solar_duration": null,
"solar_end_of_interval": null,
"solar_global": null,
"solar_quality_level": null,
"solar_sky": null,
"solar_zenith": null,
"station_id": 2667,
"sun_duration": null,
"sun_quality_level": null,
"visibility_quality_level": 3,
"visibility_source": "P",
"visibility_value": 35000,
"wind_direction": 90,
"wind_quality_level": 10,
"wind_speed": 1.8
}