Support for DWD Composite HG product?

22 views
Skip to first unread message

Stefan Krusche

unread,
Mar 28, 2023, 10:22:15 AM3/28/23
to wradlib-users
Hi everybody,

first, I would like to thank you for sharing wradlib with us. It is a great library
that really facilitates working with DWD radar datasets.

My question refers to Composite HG products:

Loading HG* files with method 'read_radolan_composite' seems to skip 
precipitation classes 'Graupel' and 'Hagel', which refer to values 4096 and
8192 in the dataset. The same is true for 'no precipitation' which is 16777216.

When looking into the source code, internal method '_process_data' shifts the
values by adding 0xFFF (line 1135), which seems to be the root cause for my
observation.

Did I miss something? Please point me into the right direction.

Thank you very much, Stefan

Kai Mühlbauer

unread,
Mar 28, 2023, 10:30:51 AM3/28/23
to Stefan Krusche, wradlib-users
Hi Stefan,

can you share your wradlib version?

Good chance that you spotted a bug/inconsistency. Is HG product one of the new Polara-based products?

Anyway I'll have a look at it. Another question, do you depend on the `read_radolan_composite`-function or would you also consider the new xarray backend?

One final remark, this mailing list will be closed later this year. We've joined forces in the Openradar community:

https://openradar.discourse.group/

Please consider joining there.

Best,
Kai
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Reply all
Reply to author
Forward
0 new messages