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

GDAL Raster Calculator Invalid Value Error in Erosion Analysis #61

Closed
ar-siddiqui opened this issue Feb 16, 2022 · 1 comment
Closed
Labels
bug Something isn't working erosion-analysis

Comments

@ar-siddiqui
Copy link
Collaborator

The following error is being reported:

C:\OSGeo4W\apps\Python39\lib\site-packages\GDAL-3.4.0-py3.9-win-amd64.egg\osgeo_utils\gdal_calc.py:518: RuntimeWarning: invalid value encountered in multiply 
myResult = ((1 * (myNDVs == 0)) * myResult) + (myOutNDV * myNDVs)

This might be related to #39

@ar-siddiqui
Copy link
Collaborator Author

Closing, since the root cause is probably the same as #39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working erosion-analysis
Projects
None yet
Development

No branches or pull requests

1 participant