dwd-weather icon indicating copy to clipboard operation
dwd-weather copied to clipboard

issue regarding "dwdweather weather 2667 2014060122"

Open marumai opened this issue 6 years ago • 2 comments

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.

marumai avatar Aug 11 '18 05:08 marumai

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

amotl avatar Jun 03 '19 01:06 amotl

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
}

amotl avatar Jun 03 '19 01:06 amotl