[Thread Prev][Thread Next][Index]

Re: eof hints, please



Hi Bob,
Try it this way: Do not set the region with SET REGION,
but with a qualifier on the variable itself:

LET eof_xyfcn = eof_space(temperature[X=208:260,Y=-10.0:16.0,Z=10],  0.5)

This prevents any ambiguity in the region that the function uses,
and is always good practice when you are calling a grid-changing
function like the EOF functions.  I will do more testing on what may
be occurring when these functions are used on a four dimensional
variable.

Ansley Manke


Bob Yu wrote:

> Hi all,
>
> I run the EOF function with a 4-D variable and got the following error.
> Any hints, please?
>
> use "/home/yuy/data/hycom/glb_expt_01_9_3z_all.nc"
> SET REGION/X=208:260/Y=-10.0:16.0/Z=10
> LET eof_xyfcn = eof_space(temperature,  0.5)
> SET VIEW ul; fill/l=1/TITLE="EOF Mode 1" eof_xyfcn
>
> Bailing out of external function "eof_space":
>         k=  2  EOFIN_CHEL_GAP found the time series at ix= 1  with no
> values.
>  **ERROR: : error in external function
> CONTOUR/FILL/l=1/TITLE="EOF Mode 1" eof_xyfcn
> Command file, command group, or REPEAT execution aborted
>
> --
> (Bob) Yunyue YU
> Code 971, Goddard Space Flight Center
> Greenbelt, MD 20771
> (301)614-6850  yuy@nemo.gsfc.nasa.gov

--
Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement