ecmwf / pdbufr

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

Allow using message list as an input #61

Closed sandorkertesz closed 1 year ago

sandorkertesz commented 1 year ago

This PR allows using a message list object as an input (previously only a file path input was possible). With this, e.g. it will be possible to pass an earthkit-data BUFR object to read_bufr.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 98.46% and project coverage change: +0.14 :tada:

Comparison is base (54569a8) 94.79% compared to head (995157d) 94.94%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #61 +/- ## ========================================== + Coverage 94.79% 94.94% +0.14% ========================================== Files 15 16 +1 Lines 1652 1700 +48 Branches 209 210 +1 ========================================== + Hits 1566 1614 +48 Misses 66 66 Partials 20 20 ``` | [Impacted Files](https://app.codecov.io/gh/ecmwf/pdbufr/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf) | Coverage Δ | | |---|---|---| | [pdbufr/bufr\_read.py](https://app.codecov.io/gh/ecmwf/pdbufr/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf#diff-cGRidWZyL2J1ZnJfcmVhZC5weQ==) | `96.29% <95.23%> (+0.64%)` | :arrow_up: | | [tests/test\_70\_message\_list.py](https://app.codecov.io/gh/ecmwf/pdbufr/pull/61?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ecmwf#diff-dGVzdHMvdGVzdF83MF9tZXNzYWdlX2xpc3QucHk=) | `100.00% <100.00%> (ø)` | |

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

iainrussell commented 1 year ago

Thank you Sandor!