ecmwf / pdbufr

High-level BUFR interface for ecCodes
Apache License 2.0
23 stars 8 forks source link

Do not fail when key value is not available in BUFR message #47 #46 #48

Closed sandorkertesz closed 1 year ago

sandorkertesz commented 1 year ago

Fixes #46 and #47

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 85.71% and project coverage change: -0.24 :warning:

Comparison is base (e7e9ca3) 95.58% compared to head (7f17ace) 95.35%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #48 +/- ## ========================================== - Coverage 95.58% 95.35% -0.24% ========================================== Files 15 15 Lines 1519 1551 +32 Branches 207 209 +2 ========================================== + Hits 1452 1479 +27 - Misses 51 55 +4 - Partials 16 17 +1 ``` | [Impacted Files](https://codecov.io/gh/ecmwf/pdbufr/pull/48?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf) | Coverage Δ | | |---|---|---| | [pdbufr/bufr\_structure.py](https://codecov.io/gh/ecmwf/pdbufr/pull/48?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf#diff-cGRidWZyL2J1ZnJfc3RydWN0dXJlLnB5) | `94.28% <58.33%> (-0.97%)` | :arrow_down: | | [tests/test\_40\_sample\_data.py](https://codecov.io/gh/ecmwf/pdbufr/pull/48?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf#diff-dGVzdHMvdGVzdF80MF9zYW1wbGVfZGF0YS5weQ==) | `98.87% <94.44%> (-0.33%)` | :arrow_down: | | [pdbufr/high\_level\_bufr/codesmessage.py](https://codecov.io/gh/ecmwf/pdbufr/pull/48?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf#diff-cGRidWZyL2hpZ2hfbGV2ZWxfYnVmci9jb2Rlc21lc3NhZ2UucHk=) | `62.16% <100.00%> (+4.58%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.