From conversation between @leewujung @LOCEANlloydizard and some of the NOAA NWFSC folks -
It would be pretty helpful to have a function to match oceanographic profile data (e.g., from floats, CTDs, oceanographic models etc.,) to calibrated echo data products (i.e., Sv raw resolution, Sv interpolated, MVBS). The user should provide a dataset with (time, depth) or (latitude, longitude, depth) dimensions, and these should be enforced.
In the case when time exists in profile data: Nearest-neighbor match calibrated echo data ping_time.
In the case when latitude and longitude exists in profile data: Match based on calibrated echo data latitude and longitude. This is potentially similar to what is done in this function by @eliascapriles-NOAA - https://github.com/nmfs-ost/AA-SI_Oceanography/blob/0787d0ed3af5217bb59722d88332779a24461ecf/src/aaoceanography/utils/geo_location.py#L63.
From conversation between @leewujung @LOCEANlloydizard and some of the NOAA NWFSC folks -
It would be pretty helpful to have a function to match oceanographic profile data (e.g., from floats, CTDs, oceanographic models etc.,) to calibrated echo data products (i.e., Sv raw resolution, Sv interpolated, MVBS). The user should provide a dataset with (
time,depth) or (latitude,longitude,depth) dimensions, and these should be enforced.In the case when
timeexists in profile data: Nearest-neighbor match calibrated echo dataping_time.In the case when
latitudeandlongitudeexists in profile data: Match based on calibrated echo datalatitudeandlongitude. This is potentially similar to what is done in this function by @eliascapriles-NOAA - https://github.com/nmfs-ost/AA-SI_Oceanography/blob/0787d0ed3af5217bb59722d88332779a24461ecf/src/aaoceanography/utils/geo_location.py#L63.