SMByC / ArrNorm-Qgis-processing

It is a Qgis processing plugin for apply the radiometric normalization to the target image based on reference image using the IR-MAD algorithm to locate invariant/variant pixels for a relative radiometric normalization
GNU General Public License v3.0
2 stars 0 forks source link

Error arrnorm.py", line 49 #3

Closed BoonlueKac closed 4 months ago

BoonlueKac commented 4 months ago

We got this massage

Traceback (most recent call last): File "C:\Users/Windows 10/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ArrNorm\ArrNorm_algorithm.py", line 196, in processAlgorithm arrnorm = Normalization( File "C:\Users/Windows 10/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ArrNorm\core\arrnorm.py", line 49, in init ref_dtype = gdal.Open(self.img_ref, GA_ReadOnly).GetRasterBand(1).DataType TypeError: in method 'Band_DataType_get', argument 1 of type 'GDALRasterBandShadow *

Do you have any suggestion ?

XavierCLL commented 4 months ago

Hi @BoonlueKac

That issue seems a problem with the reference data, most specifically the data type in the band 1 or the format, is it a tif image? check the data first.

BoonlueKac commented 4 months ago

I moved to use in Anaconda. It was successful and worked well. Thank you so much.

BoonlueKac commented 4 months ago

test_pip

XavierCLL commented 4 months ago

@BoonlueKac glad to hear that! I'm closing this issue for now.