comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Empirical orthogonal function in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Empirical orthogonal function in IDL [message #82556] Fri, 21 December 2012 17:00
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkmvarma@gmail.com writes:

> Thanks, David. I will try to find the book. And one more question. Did you try to remove missing values from the data set?

I didn't have any missing data, since I was using
reanalysis data, but, yes, I would have removed it.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Empirical orthogonal function in IDL [message #82557 is a reply to message #82556] Fri, 21 December 2012 16:35 Go to previous message
mkmvarma is currently offline  mkmvarma
Messages: 24
Registered: November 2007
Junior Member
Thanks, David. I will try to find the book. And one more question. Did you try to remove missing values from the data set?
Thanks,
Mahesh

On Friday, December 21, 2012 2:43:48 PM UTC-8, David Fanning wrote:
> mkmvarma@gmail.com writes:
>
>
>
>> Thanks, David. I looked it up and understand your code except the last part of the code where PC of mode 1. The array 'pc[mode-1,*]' has elements 2592 but the array 'years' has only 21 elements. Could you please explain me how we can plot a timeseries plot using the principal component array.
>
>
>
> Well, that is the Wilks trick I mention in the article. I
>
> probably didn't understand it well enough four years ago
>
> when I wrote the article to explain it any better than
>
> I did. I certainly don't remember the trick now! I would,
>
> however, get over to the library and find that book. It
>
> is a good one!
>
>
>
> To prove to myself it worked, I programmed up the example
>
> the slow way (25 minutes or so) and the fast way (half
>
> a second). I do remember that the results were identical,
>
> so I guess I trusted the result, even if I didn't understand
>
> it completely. :-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Empirical orthogonal function in IDL [message #82560 is a reply to message #82557] Fri, 21 December 2012 14:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkmvarma@gmail.com writes:

> Thanks, David. I looked it up and understand your code except the last part of the code where PC of mode 1. The array 'pc[mode-1,*]' has elements 2592 but the array 'years' has only 21 elements. Could you please explain me how we can plot a timeseries plot using the principal component array.

Well, that is the Wilks trick I mention in the article. I
probably didn't understand it well enough four years ago
when I wrote the article to explain it any better than
I did. I certainly don't remember the trick now! I would,
however, get over to the library and find that book. It
is a good one!

To prove to myself it worked, I programmed up the example
the slow way (25 minutes or so) and the fast way (half
a second). I do remember that the results were identical,
so I guess I trusted the result, even if I didn't understand
it completely. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Empirical orthogonal function in IDL [message #82561 is a reply to message #82560] Fri, 21 December 2012 14:21 Go to previous message
mkmvarma is currently offline  mkmvarma
Messages: 24
Registered: November 2007
Junior Member
Thanks, David. I looked it up and understand your code except the last part of the code where PC of mode 1. The array 'pc[mode-1,*]' has elements 2592 but the array 'years' has only 21 elements. Could you please explain me how we can plot a timeseries plot using the principal component array.
Thanks,
Mahesh
Re: Empirical orthogonal function in IDL [message #82572 is a reply to message #82561] Thu, 20 December 2012 15:06 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkmvarma@gmail.com writes:

> Does any one know how to calculate EOF in IDL? I have a 3D temperature data set (lon, lat, time) that I am trying to use it to calculate EOF.

http://www.idlcoyote.com/code_tips/eof_analysis.html

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: DejaVuSans Font and the Sun Symbol
Next Topic: Re: histogram bin edges

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:50 PDT 2025

Total time taken to generate the page: 0.00505 seconds