Lab-0028

From CSDMS
Revision as of 12:58, 20 December 2021 by Mpiper (talk | contribs) (Created page with "{{Labbasics |Labtitle=Topography Data Component |LabCOModule=1 of 1 |LabDateContributedOrUpdated=2021-12-20 |LabDescriptionShort=Learn how to download and access NASA SRTM and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Topography Data Component

Duration
1.0 hrs
Updated
2021-12-20
Download
download
Run online using:
     Jupyter logo.png

Contributor(s)
    Mark Piper at University of Colorado Boulder.

Introduction
Topography.png
Topography is a Python library to fetch and cache NASA Shuttle Radar Topography Mission (SRTM) and JAXA Advanced Land Observing Satellite (ALOS) land elevation data using the OpenTopography REST API.

The Topography library provides access to the following global raster datasets:

   SRTM GL3 (90m)
   SRTM GL1 (30m)
   SRTM GL1 (Ellipsoidal)
   ALOS World 3D (30m)
   ALOS World 3D (30m, Ellipsoidal)

The library includes an API and CLI that accept the dataset type, a latitude-longitude bounding box, and the output file format. Data are downloaded from OpenTopography and cached locally. The cache is checked before downloading new data. Data from a cached file can optionally be loaded into an xarray DataArray using the experimental open_rasterio method.

This lab includes examples of using the Topography data component in a Jupyter Notebook, in a shell script, and in a Python program.

Classroom organization
TODO

Learning objectives
Skills
  • TODO
Key concepts
  • TODO

Lab notes
TODO

Requirements
If run locally, see installation instructions in the bmi-topography repository: https://github.com/csdms/bmi-topography.

Acknowledgements
This work is supported by the National Science Foundation under Award No. 2026951, EarthCube Capabilities: Cloud-Based Accessible and Reproducible Modeling for Water and Sediment Research.

References