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

NumPy deprecated #776

Open
nikita-moor opened this issue Mar 8, 2023 · 0 comments
Open

NumPy deprecated #776

nikita-moor opened this issue Mar 8, 2023 · 0 comments

Comments

@nikita-moor
Copy link

nikita-moor commented Mar 8, 2023

The data type np.float has been deprecated in NumPy v1.20.0.

This line of code should be fixed:

return ds_resamp.ReadAsArray().astype(np.float)

using the standard data type:

return ds_resamp.ReadAsArray().astype(float) 

P.S. Software versions:

  • trends.earth v2.1.14
  • QGIS v3.28.3
  • Manjaro Linux
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

No branches or pull requests

1 participant