Skip to content

usage of numpy.asarray#145

Merged
gbolzon merged 1 commit into
masterfrom
warning-message-in-dump_index.py
May 5, 2026
Merged

usage of numpy.asarray#145
gbolzon merged 1 commit into
masterfrom
warning-message-in-dump_index.py

Conversation

@maverick-7487
Copy link
Copy Markdown
Collaborator

@maverick-7487 maverick-7487 commented May 5, 2026

removes a Deprecation Warning message from np.array

DeprecationWarning: __array__ implementation doesn't accept a copy keyword, so passing copy=False failed. __array__ must implement 'dtype' and 'copy' keyword arguments. To learn more, see the migration guide https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
  ref  = np.array(ncIN.variables['REFERENCE_DATE_TIME']).tobytes().decode()

@gbolzon gbolzon merged commit 9a0d9fb into master May 5, 2026
3 checks passed
@gbolzon gbolzon deleted the warning-message-in-dump_index.py branch May 5, 2026 13:50
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.

2 participants