Closed Grozic-D closed 1 year ago
Thanks for letting us know. It seems there is a deprecation issue when using newer versions of numpy. We are working on an update which will be released in the next couple of days.
While waiting for the release please try using an older version of QGIS. For example, the function works fine on QGIS 3.22.15, which is using the numpy version 1.20.2
The error has been fixed and we have released the update for the plugin (now version 0.9.5).
@Grozic-D Please upgrade your plugin to the latest version.
I am closing the issue, but please let us know if the error persists.
Many thanks, Nejc
Great news,
thank you.
Dino
On Tue, 23 May 2023 at 10:15, Nejc Čož @.***> wrote:
Closed #19 https://github.com/EarthObservation/rvt-qgis/issues/19 as completed.
— Reply to this email directly, view it on GitHub https://github.com/EarthObservation/rvt-qgis/issues/19#event-9312628791, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASP6ADVKTVDU2EMTCD3HSCLXHRWZFANCNFSM6AAAAAAX6FCIWQ . You are receiving this because you were mentioned.Message ID: @.***>
Traceback (most recent call last): File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\processing_provider\rvt_slrm.py", line 148, in processAlgorithm visualization_arr = rvt.vis.slrm(dem=dem_arr, radius_cell=radius, ve_factor=ve_factor, no_data=no_data) File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\vis.py", line 443, in slrm dem_mean_filter = mean_filter(dem=dem, kernel_radius=radius_cell) File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rvt-qgis\rvt\vis.py", line 383, in mean_filter dem_i_nr_pixels = integral_image(dem_i_nr_pixels, np.int) File "C:\OSGeo4W\apps\Python39\lib\site-packages\numpy__init.py", line 284, in getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'int'