-
Notifications
You must be signed in to change notification settings - Fork 9
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
fix deprecation warnings in tests #340
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philippemiron
changed the title
fix deprecation warnings
fix "some" deprecation warnings
Dec 9, 2023
ds.sizes instead of ds.dims (pydata/xarray#921). |
It looks like the other warnings are from |
philippemiron
changed the title
fix "some" deprecation warnings
fix deprecation warnings
Dec 9, 2023
philippemiron
changed the title
fix deprecation warnings
fix deprecation warnings in tests
Dec 9, 2023
selipot
approved these changes
Dec 10, 2023
philippemiron
added a commit
to philippemiron/clouddrift
that referenced
this pull request
Dec 10, 2023
* fix deprecation warnings * remove complex warning * ds.sizes instead of ds.dims which will eventually return only tuple of dimensions * log zero in sphere * wrong exception --------- Co-authored-by: Philippe Miron <philippe.miron@dtn.com>
selipot
added a commit
that referenced
this pull request
Dec 16, 2023
* sofar dataset * add test * Subset by rows and pruning examples in docstring (#338) * Subset by rows * Add doctring example for pruning a dataset * Allow querying dimensions in subset * example edit --------- Co-authored-by: Shane Elipot <selipot@miami.edu> * Fix #226 (#339) Co-authored-by: Philippe Miron <philippe.miron@dtn.com> * fix deprecation warnings in tests (#340) * fix deprecation warnings * remove complex warning * ds.sizes instead of ds.dims which will eventually return only tuple of dimensions * log zero in sphere * wrong exception --------- Co-authored-by: Philippe Miron <philippe.miron@dtn.com> * Ellipse functions (#334) * ellipse functions * remove comment * lint * typo in tests * extra return carriage * Update clouddrift/signal.py Co-authored-by: Milan Curcic <caomaco@gmail.com> * better tests * corrected tests * version bump * new tests * errstate ignore --------- Co-authored-by: Milan Curcic <caomaco@gmail.com> * Update datasets.py * change name --------- Co-authored-by: Philippe Miron <philippe.miron@dtn.com> Co-authored-by: Milan Curcic <caomaco@gmail.com> Co-authored-by: Shane Elipot <selipot@miami.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Should fix #263 and I also removed the warnings that shows up if
beta=0
in:I couldn't see the deprecation warnings on my side, but I guess we want to have
m
as in integer, and not an array.I also went ahead and fix some other warnings.