From bd7be637d929ec751fa4a3169eeea93704d95be5 Mon Sep 17 00:00:00 2001 From: Bridget Hass <101811216+bhass-neon@users.noreply.github.com> Date: Fri, 16 Feb 2024 14:49:40 -0700 Subject: [PATCH] update to say `terra` package instead of `raster` --- .../Work-With-Hyperspectral-Data-In-R.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/R/AOP/Hyperspectral/Work-With-Hyperspectral-Data-In-R/Work-With-Hyperspectral-Data-In-R.html b/tutorials/R/AOP/Hyperspectral/Work-With-Hyperspectral-Data-In-R/Work-With-Hyperspectral-Data-In-R.html index 08587a07..3103f67e 100644 --- a/tutorials/R/AOP/Hyperspectral/Work-With-Hyperspectral-Data-In-R/Work-With-Hyperspectral-Data-In-R.html +++ b/tutorials/R/AOP/Hyperspectral/Work-With-Hyperspectral-Data-In-R/Work-With-Hyperspectral-Data-In-R.html @@ -121,7 +121,7 @@

About Hyperspectral Remote Sens

The HDF5 data model natively compresses data stored within it (makes it smaller) and supports data slicing (extracting only the portions of the data that you need to work with rather than reading the entire dataset into memory). These features make it ideal for working with large data cubes such as those generated by imaging spectrometers, in addition to supporting spatial data and associated metadata.

In this tutorial we will demonstrate how to read and extract spatial raster data stored within an HDF5 file using R.

Read HDF5 data into R

-

We will use the raster and rhdf5 packages to read in the HDF5 file that contains hyperspectral data for the +

We will use the terra and rhdf5 packages to read in the HDF5 file that contains hyperspectral data for the NEON San Joaquin (SJER) field site. Let’s start by calling the needed packages and reading in our NEON HDF5 file.

Please be sure that you have at least version 2.10 of rhdf5 installed. Use: