Lab-0037: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
{{LabIntro | {{LabIntro | ||
|LabDescription=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! | |LabDescription=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! | ||
|LabPicture=Topography-in-landlab.png | |||
}} | |||
This notebook: | {{LabClassroomOrganization | ||
|LabCOIntro=This notebook: | |||
* Imports SRTM elevation data into a GRASS project using the Topography Data Component (bmi-topography). | * Imports SRTM elevation data into a GRASS project using the Topography Data Component (bmi-topography). | ||
Line 28: | Line 29: | ||
* Loads a GRASS layer 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 | ||
}} | }} | ||
{{LabLearningObjectivesSkills | {{LabLearningObjectivesSkills | ||
Line 56: | Line 53: | ||
}} | }} | ||
{{LabNotes | {{LabNotes | ||
|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. | |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 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. | 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 on the <em>lab</em> Hub--please contact us through the CSDMS Help Desk: https://csdms.github.io/help-desk. | ||
|LabNotesRequirements=If run locally, this lab requires the installation of GRASS GIS, as well as the ''landlab'' and ''bmi-topography'' Python packages. | |||
}} | }} | ||
{{LabReferences | {{LabReferences |
Revision as of 13:28, 24 June 2024
Topography to GRASS GIS to Landlab model grid
Contributor(s)
Caitlin Haedrich at North Carolina State University.
Shelby Ahrendt at U.S. Geological Survey.
Classroom organization
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
Learning objectives
SkillsUsing a Data Component
Using GRASS GIS
Creating a Landlab grid
Skills
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.
Requirements
If run locally, this lab requires the installation of GRASS GIS, as well as the landlab and bmi-topography Python packages.
References
- GRASS GIS: https://grass.osgeo.org/
- Landlab: https://landlab.readthedocs.io
- Topography Data Component: https://bmi-topography.readthedocs.io