Learning Objectives
Following this assignment students should be able to:
- import, view properties, and plot a
raster
- perform simple
raster
math- extract points from a
raster
using a shapefile- evaluate a time series of
raster
Reading
-
Topics
raster
- Raster math
- Plotting spatial images
- Integrate
raster
andvector
data
-
Exercises
-
Visiting Speaker: JP Schmidt (Research Scientist)
Lecture Notes
Exercises
-- Canopy Height from Space --
The National Ecological Observatory Network has invested in high-resolution airborne imaging of their field sites. Elevation models generated from LiDAR can be used to map the topography and vegetation structure at the sites. This data gets really powerful when you can compare ecological processes across sites. Download the elevation models for the Harvard Forest (
HARV
) and San Joaquin Experimental Range (SJER
) and the plot locations for each of these sites. Often, plots within a site are used as representative samples of the larger site and act as reference areas to obtain more detailed information and ensure accuracy of satellite imagery (i.e., ground truth).-
Generate a Canopy Height Model for each site (
HARV
andSJER
) using simpleraster
math, wherechm = dsm - dtm
. -
plot()
thechm
andhist()
of canopy heights for each site on a single panel. Theraster
package modifiesplot()
from the basic Rgraphics
package, so usepar(mfrow=c(2,2), mar=c(5, 4, 2, 2))
prior to plotting to get the four figures on the same panel and to set margins to make labels visible. -
Add the
plot_locations
to the site images. Use theadd=TRUE
argument in anotherplot()
immediately proceeding plotting the site image to add the plot points.Don’t see the
plot_locations
on the map??? Compare thecrs(chm)
tocrs(plot_locations)
. HINT: They should be the same. -
Extract the maximum canopy heights for each plot at both sites within 10 meters of the center of the plot.
-
-- Phenology from Space --
The high-resolution images from NEON Canopy Height from Space can be integrated with satellite imagery that is gathered more frequently. We will use data collected from MODIS. One common ecological process that can be observed from space is phenology (or seasonal patterns) of plants. Multi-band satellite imagery can be processed to provide a vegetation index of greenness called NDVI. NDVI values range from
-1.0
to1.0
, where negative values indicate clouds, snow, and water; bare soil returns values from0.1
to0.2
; and green vegetation returns values greater than0.3
.Download
HARV_NDVI
andSJER_NDVI
and place them in a folder with the NEON airborne data. Thezip
contain folders with a year’s worth of NDVI sampling from MODIS. The files are in order (and named) by date and can be organized implicitly by sampling period for analysis.-
Plot the mean NDVI through time for Harvard Forest and SJER using different colors for the two sites.
Optional challenge: Extract
sampling_day
from the NDVIfile_name
and include that with yourdata.frame
for graphing. -
Describe the differences in vegetation structure (
chm
) and seasonal phenology (NDVI
) that you observe in this analysis in a comment.
-
In class, JP went through some of his code from Schmidt et al. 2017. I’ve uploaded it to our site here.