You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
the MatchTwoRasters code gives an error in line 46.
To Reproduce
Steps to reproduce the behaviour:
Go to MatchTwoRasters.py code
run the code line by line of the whole code at one
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots File "<ipython-input-5-dc2eb691f1ba>", line 1, in <cell line: 1> NewRasterB_ND = Raster.cropAlligned(src, NewRasterB) File "C:\MyComputer\01Algorithms\gis\pyramids\pyramids\raster.py", line 1100, in cropAlligned src_array = Raster.nearestNeighbour(src_array, mask_noval, rows, cols) File "C:\MyComputer\01Algorithms\gis\pyramids\pyramids\raster.py", line 1777, in nearestNeighbour if array[rows[i], cols[i] + 1] != nodatavalue and cols[i] + 1 <= no_cols: IndexError: index 93 is out of bounds for axis 1 with size 93
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
the MatchTwoRasters code gives an error in line 46.
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
File "<ipython-input-5-dc2eb691f1ba>", line 1, in <cell line: 1> NewRasterB_ND = Raster.cropAlligned(src, NewRasterB) File "C:\MyComputer\01Algorithms\gis\pyramids\pyramids\raster.py", line 1100, in cropAlligned src_array = Raster.nearestNeighbour(src_array, mask_noval, rows, cols) File "C:\MyComputer\01Algorithms\gis\pyramids\pyramids\raster.py", line 1777, in nearestNeighbour if array[rows[i], cols[i] + 1] != nodatavalue and cols[i] + 1 <= no_cols: IndexError: index 93 is out of bounds for axis 1 with size 93
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: