comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: spatial interpolation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: spatial interpolation [message #36613 is a reply to message #36522] Sun, 05 October 2003 14:18 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Richard G. French wrote:
> On 10/3/03 6:32 AM, in article
> e1330fff.0310030232.52e4cea4@posting.google.com, "Hjalti Sig"
> <hjalti@vatnaskil.is> wrote:
>
>> Thank you so much. The description for this function in the reference
>> guide does not mention this - only regular grids. And the only
>> possible return value mentioned is a two dimensional array. This is
>> somewhat misleading.
>
> I've just looked this up in the IDL6.0 manual and the KEYWORDS XOUT and YOUT
> (NOT the same as a returned value of a function) are definitely described,
> albeit in the midst of about another 20 definitions for other keywords. So,
> I don't find it misleading, but it does show that you need to read through
> the documentation with great care to see the capabilities of some of the
> more complex IDL procedures/functions such as AXIS.

Great care and a grain or two of salt.

The opening sentence of the GRIDDATA documentation says:

The GRIDDATA function interpolates scattered data values and
locations sampled on a plane or a sphere to a regular grid.

This is true, but incomplete. As noted, GRIDDATA also does interpolation
onto irregular grids and scattered data points.

And the "return value" section says

The function result is a two-dimensional floating point array.

This is just plain wrong. It can also return 1-D output data.

A documentation bug report to RSI is warranted. Any volunteers? (They're
tired of hearing from me.)

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with Colours when plotting to screen
Next Topic: G4-related problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Nov 29 03:34:12 PST 2025

Total time taken to generate the page: 0.80597 seconds