getLayers: Get the necessary layers for predictive modules such as...

Description Usage Arguments Value Author(s)

View source: R/getLayers.R

Description

Get the necessary layers for predictive modules such as caribouPopGrowth and caribouRSF.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
getLayers(
  currentTime,
  cohortData,
  pixelGroupMap,
  startTime,
  endTime,
  recoveryTime = 40,
  listSACaribou,
  anthropogenicLayer,
  roadDensity,
  waterRaster,
  isRSF = FALSE,
  decidousSp = NULL,
  oldBurnTime = NULL,
  elevation = NULL,
  vrug = NULL,
  LCC05 = NULL,
  reclassLCC05 = NULL,
  rasterToMatch = NULL,
  destinationPath
)

Arguments

currentTime

numeric. Current time being used (i.e. time(sim)).

cohortData

data.table. Output from LandR_Biomass module.

pixelGroupMap

raster to identify the cohortData.

startTime

numeric. startTime of the simulation. Needed to verify and potentially adjust relative simulation times.

endTime

numeric. endTime of the simulation. Needed to verify and potentially adjust relative simulation times.

recoveryTime

numeric. Recovery time in years that the forest needs to support Caribou. Default = 40.

listSACaribou

list of shapefiles with polygons for which we want to calculate lambda for the caribou demographic model.

anthropogenicLayer

Anthropogenic disturbance (raster) layer. Currently, 500m buffered anthropogenic disturbance for demographic models.

roadDensity

Anthropogenic disturbance (raster) layer. Currently, road density layer used for RSF models.

waterRaster

Raster layer indicating water bodies.

isRSF

logical. Identify if it should get the layers for the RSF or demographic model.

decidousSp

binary raster layer indicating if the dominant biomass in a pixel belongs to a deciduous species.

oldBurnTime

numeric. Definition of the initial interval considered to be old burn. The end of this time is 20 years later (i.e. 40-60 years).

elevation

RasterLayer of elevation

vrug

RasterLayer of ruggeness

LCC05

RasterLayer of landcover classes 2005

reclassLCC05

List with reclassification for LCC05 values (i.e. LCC05 classes that should be classified as shrub or herbs)

rasterToMatch

RasterLayer template for these layers to match.

destinationPath

TODO

Value

TODO

Author(s)

Tati Micheletti


tati-micheletti/usefulFuns documentation built on July 7, 2020, 3:19 p.m.