<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I am trying to do a PCA on ASTER satellite data using bands 4 through 9 (all 30 m pixel size). I have tried using the Processing Toolbox > Grass > Imagery>i.pca but it continually fails.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I get this at the end of processing.<o:p></o:p></p><p class=MsoNormal>_____________________________________________________________________________________________________________<o:p></o:p></p><p class=MsoNormal><span style='color:red;mso-fareast-language:EN-AU'>Traceback (most recent call last):<br>File "C:/PROGRA~1/QGIS3~1.0/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py", line 395, in processAlgorithm<br>if isinstance(out, QgsProcessingOutputHtml):<br>NameError: name 'QgsProcessingOutputHtml' is not defined</span><span style='mso-fareast-language:EN-AU'><o:p></o:p></span></p><p class=MsoNormal><span style='color:red;mso-fareast-language:EN-AU'>Execution failed after 16.32 seconds</span><span style='mso-fareast-language:EN-AU'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Loading resulting layers<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Algorithm 'i.pca - Principal components analysis (PCA) for image processing.' finished</span><o:p></o:p></p><p class=MsoNormal>_____________________________________________________________________________________________________________<o:p></o:p></p><p class=MsoNormal>When using the SemiAutomatic Classification PCA calculator I get the following error message.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>2018-04-11T14:51:00 WARNING Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>File "C:/Users/Grant/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\maininterface\pcaTab.py", line 46, in calculatePCAAction<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>self.calculatePCA()<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>File "C:/Users/Grant/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\maininterface\pcaTab.py", line 97, in calculatePCA<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>self.PCACalculation(rD, bL, outF, numbComp, None, batch)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>File "C:/Users/Grant/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\maininterface\pcaTab.py", line 140, in PCACalculation<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>comp, totalVariance, totalVarianceCumulative, eigenValues = self.calculateEigenVectors(covM)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>File "C:/Users/Grant/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\maininterface\pcaTab.py", line 264, in calculateEigenVectors<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>val, vect = cfg.np.linalg.eigh(matrix)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>File "C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\numpy\linalg\linalg.py", line 1291, in eigh<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>w, vt = gufunc(a, signature=signature, extobj=extobj)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>File "C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\numpy\linalg\linalg.py", line 96, in _raise_linalgerror_eigenvalues_nonconvergence<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>raise LinAlgError("Eigenvalues did not converge")<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>numpy.linalg.linalg.LinAlgError: Eigenvalues did not converge<o:p></o:p></span></p><p class=MsoNormal>_____________________________________________________________________________________________________________<o:p></o:p></p><p class=MsoNormal>Can anyone shed any light on what is happening here?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers Grant<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Grant Boxer </span><i><span style='font-size:10.0pt;mso-fareast-language:EN-AU'>(FAIG RPGeo)<o:p></o:p></span></i></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'>Maylands, Western Australia, 6931<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>