Introduction to Hyperspectral Remote Sensing Data feature image Source: National Ecological Observatory Network (NEON)


Devoted to open data and open source in science and education.

View All Tutorials


LiDAR (9)
R programming (70)
Remote Sensing (12)
Data Visualization (4)
Hyperspectral Remote Sensing (7)
Hierarchical Data Formats (HDF5) (24)
Spatial Data & GIS (18)
Time Series (15)
Phenology (7)
Raster Data (8)
Vector Data (6)
Metadata (1)
Git & GitHub (6)
(1) (1) (1)

Tutorial by R Package

dplyr (8)
ggplot2 (17)
h5py (1)
lubridate (time series) (6)
maps (1)
maptools (3)
plyr (2)
raster (32)
rasterVis (raster time series) (3)
rgdal (GIS) (23)
rgeos (5)
rhdf5 (21)
sp (7)
scales (4)
gridExtra (4)
ggtheme (0)
grid (2)
reshape2 (3)
plotly (6)

View ALL Tutorial Series

Twitter Youtube Github


R Bloggers

Series: Introduction to Hyperspectral Remote Sensing Data


In this series, we cover the basics of working with NEON hyperspectral remote sensing data. We cover the principles of hyperspectral data, how to open hyperspectral data stored in HDF5 format in R and how to extract bands and create rasters in GeoTiff format. Finally we explore extracting a hyperspectral - spectral signature from a single pixel using R.

Data used in this series are from the National Ecological Observatory Network (NEON) and are in HDF5 format.

Series Goals / Objectives

After completing the series you will:

  • Understand the collection of hyperspectral remote sensing data and how they can be used
  • Understand how HDF5 data can be used to store spatial data and the associated benefits of this format when working with large spatial data cubes
  • Know how to extract metadata from HDF5 files
  • Know how to plot a matrix as an image and a raster
  • Understand how to extract and plot spectra from an HDF5 file
  • Know how to work with groups and datasets within an HDF5 file
  • Know how to export a spatially projected GeoTIFF
  • Create a rasterstack in R which can then be used to create RGB images from bands in a hyperspectral data cube
  • Plot data spatially on a map
  • Create basic vegetation indices, like NDVI, using raster-based calculations in R

Things You’ll Need To Complete This Series

Setup RStudio

To complete some of the tutorials in this series, you will need an updated version of R and, preferably, RStudio installed on your computer.

R is a programming language that specializes in statistical computing. It is a powerful tool for exploratory data analysis. To interact with R, we strongly recommend RStudio, an interactive development environment (IDE).

Download Data

Data is available for download in each tutorial that it is needed in.

Set Working Directory: This lesson assumes that you have set your working directory to the location of the downloaded and unzipped data subsets. An overview of setting the working directory in R can be found here.

R Script & Challenge Code: NEON data lessons often contain challenges that reinforce learned skills. If available, the code for challenge solutions is found in the downloadable R script of the entire lesson, available in the footer of each lesson page.

Tutorials in Workshop Series