spatializeAll_grass: Spatialize wrapper: apply to multiple years

Description Usage Arguments Examples

View source: R/results_spatialize_grasslandOverride.R

Description

Function to apply the spatialize function to all years, and export rasters, optionally

Usage

1
2
spatializeAll_grass(expt.df, variable, yearsWanted, gridkey, template, aoi,
  writeOut = "N", outFolder = "")

Arguments

variable

Variable to process

yearsWanted

vector of years to process

gridkey

data.frame key linking ExpID and template gridcell

template

raster template

aoi

Area of interest to clip to defined by a spdf

writeOut

Y or N

outFolder

Needed if writeOut = 'Y'

expt_df

Data.frame containing SALUS annual results in long format, loaded with readr::read_csv

Examples

1
#' # example forthcoming

jdeines/salustools documentation built on May 29, 2019, 1:03 a.m.