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

Home » Public Forums » archive » Re: Maps and interpolation w/ invalid data points
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: Maps and interpolation w/ invalid data points [message #65958 is a reply to message #65956] Mon, 30 March 2009 11:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mankoff writes:

> I'm having trouble with making smoothed maps with invalid data points.
> I'm able to produce maps with grayed invalid boxes when there is no
> smoothing (bilinear=0 in map_image). I'm able to produce interpolated
> images without getting the rainbows around the invalid points by using
> TRIANGULATE and TRIGRID.
>
> But I'm having trouble combining these two techniques.
>
> My input data is 72 by 44, so map_image replicates most of the data
> points when returning an array around 500 by 300. If /BILINEAR is set
> then I get rainbows around the invalid data points. If it is not set,
> and I run my triangulate & trigrid algorithm it doesn't have much
> effect due to the repetition of similar values due to the enlarged
> warped array. Setting MIN_VALUE and MISSING keywords to map_image
> doesn't help either.
>
> It seems like if I set the output size of the map to be tiny, so that
> map_image did not enlarge the array, then it would work. If producing
> postscript I could blow it up after and it would still look good. But
> this seems like a strange workaround.

I don't follow the reasoning here. Wouldn't you fix
the small 72 by 44 image with your Triangulate and Trigrid
method first, then warp this into your map space with Map_Image?

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Maps and interpolation w/ invalid data points
Next Topic: VISualize 2009: IDL & ENVI user group meetings

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

Current Time: Sat Oct 11 05:24:14 PDT 2025

Total time taken to generate the page: 2.16219 seconds