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

Home » Public Forums » archive » Re: contour boundaries
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: contour boundaries [message #25492] Thu, 21 June 2001 14:05
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
Remy Luerssen wrote:

> I am having troubles with a contouring program in IDL. I have gridded in situ
> measurements taken from stations throughout the Gulf of Maine. I am contouring
> the data over a map of the Gulf of Maine. In order to take into consideration
> where the land is, the gridded in situ data was changed to NaN where there was
> land. The problem that I am having is that the contouring program is not
> recognizing the boundaries of the dataset. There are contouring lines going
> through the land, eventhough the data its self are NaNs. But the kicker is
> that there is a data boundary that does not border the coast (the stations end
> but not due to land construct) that is recognized. The contour lines stop
> like they should. Any ideas what is going on?
>
> I would appreciate any suggestions!
>
> Thanks,
>
> Remy

Hi Remy,

Is your coastline concave towards land? You may have to use the MIN_VALUE keyword
- I usually force areas that I don't want contoured as 0, or -999, or something
else that is below the data range, and use the min_value = 0 keyword. I don't know
if using NaNs really works or would work wth the min_value keyword.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: changing contrast and brightness on the fly
Next Topic: texture map irregularities OR pimento problems

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

Current Time: Wed Oct 08 14:53:39 PDT 2025

Total time taken to generate the page: 0.00434 seconds