TransformTemp: Transformation of temperature

Description Usage Arguments

Description

Function reads 'reference data' with time series of daily of mean, minimum or maximum temperature [degree Celsius] and 'change factors' from input files and applies them to function 'tm_trans_KNMI14' to obtain 'future time series' that match a certain climate

Usage

1
2
TransformTemp(input, var, scenario = "GL", horizon = 2030,
  regions = "NLD", ofile = NA, rounding = TRUE)

Arguments

input

knmiTF object or name of the input file (ASCII) that contains reference data (all numerics) in which the columns provide time series for specific stations. The first column should provide either 00000000 or a datestring YYYYMMDD:
Rows starting with 00000000 are considered station info (station number, lat, lon etc.) and are ignored.
Rows starting with a datestring refer to a specific day in the time series.
Rows starting with "#" are completely ignored and returned unchanged.

var

kind of daily temperature variable ("tg" = daily mean, "tn" = daily minimum, "tx" = daily maximum)

scenario

scenario ("GL"=DEFAULT, "GH", "WL", "WH")

horizon

time horizon (2030=DEFAULT, 2050, 2085)

regions

vector of regions KNMI14 distinguishes following regions:
<NLD> Nederland (DEFAULT)
<NWN> Noordwest Nederland
<ZWN> Zuidwest Nederland
<NON> Noordoost Nederland
<MON> Middenoost Nederland
<ZON> Zuidoost Nederland

ofile

Name of the output file to write the transformed data to. Format is similar to input file mentioned in input. By default no output file is written.

rounding

Logical (default = TRUE) if results should be rounded


MartinRoth/knmitransformer documentation built on May 7, 2019, 3:39 p.m.