Hello everybody!!!
I'm trying to calculate the NDVI with Landsat 8 image, I downloaded from the USGS site. The first thing to do is to rescale the values of reflectance and radiance at TOA. So I found a plugin (PGeosud: TOA Reflectance). However, I used this plugin for bands 4 and 5. The study area is composed of three units of landscapes. Plains, valleys and coastal canyons where vegetation varies considerably. To avoid saturation of the NDVI, I made a mask of each of them and I calculated the index. The problem is that: when I apply the raster calculator I get the following error. What can I do? Thanks so much!!!! An error has occured while executing Python code: Traceback (most recent call last): File "C:/Users/Mariana/.qgis2/python/plugins\raster_transparency\rastertransparency.py", line 152, in layerChanged self.dockWidget.updateSliders(maxValue, minValue) File "C:/Users/Mariana/.qgis2/python/plugins\raster_transparency\rastertransparencydockwidget.py", line 142, in updateSliders self.spinStart.setMinimum(int(self.minVal)) TypeError: QSpinBox.setMinimum(int): argument 1 has unexpected type 'long' Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] QGIS version: 2.2.0-Valmiera Valmiera, c3a2817 Python path: ['C:/Users/Mariana/.qgis2/python/plugins\\processing', 'C:/PROGRA~1/QGISVA~1/apps/qgis/./python', u'C:/Users/Mariana/.qgis2/python', u'C:/Users/Mariana/.qgis2/python/plugins', 'C:/PROGRA~1/QGISVA~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\QGISVA~1\\bin\\python27.zip', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\QGISVA~1\\bin', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg', 'C:\\PROGRA~1\\QGISVA~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QGISVA~1\\apps\\qgis\\python\\plugins\\fTools\\tools']
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user