Skip to contents

extract timeseries values from a raster stack for a set of points

Usage

extract_sites(r, pts, ID = NULL)

Arguments

r

a SpatRaster object

pts

point to extract from

ID

the unique identifier of each point (column name from pts)

Value

a data.frame with columes representing points, and rows time periods