dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
400 stars 131 forks source link

Implement generic readers for HDF5 #731

Closed cpbrophy closed 1 year ago

cpbrophy commented 1 year ago

Borrowed from the generic CSV readers to support HDF5 files, adding the option to reduce the resolution of time fields while reading data in.

codecov[bot] commented 1 year ago

Codecov Report

Base: 94.79% // Head: 94.85% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (d406d8e) compared to base (8e2bb62). Patch coverage: 98.82% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #731 +/- ## ========================================== + Coverage 94.79% 94.85% +0.05% ========================================== Files 168 169 +1 Lines 8190 8275 +85 Branches 1560 1581 +21 ========================================== + Hits 7764 7849 +85 + Misses 317 316 -1 - Partials 109 110 +1 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `69.02% <35.29%> (-0.37%)` | :arrow_down: | | unittests | `92.65% <98.82%> (+0.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/dstl/Stone-Soup/pull/731?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl) | Coverage Δ | | |---|---|---| | [stonesoup/reader/hdf5.py](https://codecov.io/gh/dstl/Stone-Soup/pull/731/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3JlYWRlci9oZGY1LnB5) | `98.82% <98.82%> (ø)` | | | [stonesoup/reader/file.py](https://codecov.io/gh/dstl/Stone-Soup/pull/731/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dstl#diff-c3RvbmVzb3VwL3JlYWRlci9maWxlLnB5) | `93.75% <0.00%> (+6.25%)` | :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=dstl). 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=dstl)

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