Lab-0037: Difference between revisions
From CSDMS
Created page with "{{Labbasics |Labtitle=Topography to GRASS GIS to Landlab model grid |LabCOModule=1 of 1 |LabDateContributedOrUpdated=2024-06-24 |LabDescriptionShort=A demonstration of fetching elevation data with the Topography data component, reprojecting and tuning it with GRASS GIS, then loading it into a Landlab RasterModelGrid. |LabCODuration=1.0 hrs |LabModelDocumentation=GRASS GIS, Landlab, Topography Data Component |LabURLDownloadNotebook=https://github.com/chaedri/bmi-topograph..." |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
}} | }} | ||
{{LabIntro | {{LabIntro | ||
|LabDescription=Have you ever wanted to load elevation data from online, reproject | |LabDescription=Have you ever wanted to load elevation data from an online data source, reproject the data into an appropriate model coordinate system, maybe use some GRASS GIS tools, and then use this data as the basis of a Landlab model grid? | ||
Then look no further! | |||
|LabPicture=Topography-in-landlab.png | |LabPicture=Topography-in-landlab.png | ||
}} | }} | ||
{{LabClassroomOrganization | {{LabClassroomOrganization | ||
|LabCOIntro= | |LabCOIntro=This notebook: | ||
<ul> | |||
<li>Imports SRTM elevation data into a GRASS project using the Topography Data Component (bmi-topography). | |||
<li>Offers opportunities for advanced GRASS calculations using imported elevation data. | |||
<li>Loads a GRASS layer as a Landlab RasterModelGrid for future modeling endeavors. | |||
<li>Exports elevation data from GRASS GIS as a .tif file | |||
</ul> | |||
}} | }} | ||
{{LabLearningObjectivesSkills | {{LabLearningObjectivesSkills | ||
Line 46: | Line 49: | ||
}} | }} | ||
{{LabTopicalLearningObjectives | {{LabTopicalLearningObjectives | ||
|LabTopicalLearningObjective=Coordinate reference | |LabTopicalLearningObjective=Coordinate reference system | ||
}} | }} | ||
{{LabTopicalLearningObjectives | {{LabTopicalLearningObjectives | ||
Line 52: | Line 55: | ||
}} | }} | ||
{{LabTopicalLearningObjectives | {{LabTopicalLearningObjectives | ||
|LabTopicalLearningObjective=Model | |LabTopicalLearningObjective=Model grid | ||
}} | }} | ||
{{LabNotes | {{LabNotes | ||
|LabNotesInstructions=This lab can be run on the lab (for educators) and jupyter (for general | |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 "CSDMS" kernel. | ||
If you don't already have | |||
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=GRASS GIS: https://grass.osgeo.org/ | |||
}} | |||
{{LabReferences | |||
|LabReferences=Landlab: https://landlab.readthedocs.io | |||
}} | |||
{{LabReferences | |||
|LabReferences=Topography Data Component: https://bmi-topography.readthedocs.io | |||
}} | }} |
Latest revision as of 13:44, 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
Skills
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 "CSDMS" 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