Skip to content

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

Description

@BENR0

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions