# Everything in this workspace will be masked with DEM extent
# and have a cellsize of 100m:
## Not run: env.lo <- rpygeo.build.env( mask="clip", cellsize=100 )
# and this is for high-resolution output:
## Not run: env.hi <- rpygeo.build.env( mask="clip", cellsize=1 )
# Slope from different DEMs at different target resolutions
# (which may be different from the original DEM resolution):
## Not run: rpygeo.Slope.sa("srtm-dem","slope-lo",env=env.lo)
## Not run: rpygeo.Slope.sa("laser-dem","slope-hi",env=env.hi)
Run the code above in your browser using DataLab