[ncl-talk] About eofunc_ts function
Dennis Shea
shea at ucar.edu
Thu Mar 3 10:59:51 MST 2016
Hi Daria
Hopefully, the following example answers the question.
===
https://www.ncl.ucar.edu/Applications/eof.shtml
Example: eof_0
The number of eigenvalues desired is neval=7.
The number of time steps is ntim=25.
The number of stations is nsta=7.
FYI: the max number of eigenvalues is: min( (/ntim, nsta/) )
===
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)
===
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
===
Hope this helps.
On Thu, Mar 3, 2016 at 9:42 AM, Daria Kuznetsova <morven9 at yandex.ru> wrote:
> Dear NCL users,
>
> I have a question concerning the eofunc_ts function.
>
> In the description
> https://www.ncl.ucar.edu/Document/Functions/Built-in/eofunc_ts.shtml
> it is written:
> "Return value
> 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:
> ts_mean: an array of the same size and type as evec containing the means
> removed from data as part of the calculation."
>
> 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.
> Also, it seems that ts_mean is a one-dimensional array with the length
> equal to the number of eigenvalues.
>
> Is it so or I misunderstood something?
>
> Best regards,
> Daria
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160303/fe412ef1/attachment.html
More information about the ncl-talk
mailing list