Re: spatial correlation

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 30 Aug 2006 07:23:43 -0600 (MDT)

FTR (ForTheRecord): it was an axis mismatch between the netcdf files

On Wed, 30 Aug 2006, Prince K. XAVIER wrote:

> Hi all,
> I am having a bit of trouble with escorc (or ndtooned?). I have two
> variables, say
> noaa --> [latitude | 25] x [longitude | 144] x [step | 298]
> merged --> [latitude | 25] x [longitude | 144] x [number | 9] x [step | 298]
> The first 118 time points of 'merged' are same as that of 'noaa' for all the
> 9 'number' s. However, when I compute the spatial correlations using
> do nt = 0, 297
> do i = 0, 8
> r(nt,i) =
> escorc(ndtooned(merged({lati:latf},{loni:lonf},i,nt)),ndtooned(noaa({lati:latf},{loni:lonf},nt)))
> end do
> end do
> I expect the spatial correlations to be 1.0 for the first 118 time points for
> all 9 ensemble members, but not so.
> I suspect that I am doing something wrong while 'ndtooned' ing. Could someone
> point out where I am going wrong? Original script is attached.
>
> Thanks in advance,
> Prince
>
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 30 2006 - 07:23:43 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 30 2006 - 07:43:22 MDT