EOF Eigenvalue Error

From: Cece Borries <cjborries_at_nyahnyahspammersnyahnyah>
Date: Mon May 14 2012 - 15:52:49 MDT

Hello.

I am receiving the following error when I run my script to calculate EOF's
for sea level pressure:

 Warning! LAPACK routine returned eigenvalue <= 0.
 Setting it to zero...

My code, following the examples online, is:

 lat = new((/nlat/), "float", -999)
 lat(:) = (/slp(0,:,0)/)

 wgt = sqrt(cos(lat*0.01745329))

 slp_re = slp(lat|:,lon|:,year|:)
 slp_w = slp_re

  slp_w = slp_re*conform(slp_re, wgt, 0)

  x = slp_w({15:75},{140:250},:)

  neval = 3
  eof = eofunc(x, neval, True)

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?

Thanks so much!

Cece

-- 
Cecilia Borries
Graduate Student
International Arctic Research Center
Department of Atmospheric Sciences
Teaching Assistant
Department of Physics
University of Alaska Fairbanks

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 14 15:52:59 2012

This archive was generated by hypermail 2.1.8 : Thu May 17 2012 - 13:42:02 MDT