OSOceanAcoustics / echopype

Enabling interoperability and scalability in ocean sonar data analysis
https://echopype.readthedocs.io/
Apache License 2.0
99 stars 73 forks source link

Auto-assign first `ping_time` as `Platform` timestamp for fixed-location `update_platform` use case #1126

Closed emiliom closed 1 year ago

emiliom commented 1 year ago

Currently when users enter fixed-location lat-lon information using update_platform, they also have to pass a timestamp for that location. We favor using the the first ping_time, but the decision is left to the user. Let's enhance update_platform for the fixed-location (single point) use case such that when only lat & lon are passed (w/o a timestamp), the first ping_time value from Sonar/Beam_group1 will be used.

Original discussion in https://github.com/OSOceanAcoustics/echopype/issues/740#issuecomment-1170130619