panodata / dwdweather2

Python client to access weather data from Deutscher Wetterdienst (DWD), the federal meteorological service in Germany.
https://community.panodata.org/t/dwdweather2-a-python-client-to-access-weather-data-from-deutscher-wetterdienst-dwd/98
MIT License
72 stars 13 forks source link

Daily Data #24

Closed nickikaempf closed 4 years ago

nickikaempf commented 4 years ago

Hi,

I am currently working with the dwdweather2 package and everything is working just fine. Thanks for the nice package!

What I want to get as a result is daily data from different stations. Until now, the package only supports hourly and 10-minutes resolution. Is it possible to add the daily data functionality to the package? Then I don't need to aggregate the data and that would save me a lot of time.

The data is already available in CDC.

Many thanks in advance.

antjefitzner commented 4 years ago

Would be interested in this feature as well!

amotl commented 4 years ago

Dear @nickikaempf and @antjefitzner,

the most recent version of dwdweather2 now supports data acquisition from the daily resolution data set. I will be happy to hear about any outcome from you.

Happy hacking and with kind regards, Andreas.


Example

dwdweather weather 44 2020-06-01 --resolution daily
{
    "cloud_cover": null,
    "daily_quality_level_3": null,
    "daily_quality_level_4": 1,
    "datetime": 20200601,
    "humidity": 47.92,
    "precipitation_form": 0,
    "precipitation_height": 0.0,
    "pressure": null,
    "snow_depth": null,
    "soil_temperature_002": null,
    "soil_temperature_005": 21.7,
    "soil_temperature_010": 20.6,
    "soil_temperature_020": 19.0,
    "soil_temperature_050": 16.3,
    "soil_temperature_quality_level": 1,
    "solar_atmosphere": null,
    "solar_dhi": null,
    "solar_ghi": null,
    "solar_quality_level": null,
    "solar_sunshine": null,
    "station_id": 44,
    "sunshine_duration": 13.933,
    "temperature": 18.0,
    "temperature_max_200": 25.4,
    "temperature_min_005": 3.3,
    "temperature_min_200": 8.7,
    "vapor_pressure": 9.6,
    "wind_gust_max": null,
    "wind_velocity_mean": null
}
antjefitzner commented 4 years ago

Hi Andreas,

yes, it works :) Thanks a lot!

Cheers, Antje

amotl commented 4 years ago

Hi Antje,

thanks for letting me know.

Cheers, Andreas.