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

Home » Public Forums » archive » 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 #64198 is a reply to message #64168] Sun, 07 December 2008 08:57 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Dec 5, 11:04 am, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
>> I guess you didn't read my question properly (although I maybe didn't
>> have to ask it in this thread to avoid this, but I didn't want to make
>> a new thread because of David's post several days ago). I'm not trying
>> to resize anything. I just want the -999 or NaN (I make them with !
>> Values.F_NAN option btw.) values to have a value in the b array that
>> is calculated by interpolation (for instance: the IDW of the
>> surroundig pixels in a 3x3 window).
>
>> So sorry for the mixup and thanks if you guys still feel like finding
>> a solution for this.
>
> Hi,
> ah, now you give more information... a 3*3 window, and IDW... well, the
> "do it yourself" solution is the easiest... You can put that in a
> function or else.
>

Hi,

I am not sure if I am following this new twist (isn't IDW a type of
root beer?) I should point out that IDL's built in GRIDDATA routine
will accept polygonal breaks in interpolation (such as a polygon
describing the break between land and water). I have found that it
works well even if it is a pain to develop the polygons. That might
be just what you are looking for. It is worth getting over the hump
to learn the ins-and-outs of GRIDDATA if you will be doing this kind
of thing often.

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: date conversion
Next Topic: Re: Assigning Coordinates in NetCDF

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

Current Time: Thu Oct 09 21:37:01 PDT 2025

Total time taken to generate the page: 2.07911 seconds