This lesson is in the early stages of development (Alpha version)

Work With Multi-Band Rasters in Python FIXME


Teaching: 40 min
Exercises: 20 min
  • How can I visualize individual and multiple bands in a raster object?

  • Identify a single vs. a multi-band raster file.

  • Import multi-band rasters into Python using the rasterio package.

  • Plot multi-band color image rasters in R using the earthpy package.


Key Points

  • A single raster file can contain multiple bands or layers.

  • Individual bands within a DataArray can be accessed, analyzed, and visualized using the same plot function as single bands.