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

Handling of empty groups in groupdict (optional groups) to default value #3

Open
BENR0 opened this issue Jul 25, 2021 · 0 comments
Open

Comments

@BENR0
Copy link
Owner

BENR0 commented Jul 25, 2021

The section pattern matching groupdict contains all groups even if they are not in the report (for example optional groups). In that case the group contains an empty value. This should be decoded to a default value to make it easier to convert reports to dataframes. Currently empty groups are skipped because sometimes they will overwrite previous decoded values (e.g. Wind speed from Nddff will be overwritten from optional group 00fff).

if gname not in ghandlers:

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

1 participant