Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using categories on daily data #27

Closed
BenjaminMews opened this issue Jun 5, 2020 · 2 comments
Closed

Problem using categories on daily data #27

BenjaminMews opened this issue Jun 5, 2020 · 2 comments

Comments

@BenjaminMews
Copy link

If I try to restrict the categories in library usage (daily resolution), no precipitation is found for any station. Without the restriction to category_names I can derive "precipitation_height" from results. Is that wanted behaviour or a bug?

@amotl
Copy link
Member

amotl commented Jun 5, 2020

Dear Benjamin,

thanks for writing in. There's an anomaly in categories correlating to resolutions. While the precipitation category will work on hourly and 10_minutes resolutions, the appropriate category will be daily_observations for the daily resolution.

The background on this is that the baseline data of the daily resolution data set [1] is coming from the kl folder. Currently, we are ingesting data from the kl, soil_temperature and solar folders within [1], see also [2]. We haven't touched the more_precip, water_equiv and weather_phenomena folders yet.

I've actually expected people to run into this issue but haven't had the chance to document this appropriately yet. Sorry for that!

With kind regards,
Andreas.

[1] https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/
[2] https://github.com/panodata/dwdweather2/blob/0.13.0/dwdweather/knowledge.py#L58-L243


Example

dwdweather weather 44 2020-06-04 --resolution daily --categories daily_observations --reset-cache
"precipitation_form": 4,
"precipitation_height": 8.8,

@amotl amotl changed the title daily data - category_names Problem using categories on daily data Jun 5, 2020
@amotl
Copy link
Member

amotl commented Jul 5, 2020

Dear @BenjaminMews,

Wetterdienst will be the designated successor library for dwdweather2. You might be interested to switch over.

Further, I am deliberately closing this issue. Feel free to reopen anytime.

With kind regards,
Andreas.

cc @gutzbenj


wetterdienst readings --resolution=daily --parameter=kl --period=recent --station=44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants