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

Home » Public Forums » archive » Re: interpolation for resizing
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: interpolation for resizing [message #64161 is a reply to message #64159] Wed, 03 December 2008 02:13 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Dec 2, 11:07 pm, David Fanning <n...@dfanning.com> wrote:
> Chris writes:
>> One potential issue with this approach is that IDL may interpolate
>> between your 9999 values and your real data values when you expand the
>> array. If you set the 9999s to !values.f_nan beforehand, then the
>> interpolation will behave more sensibly.
>
> I deliberately used CONGRID without the INTERP keyword
> to avoid this problem. Nearest neighbor interpolation
> does not create any data that is not present in the
> original image.

That's true, but nearest-neighbor sampling also adds high-frequency
aliases, so what one uses to interpolate does depend on what one
needs.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Irregular Satellite data plotting
Next Topic: Assigning Coordinates in NetCDF

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

Current Time: Fri Oct 10 15:23:08 PDT 2025

Total time taken to generate the page: 1.59646 seconds