Lab-0037: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 24: Line 24:
This notebook:
This notebook:


* Imports SRTM elevation data into a GRASS project using bmi_topography.
* Imports SRTM elevation data into a GRASS project using the Topography Data Component (bmi-topography).
* Offers opportunities for advanced GRASS calculations using imported elevation data.
* Offers opportunities for advanced GRASS calculations using imported elevation data.
* Loads a GRASS layer (the STRM elevation data imported earlier) as a Landlab RasterModelGrid for future modeling endeavors.
* Loads a GRASS layer as a Landlab RasterModelGrid for future modeling endeavors.
* Exports elevation data from GRASS GIS as a .tif file
* Exports elevation data from GRASS GIS as a .tif file
|LabPicture=Topography-in-landlab.png
|LabPicture=Topography-in-landlab.png
Line 56: Line 56:
}}
}}
{{LabNotes
{{LabNotes
|LabNotesInstructions=This lab can be run on the lab (for educators) and jupyter (for general use) instances of the OpenEarthscape JupyterHub: just click one of the links under the Run online using heading at the top of this page, then run the notebook in the "CSDMS" kernel.
|LabNotesInstructions=This lab can be run on the <em>lab</em> (for educators) and <em>jupyter</em> (for general research) instances of EarthscapeHub: just click one of the links under the Run online using heading at the top of this page, then run the notebook in the "GRASS GIS" kernel.




If you don't already have a JupyterHub account, follow the instructions to sign up at https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator, you can get JupyterHub accounts for students--please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk.
If you don't already have an EarthscapeHub account, follow the instructions to sign up at https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator, you can get accounts for students--please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk.
}}
{{LabReferences
|LabReferences=GRASS GIS: https://grass.osgeo.org/
}}
{{LabReferences
|LabReferences=Landlab: https://landlab.readthedocs.io
}}
{{LabReferences
|LabReferences=Topography Data Component: https://bmi-topography.readthedocs.io
}}
}}

Revision as of 13:18, 24 June 2024

Topography to GRASS GIS to Landlab model grid

Duration
1.0 hrs
Updated
2024-06-24
Download
download
Run online using:
  1. Jupyter
  2. Lab

Contributor(s)
    Caitlin Haedrich at North Carolina State University.
    Shelby Ahrendt at U.S. Geological Survey.

Introduction
Have you ever wanted to load elevation data from online, reproject this to an appropriate model coordinate system, maybe use some GRASS GIS tools, and then use this data as the basis of your Landlab model grid? Then look no further!


This notebook:

  • Imports SRTM elevation data into a GRASS project using the Topography Data Component (bmi-topography).
  • Offers opportunities for advanced GRASS calculations using imported elevation data.
  • Loads a GRASS layer as a Landlab RasterModelGrid for future modeling endeavors.
  • Exports elevation data from GRASS GIS as a .tif file

Classroom organization
TBD

Learning objectives
Skills
  • Using a Data Component
  • Using GRASS GIS
  • Creating a Landlab grid
Key concepts
  • Digital elevation model
  • Coordinate reference system
  • Reprojection
  • Model grid

Lab notes
This lab can be run on the lab (for educators) and jupyter (for general research) instances of EarthscapeHub: just click one of the links under the Run online using heading at the top of this page, then run the notebook in the "GRASS GIS" kernel.


If you don't already have an EarthscapeHub account, follow the instructions to sign up at https://csdms.colorado.edu/wiki/JupyterHub. If you're an educator, you can get accounts for students--please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk.