Mo.Th.Ra.: Creates a table of mean monthly "daily thermal range" (dtr)

Description Usage Arguments Value Author(s) See Also Examples

View source: R/F_Mo.Th.Ra.R

Description

Creates a table of mean monthly DTR (difference between maximum and minimum temperature) over the series' period, to use a reference for establishing the exponent "z" of the night stretch of the interpolation curve.

Usage

1
2
  Mo.Th.Ra.(Tmin, Tmax, name, min_mo.length = 21,
    silent = FALSE)

Arguments

Tmin

a table of 4 named columns, the first are year, month, day, the 4th is minimum temperature. The column names "month" and "T" are mandatory

Tmax

same for Tmax

name

name of the series dtr is calculated for

min_mo.length

minimum number of days necessary to calculate monthly dtr values

silent

logical. If TRUE no warning is issued

Value

A vector of 12 dtr values (1 for January, ... 12 for December)

Author(s)

Emanuele Eccel, Emanuele Cordano emanuele.eccel@iasma.it

See Also

shape_calibration, Th_int_series

Examples

1
2
3
4
5
data(Trentino_hourly_T)
id<-"T0001"
Tmin<-data.frame(Tn[,1:3], T=Tn[,id])
Tmax<-data.frame(Tx[,1:3], T=Tx[,id])
dtr <- Mo.Th.Ra.(Tmin = Tmin, Tmax = Tmax, name = id)

Interpol.T documentation built on May 2, 2019, 12:21 a.m.