Re: Re: shaded relief maps

From: Mark J. Stevens (stevens AT ucar.edu)
Date: Tue Aug 31 2004 - 10:25:31 MDT


I have created plots using the USGS DEM data. Attached is a plot.
If you are interested I have the ncl code to do this.
Mark Stevens

On Monday 30 August 2004 08:51 am, Greg Thompson wrote:
> Luigi Romolo wrote:
> > Has anyone ever used NCL for the purposes of creating shaded relief
> > maps? What I would like to do is create a shaded relief map for various
> > US States...similar to the ones posted on
> > http://fermi.jhuapl.edu/states/states.html. In addition, I would like
> > to know if anyone has created a shaded relief map with a contour layer
> > over it (say monthly precip for example). Any direction towards a
> > solution to this agenda would be greatly appreciated.
>
> I used NCL to read the USGS DEM 30-second data and create a
> grayscale terrain map over which I plot various data (research
> aircraft data mostly). View an example image here (near the
> middle of the page):
>
> http://www.rap.ucar.edu/~gthompsn/workshop2004/
>
> My code is pretty crude and isn't very modular but you're welcome
> to it. Primarily you want to contour terrain altitude using a
> raster fill using these specific parameters:
>
> "cnRasterModeOn" : True
> "cnRasterSmoothingOn" : False
> "cnLinesOn" : False
> "cnLineLabelsOn" : False
>
> My code does not create the false sun angle shadow effect that
> can be seen at these two URLs (these latter images were created
> by my coworker using the GD image library by Thomas Boutel).
> It could all be done within NCL though with the right geometry
> to fake a sun angle.
>
>
>
> http://www.rap.ucar.edu/~gthompsn/2001Oct09/20011009_220104_BREF1color.png
> http://www.rap.ucar.edu/~gthompsn/2001Oct09/20011009_220104_BREF1gray.png

-- 
Mark J. Stevens            
Climate and Global Dynamics Division
NCAR Mesa Laboratory, Room 600
ph: 303-497-1707    stevens@ucar.edu
http://www.cgd.ucar.edu/~stevens


TRINIDAD.gif

_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Fri Sep 03 2004 - 12:18:04 MDT