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

Address SciPy interp2d deprecation #615

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

kafitzgerald
Copy link
Collaborator

@kafitzgerald kafitzgerald commented Oct 9, 2024

Addresses the SciPy interp2d deprecation by using xarray's interp method instead.

Closes #607

This doesn't address the bigger issues I stumbled upon in looking into this of matplotlib's streamlines requiring input data on a regular grid (this should probably be addressed as an upstream contribution) and that these (streamlines vs NCL curly vectors) are different ways of representing data. While they look similar, they aren't showing information in the same ways and that should probably be documented. The reference vector is also incorrect. I'll log this as an issue.

@kafitzgerald kafitzgerald requested a review from jukent October 9, 2024 23:27
Copy link
Collaborator

@jukent jukent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the deprecation. We have a mountain of vector issues ahead of us.

@kafitzgerald
Copy link
Collaborator Author

Thanks for fixing the deprecation. We have a mountain of vector issues ahead of us.

Indeed 😞

@kafitzgerald kafitzgerald merged commit 995a0bf into NCAR:main Oct 9, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated SciPy functionality
2 participants