[Thread Prev][Thread Next][Index]

Re: eof arguments



Hi Sudheer,
You must have an older version of the ef_eof_demo.jnl script.
When they were first released, the EOF functions had a third
argument, but they now just have two.  So you have the correct
functions but an older script.  The correct ef_eof_demo.jnl script is
included in recent Ferret releases.  It can also be found under
"On-Line Demonstrations" from the Ferret Documentation
web page.  Here is a link to the script ef_eof_demo.jnl script

http://ferret.pmel.noaa.gov/Ferret/Demos/ef_eof_demo/ef_eof_demo.html

Ansley Manke

Dr Sudheer Joseph wrote:

Dear Users,
Pasted below is a part of the ef_eof_demo.jnl which says there are 3 arguments to be passed to the external functions, but when we try to pass the 3 arguments it results in the error message below.
Pease tell me why this is happening , if only 2 arguments are given ( varaible, and a number) then it works, but in this case there is no way to know which one it has accepted , as whether it is 2 nd or 3rd
argument.

Thanks,
sincerely
Sudheer.

LET estat = eof_stat(temp[k=1],2.0,.5)
**ERROR: command syntax: eof_stat(temp[k=1],2.0,.5)
The eof_stat function has an incorrect number of arguments

For all functions the arguments are as follows:
!
! * 1st argument: Input data field, a function of x, y, and time; may be a
! function of z
! * 2nd argument: The minimum percent variance explained by the EOF's that
! are computed and scaled, e.g. to return EOFs that explain at least 2%
! variance, use 2.0
! * 3nd argument: The fraction of each time series that must be present to
! include it in the calculations, e.g. to use all time series that have
! at least half the data present, use 0.5
!





[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement