BITraster: S4 class for extending Raster* to EROS BIT dataset

Description Usage Details Slots Author(s)

Description

NA

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## S4 method for signature 'BITraster'
initialize(.Object, ...)

.make_mask(BITraster, mask, filename)

## S4 method for signature 'ANY,SpatialPolygonsDataFrame'
MakeMask(BITraster, mask, filename)

.template_BIT(template, dir, variables, years)

## S4 method for signature 'SpatialPolygonsDataFrame'
TemplateBIT(template, dir, variables, years)

## S4 method for signature 'RasterLayer'
TemplateBIT(template, dir, variables, years)

## S4 method for signature 'BITraster'
addLayer(x, ...)

.subset_BIT_points(BITraster, points, variables, years, parallel = FALSE)

## S4 method for signature 'ANY,matrix'
SubsetPoints(BITraster, points, variables, years, parallel = FALSE)

## S4 method for signature 'ANY,data.frame'
SubsetPoints(BITraster, points, variables, years, parallel = FALSE)

## S4 method for signature 'ANY,SpatialPoints'
SubsetPoints(BITraster, points, variables, years, parallel = FALSE)

## S4 method for signature 'ANY,SpatialPolygonsDataFrame'
SubsetPoints(BITraster, points, variables, years, parallel = FALSE)

Details

NA

'mask' must be a RasterLayer with the same extent and resolution as the BITraster

Slots

variables

Character vector describing the contained BIT variables

data_directory

Full path to un-zipped BIT data, defaults to current working directory

temp_directory

Optional place to put temporary raster files (they get big)

years

Years of the analysis

character

Character vector with filepath to a mask. See details

Author(s)

Brandon McNellis


bmcnellis/EROSBIT documentation built on Dec. 31, 2020, 8:55 p.m.