iwfm.gis.grid_shadedrelief¶
- iwfm.gis.grid_shadedrelief(source, slopegrid, aspectgrid, shadegrid, az=315.0, alt=45.0, z=1.0, scale=1.0, NODATA=-9999)[source]¶
Create a shaded relief ASCII grid from an ASCII DEM.
Also outputs intermediate grids for slope and aspect
- Parameters:
source (str) – ASCII DEM file name
slopegrid (str) – slope grid (steepness) file name
aspectgrid (str) – aspect grid (direction faced between 0 and 360) file name
shadegrid (str) – output file name
az (float, default=315.0) – azimuth (sun direction) in degrees
alt (float, default=45.0) – altitude (sun angle) in degrees
z (float, default=1.0) – elevation exageration
scale (float, default=1.0) – resolution
NODATA (int, default=-9999) – value if no data
- Return type:
nothing