Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

Tutorial for Reading DEM into Landlab

Owners: This resource does not have an owner who is an active HydroShare user. Contact CUAHSI ( to determine if accessing this resource is possible.
Type: 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: 2530
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 @

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.

Subject Keywords


  You do not have permission to see these content files. Please contact an Owner 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,

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


Stephen Dobbs 4 years, 2 months ago

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

+1 Votes: Be the first one to 

Rishi Narain Singh 4 years ago

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

+1 Votes: Be the first one to 

Jasson Mussio 3 years, 7 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