Description Usage Arguments Author(s)
View source: R/TopoSUB_remap.R
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: ...
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")
|
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 |
Johannes Brenner, Johannes.Brenner@eurac.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.