<div dir="ltr"><div><div><div><div><div>Hi Daria<br><br></div><div>Hopefully, the following example answers the question.<br></div><div><br>===<br><a href="https://www.ncl.ucar.edu/Applications/eof.shtml">https://www.ncl.ucar.edu/Applications/eof.shtml</a><br></div>Example: eof_0<br><br>The number of eigenvalues desired is neval=7.<br></div></div>The number of time steps is ntim=25.<br></div>The number of stations is nsta=7.<br><br></div>FYI: the max number of eigenvalues is: min( (/ntim, nsta/) )<br><div><div><div><div>===<br><pre>Variable: x
Dimensions and sizes:        [sta | 7] x [time | 25]
===
Variable: evecv
Dimensions and sizes:        [evn | 7] x [sta | 7]
Coordinates:
evn: [1..7]
Number Of Attributes: 5
eval :        ( 34.49105, 18.99881, 2.538778, 0.8059367, 0.3407488, 0.03340296, 0.00252845 )
pcvar :        ( 60.28718, 33.20816, 4.43755, 1.408703, 0.5955976, 0.05838531, 0.004419498 )
matrix :        covariance
method :        no transpose
_FillValue :        -999.9
(0)        
<br>===
Variable: evecv_ts
Dimensions and sizes:        [evn | 7] x [time | 25]
Coordinates:
evn: [1..7]
Number Of Attributes: 3
ts_mean :        ( -11.6495, 9.24259, 1.868245, 4.67963, -1.392673, 0.5704643, -0.1235717 )
matrix :        covariance
===</pre><br></div><div>Hope this helps.<br><br></div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 9:42 AM, Daria Kuznetsova <span dir="ltr"><<a href="mailto:morven9@yandex.ru" target="_blank">morven9@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear NCL users,<br>
<br>
I have a question concerning the eofunc_ts function.<br>
<br>
In the description<br>
<a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/eofunc_ts.shtml" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/eofunc_ts.shtml</a><br>
it is written:<br>
"Return value<br>
A two-dimensional array dimensioned by the number of eigenvalues selected in eofunc by the size of the time dimension of data. Will contain the following attribute:<br>
ts_mean: an array of the same size and type as evec containing the means removed from data as part of the calculation."<br>
<br>
It seems to me that the return value is an array with the dimensions 0 - the number of eigenvalues selected in eofunc, and 1- twice the size of the time dimension.<br>
Also, it seems that ts_mean is a one-dimensional array with the length equal to the number of eigenvalues.<br>
<br>
Is it so or I misunderstood something?<br>
<br>
Best regards,<br>
Daria<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>