change in rcm2points_Wrap

From: Álvaro M. Valdebenito B. <alvaro.valdebenito_at_nyahnyahspammersnyahnyah>
Date: Thu May 06 2010 - 01:49:31 MDT

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.

-- 
Álvaro M. Valdebenito B., Dr. rer. nat.       alvaro.valdebenito@met.no
Air Pollution Section/Research Department     Tel. +47-2296 3397
Norwegian Meteorological Institute            http:\\www.met.no
P.O. Box 43 Blindern, 0313 Oslo, NORWAY       http:\\www.emep.int/CWF
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 6 01:49:41 2010

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