DASDAE / dascore

A python library for distributed fiber optic sensing
Other
72 stars 16 forks source link

Improved data import and export #315

Closed d-chambers closed 9 months ago

d-chambers commented 9 months ago

Description

This PR improves how data are imported/exported to data structures used by other libraries and adds a recipe for how to do this.

Also added the obspy conversions functions, and an xarray importer.

Checklist

I have (if applicable):

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (602c271) 99.49% compared to head (fa8076b) 99.49%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #315 +/- ## ======================================= Coverage 99.49% 99.49% ======================================= Files 88 88 Lines 6885 6949 +64 ======================================= + Hits 6850 6914 +64 Misses 35 35 ``` | [Flag](https://app.codecov.io/gh/DASDAE/dascore/pull/315/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/DASDAE/dascore/pull/315/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DASDAE) | `99.49% <100.00%> (+<0.01%)` | :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=DASDAE#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.