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

Bump to numpy 2 #3606

Merged
merged 5 commits into from
Aug 22, 2024
Merged

Bump to numpy 2 #3606

merged 5 commits into from
Aug 22, 2024

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented Aug 22, 2024

Description Of Changes

As it says above.

  • One last commit to clean up a problem with DataArray "scalars" not working with linspace (done by cartopy for imshow).
  • Fix meteogram_metpy.py for numpy 2--no longer need manual decode() call
  • Tweak image threshold ever so slightly (0.031->0.033) due to some small change with numpy2
  • Adjust example expected text output for numpy 2 (include np.int64()).

Add some item() calls to get true scalars to pass for image extent in
declarative.
@dopplershift dopplershift added the Type: Maintenance Updates and clean ups (but not wrong) label Aug 22, 2024
@dopplershift dopplershift added this to the 1.6.3 milestone Aug 22, 2024
@dopplershift dopplershift requested review from kgoebber and a team as code owners August 22, 2024 21:05
@dopplershift dopplershift requested review from dcamron and removed request for a team August 22, 2024 21:05
No longer need the decode() call.
Not sure why this triggered, but it's too small a bump to worry about.
@dcamron dcamron merged commit d00544a into Unidata:main Aug 22, 2024
35 checks passed
@dopplershift dopplershift deleted the bump-numpy2 branch August 22, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants