vDTR: annual mean of the absolute day-to-day differences of DTR...

Description Usage Arguments Value Author(s) Source References Examples

Description

VDTR returns the annual mean of the absolute day-to-day differences of the diurnal temperature range (VDTR).

Usage

1
VDTR(yearDF,datecol,valcol)

Arguments

yearDF

matrix with diurnal temperature range data

datecol

column with dates

valcol

column with diurnal temperature range data

Value

absolute day-to-day differences of the diurnal temperature range (VDTR).

Author(s)

Jose Gama

Source

Wijngaard, J. B., Klein Tank, A. M. G. and K<c3><b6>nnen, G. P. (2003), Homogeneity of 20th century European daily temperature and precipitation series. Int. J. Climatol., 23: 679<e2><80><93>692. doi: 10.1002/joc.906

References

Wijngaard, J. B., Klein Tank, A. M. G. and K<c3><b6>nnen, G. P. (2003), Homogeneity of 20th century European daily temperature and precipitation series. Int. J. Climatol., 23: 679<e2><80><93>692. doi: 10.1002/joc.906

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# data from the ECA station series of Eelde (The Netherlands) from 1900 to 2000
EtmgegData<-ReadEtmgegFile('etmgeg_280.txt',c(2,12,13,15))
until2000<-EtmgegData[which(EtmgegData[,1]<'2001-01-01'),] # zr are the data until 2000
until2000[,2:4]<-until2000[,2:4]/10 # divide by 10 to get a scale of 1 degrees Celsius
# calculate DTR
u2000DTR<-until2000[,-2] #get rid of the mean
u2000DTR[,2]<-u2000DTR[,3]-u2000DTR[,2] #DTR=MAX-MIN
u2000DTR<-u2000DTR[,-3]
u2000mDTR<-YearMeanFromDay(u2000DTR,1,2)
# calculate VDTR
u2000VDTR<-VDTR(u2000DTR,1,2)

climtrends documentation built on May 2, 2019, 5:53 p.m.

Related to vDTR in climtrends...