Re: change in rcm2points_Wrap

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu May 06 2010 - 21:39:08 MDT

Hi Alvaro,

The correct interface and call to rcm2points are:

undef ("rcm2points_Wrap")
function rcm2points_Wrap \
                       (yi[*][*]:numeric,xi[*][*]:numeric, fi:numeric \
                       ,yo[*]:numeric,xo[*]:numeric, Opt)

local fo, dimfi, nDim, pts
begin
   fo = rcm2points (yi,xi,fi, yo,xo, Opt) ; perform interpolation

====
It was *totally* wrong in 5.1.1

and, *partially* wrong in 5.2.0

Thank you VERY much

This will be changed.

D

On 5/6/10 1:49 AM, "Álvaro M. Valdebenito B." wrote:
> Hi,
>
> I would like to point out a bug-looking change on rcm2points_Wrap
> between versions 5.1.1 and 5.2.0.
>
> ncl-5.1.1
> function rcm2points_Wrap \
> (xi[*][*]:numeric,yi[*][*]:numeric, fi:numeric \
> ,xo[*]:numeric,yo[*]:numeric, Opt)
> [snip]
> fo = rcm2rgrid_points (xi,yi,fi, wrapX, xo,yo, Opt) ; perform
> interpolation
> [...]
>
> ncl-5.2.0
> function rcm2points_Wrap \
> (yi[*][*]:numeric,xi[*][*]:numeric, fi:numeric \
> ,yo[*]:numeric,xo[*]:numeric, Opt)
>
> [snip]
> fo = rcm2points (xi,yi,fi, xo,yo, Opt) ; perform interpolation
> [...]
>
> According to the on-line documentation
> http://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2points.shtml
> http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2points_Wrap.shtml
> the arguments of both rcm2points_Wrap and rcm2points follow the same order:
> lat2d[*][*]:numeric,lon2d[*][*]:numeric,fi:numeric,
> lat[*]:numeric,lon[*]:numeric,Option:numeric
> so I do not see the reason for swapping xi/yi and xo/yo between
> rcm2points_Wrap and rcm2points on the 5.2.0 version of rcm2points_Wrap.
>
> Is this a bug? or is the on-line documentation wrong?
> Pleas help me to make sense of this.
>
> Thanks,
> Álvaro.
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 6 21:39:13 2010

This archive was generated by hypermail 2.1.8 : Fri May 07 2010 - 10:36:00 MDT