TopoSUB_remap: Mapping functionaltities for TopoSUB simulation.

Description Usage Arguments Author(s)

View source: R/TopoSUB_remap.R

Description

A post-processing tool for TopoSUB-GEOtop simulations. Re-mapping of cluster centroids for climate periods (30years) on yearly, seasonal and monthly basis. Calculation of differences between periods (e.g. "near future" - "baseline") and post-processing functions for specific variables (e.g. snow cover days from snow water equivalent, drought indicies from soil water content). Output is stored in TopoSUB simulation path: OUTcsv - averages year and month, OUTperiod: raster maps for climate perids and differences, OUTsequence: ...

Usage

1
2
3
4
5
6
7
8
9
TopoSUB_remap(data, variable, wpath, 
              location.file = "locations.txt", setup.file = "setup.txt",
              periods=list(baseline = c(1980,2010), per1 = c(2020,2050), 
                            per2 = c(2045,2075), per3 = c(2070,2100)),
              periods_aggr = list(aggr = c("season", "veg_period"), fun = "mean", 
                                  diff = c("absolute","percentage")),
              sequence = list(period = c(1980,2010),
                              aggr = c("year","season","month")),
              postprocess = NULL, coords = "+proj=utm +zone=32 ellps=WGS84")

Arguments

data

data.table as retrieved from function "TopoSUB_read"

variable

name of variable to re-map, corresponds to names(data)

wpath

path into topoSUB simulation

periods

list containing period ranges

periods_aggr

list containing aggregation features (aggr), function for aggregation (fun) and features for calculating diffenences between periods (diff)

sequence

list containing sequence range (period) and features for aggregation (aggr)

postprocess

postprocess function, if NULL no postprocessing

coords

specification of coordinate system

Author(s)

Johannes Brenner, Johannes.Brenner@eurac.edu


JBrenn/TopoSUB documentation built on May 7, 2019, 7:39 a.m.