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

prune fails when input is datetime #184

Closed
selipot opened this issue May 30, 2023 · 1 comment · Fixed by #185
Closed

prune fails when input is datetime #184

selipot opened this issue May 30, 2023 · 1 comment · Fixed by #185
Assignees
Labels
archive-label-analysis-functions Oceanographic Lagrangian analysis functions bug Something isn't working

Comments

@selipot
Copy link
Member

selipot commented May 30, 2023

clouddrift.analysis.prune returns an error if the input is a datetime object and rowsize an ndarray. Concatenation of the outputs seems the issue. See example in screenshot where ds is a xarray.DataArray for which the decode_times=True is used for opening.

Screenshot 2023-05-30 at 5 08 22 PM
@selipot selipot added bug Something isn't working archive-label-analysis-functions Oceanographic Lagrangian analysis functions labels May 30, 2023
@selipot
Copy link
Member Author

selipot commented May 30, 2023

Screenshot 2023-05-30 at 5 39 25 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archive-label-analysis-functions Oceanographic Lagrangian analysis functions bug Something isn't working
Development

Successfully merging a pull request may close this issue.

3 participants