extract2: extract2

Description Usage Arguments Details Value

View source: R/extract2.R

Description

Extract of values from multi-extent raster objects with a spatial object.

Usage

1
extract2(x, y, x.date, out.date, time.buffer = c(365, 365))

Arguments

x

A character vector with the paths to RasterLayer objects or a list of RasterLayers.

y

An object of class SpatialPoints or SpatialPolygons.

x.date

Object of class Date with the acquisition dates of each element in x.

out.date

Object of class Date with the desired output dates.

time.buffer

Two-element, numeric vector.

Details

Creates a rectangular fishnet in a SpatialPolygons format based on the extent of x and the value of y which defines the spatial resolution.

Value

A list object.


CAWaR documentation built on July 8, 2020, 7:06 p.m.