prepInputsLayers_DUCKS: Prepare DUCKS layer

Description Usage Arguments Value

View source: R/prepInputsLayers_DUCKS.R

Description

This function is intended to prepare the DUCKS Unlimited Hybrid Wetland v. 2.1 layer to be used for different purposes. The output is a RasterLayer cropped and reprojected to the studyArea, as well as resampled to the rasterToMatch if any of these are provided.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
prepInputsLayers_DUCKS(
  destinationPath,
  lccLayer = "2005",
  url = NULL,
  archive = NULL,
  targetFile = NULL,
  studyArea = NULL,
  rasterToMatch = NULL,
  overwrite = TRUE
)

Arguments

destinationPath

Path where to save the downloaded file.

lccLayer

Which year should be used as a base for the vegetation layer? Default to 2005

url

The url from where the layer should be downloaded from. If NULL, the default is used.

archive

TODO

targetFile

TODO

studyArea

Study area for which the layer should be cropped to

rasterToMatch

TODO

overwrite

Logical indicating whether to overwrite the previously processed file.

Value

RasterLayer


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