Introduction to Hierarchical Data Format (HDF5) - Using HDFview and R 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 Hierarchical Data Format (HDF5) - Using HDFview and R


In this series we cover what a HDF5 format is and how to open, read, and create HDF5 files in R. We also cover extracting and plotting data from HDF5 files.

ata 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 how data can be structured and stored in HDF5
  • Understand how metadata can be added to an HDF5 file
  • Know how to explore HDF5 files using HDFView, a free tool for viewing HDF4 and HDF5 files
  • Know how to work with HDF5 files in R
  • Know how to work with time-series data within a nested HDF5 file

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 those tutorials that focus on teaching data skills.

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