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
The enmapbox/apps/lmuvegetationapps/Processor/Processor_Inversion_GUI.py expects that basic file like the number of lines, samples and bands is defined in the ENVI metadata domain. While this might be the case for ENVI images, it is not for the often used GeoTIFFs.
metadict=dataset.metadataDict()
nrows=int(metadict['ENVI']['lines'])
ncols=int(metadict['ENVI']['samples'])
nbands=int(metadict['ENVI']['bands'])
try: # try and get no data value and convert it to integernodata=int(metadict['ENVI']['data ignore value'])
It is recommended to rewrite this in a way that supports more file formats read by GDAL, in particular GTiffs.
Note that since GDAL 3.10, wavelength information becomes available via the GDAL IMAGERY domain.
The text was updated successfully, but these errors were encountered:
The
enmapbox/apps/lmuvegetationapps/Processor/Processor_Inversion_GUI.py
expects that basic file like the number of lines, samples and bands is defined in the ENVI metadata domain. While this might be the case for ENVI images, it is not for the often used GeoTIFFs.It is recommended to rewrite this in a way that supports more file formats read by GDAL, in particular GTiffs.
Note that since GDAL 3.10, wavelength information becomes available via the GDAL IMAGERY domain.
The text was updated successfully, but these errors were encountered: