OSOceanAcoustics / echoregions

Interfacing water column sonar data with annotations and labels
https://echoregions.readthedocs.io/
Apache License 2.0
6 stars 6 forks source link

Allow `Regions2D` to be initialized with a CSV file #130

Closed leewujung closed 9 months ago

leewujung commented 11 months ago

Currently Regions2D objects are initialized with an EVR file. It would be useful to also allow a CSV as the input file, for the use case where we are moving things back and forth between concatenated dataframes and EVR and masks.

This should be fairly straightforward, but it'll take a bit of work to make sure the dataframe format is in good order by checking all required columns exist.

ctuguinay commented 9 months ago

Closed by #148