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

Home » Public Forums » archive » Re: TRIANGULATE/TRIGRID problem in IDL 5.3 (SGI)
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: TRIANGULATE/TRIGRID problem in IDL 5.3 (SGI) [message #24797 is a reply to message #24796] Thu, 19 April 2001 17:16 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <3ADF1226.EF649510@ssec.wisc.edu>, Liam E. Gumley
<Liam.Gumley@ssec.wisc.edu> wrote:

> However the interpolated column and row arrays have bogus values along
> the top and bottom edges of the satellite swath (the edges are curves in
> the example). For example, along the bottom edge of the interpolated
> swath there are cyan pixels where the pixels should be darker blue. This
> causes the bilinear interpolated image (not shown here) to have very
> noticeable artifacts.

I'm not certain if this is your problem, but if you have a 2-D array
with, say, missing values in it, when you interpolate you will get
artifacts along the edges of the missing regions. You can fill the
missing regions with NaN's (and lose some pixels along the edges), or
you could, for example, extrapolate instead of interpolating when one
of the interpolants is missing. That generally requires some knowledge
of the nature of the missing data (e.g., shape of the missing regions,
etc.).

In order to make contour plots of station data from Texas, we ended up
creating a mask to mask out any grid boxes outside the state boundary.
We let TRIANGULATE and TRIGRID do what they wanted, and then masked out
artifacts along the edges.

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fastest operations/fctns.
Next Topic: MPFIT update (and bug notice)

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

Current Time: Wed Oct 08 16:04:28 PDT 2025

Total time taken to generate the page: 0.00448 seconds