Tutorial for Reading DEM into Landlab

Resource type: Composite Resource
Storage: The size of this resource is 119.5 KB
Created: Jun 08, 2016 at 7:40 p.m.
Last updated: Jun 08, 2016 at 8:39 p.m.
Citation: See how to cite this resource
Sharing Status: Discoverable
Views: 1406
Downloads: 0
+1 Votes: Be the first one to 
Comments: 3 comments


This is a tutorial that will walk you through the steps to import a DEM into Landlab and create a raster model grid.

Note: To use this tutorial, you should have Landlab (version 1.0) installed on your computer. To install Landlab, please follow the instructions @ https://landlab.github.io/#/#install

The starting point is to obtain a Digital Elevation Model (DEM) in ESRI's Ascii Grid format, or convert it to this format. The format consists of a 6-line header followed by elevation values. Here we'll work with a small example DEM file 'west_bijou_gully.asc' (attached in this resource). The header for this file is as follows:
ncols 43
nrows 89
xllcorner 559705.000000000000
yllcorner 4380220.000000000000
cellsize 3
NODATA_value 0
Here, our objective is to translate the contents of this file into a Landlab RasterModelGrid.

This tutorial also illustrates setting boundary conditions on DEMs and using the halo option for reading in DEMs without nodata values around the edges.
For this we will use the resource 'synthetic_landsacpe.asc'.

Citing Landlab:
Tucker, G.E., Gasparini, N.M., Istanbulluoglu, E., Hobley, D.E.J., Nudurupati, S.S., Adams, J.M., and Hutton, E. (2013). Landlab v1.0. https://landlab.github.io.

Subject Keywords

Deleting all keywords will set the resource sharing status to private.


  You do not have permission to see these content files. Please contact the Authors if you wish to obtain access.


Funding Agencies

This resource was created using funding from the following sources:
Agency Name Award Title Award Number

How to Cite

Gasparini, N. (2016). Tutorial for Reading DEM into Landlab, HydroShare, http://www.hydroshare.org/resource/46a2c163581e488fac158e79624d554e

This resource is shared under the Creative Commons Attribution CC BY.



Stephen Dobbs 1 year, 4 months ago

Hi there, is it possible to share access to this tutorial? Thanks,

+1 Votes: Be the first one to 

Rishi Narain Singh 1 year, 2 months ago

Dr Gasparini.
I wish to access this tutorial.
IIT Gandhinagar

+1 Votes: Be the first one to 

Jasson Mussio 9 months ago

Dear Dr Gasparini,
I would like to have your access to see your tutorial.
Kind regards,

Jasson Mora M.

+1 Votes: Be the first one to 

New Comment