Buongiorno
Perhaps I am misunderstanding the question?
z(t,x) where t and x are 'named' dimensions of size nt, nx
mxlag = 3
ra = esacr(z, mxlag) ; ===> ra(nt,mxlag)
rb = esacr(z(x|:,t|:), mxlag) ; ===> rb(nx,mxlag)
The latter uses NCL's dimension reordering
http://www.ncl.ucar.edu/Document/Language/reorder.shtml
More details are at:
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/index.shtml
Click on "Variables"
http://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml#NamedSubscripting
Franco Catalano wrote:
> Dear ncl developers and users,
> Is there a ncl function to compute the autocorrelation coefficient for a
> two-dimensional (x,y) dataset which considers separations delta at all
> angles?
> The function esacr considers only the rightmost dimension.
> Thank you for any suggestions.
>
> Franco
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 24 2009 - 07:46:23 MDT
This archive was generated by hypermail 2.2.0 : Thu Sep 24 2009 - 13:55:09 MDT