Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a Universal Align to ping_time Function #1367

Closed
ctuguinay opened this issue Jul 25, 2024 · 0 comments · Fixed by #1369
Closed

Write a Universal Align to ping_time Function #1367

ctuguinay opened this issue Jul 25, 2024 · 0 comments · Fixed by #1369
Assignees
Milestone

Comments

@ctuguinay
Copy link
Collaborator

ctuguinay commented Jul 25, 2024

There are two functions in Echopype that align non-Echosounder data (Platform and Environment data) to Echosounder data time-wise: _var_time2_to_ping_time sel_interp, and harmonize_env_param_time. It would be good to have a standard function that does this time-wise alignment.

The function header can look something like this:
def align_to_ping_time(external_da: xr.DataArray, external_time_name: str, ping_time_da: xr.DataArray).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant