Hello.<br><br>I am receiving the following error when I run my script to calculate EOF's for sea level pressure:<br><br> Warning! LAPACK routine returned eigenvalue <= 0.<br> Setting it to zero...<br><br clear="all">
My code, following the examples online, is:<br><br> lat = new((/nlat/), "float", -999)<br> lat(:) = (/slp(0,:,0)/)<br><br> wgt = sqrt(cos(lat*0.01745329)) <br> <br>
slp_re = slp(lat|:,lon|:,year|:) <br> slp_w = slp_re <br><br> slp_w = slp_re*conform(slp_re, wgt, 0)<br><br> x = slp_w({15:75},{140:250},:)<br><br> neval = 3<br> eof = eofunc(x, neval, True) <br>
<br>I have used the same code for a different variable and received no errors, so I am guessing that something is wrong with my SLP data. Does anyone have any suggestions?<br><br>Thanks so much!<br><br>Cece<br><br>-- <br>
Cecilia Borries<br><br>Graduate Student<br>International Arctic Research Center<br>Department of Atmospheric Sciences<br><br>Teaching Assistant <br>Department of Physics<br>University of Alaska Fairbanks<br><br>