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

Home » Public Forums » archive » Re: /fill_ocean
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: /fill_ocean [message #10405] Mon, 24 November 1997 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kelly Dean (dean@cira.colostate.edu) writes:

> The MAP_CONTINENTS in IDL 5.0 has a /FILL_CONTINENT keyword which
> works out great, but I need a /FILL_OCEAN keyword. I am attempting to
> add the worldelev.dat to a map, but I don't need the ocean depths.
> Anyone have an idea how to do a /FILL_OCEAN on a map projection?

I don't have any great suggestions, but have you tried something
like this:

water = Where(worldelv LT 130)
worldelv(water) = black

I don't know if 130 is the right number or not. I picked it
based on the histogram of the image, and it seems to work
reasonably well. Perhaps with some fooling around it would
work for you.

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: when will RSI come out with a scaledDown version of IDL?
Next Topic: /fill_ocean

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

Current Time: Fri Oct 10 15:52:48 PDT 2025

Total time taken to generate the page: 0.55987 seconds