monthly.climatology.from.daily.data: Monthly climatology

Description Usage Arguments Value Author(s) Examples

Description

MonthlyClimatologyFromDailyData returns the monthly climatology (long-term average, for each month, of a given variable).

Usage

1
MonthlyClimatologyFromDailyData(dataSeries,fromYear=1961,toYear=1990)

Arguments

dataSeries

time series of climate data

fromYear

start of the long-term average

toYear

end of the long-term average

Value

Monthly climatology.

Author(s)

Jose Gama

Examples

1
2
3
4
# xgdcnCA008201000.dat is from ECA COLLEGEVILLE temperature
setwd(system.file('extdata/', package='climtrends'))
dailyCollegeville <- ReadGHCNymd('xgdcnCA008201000.dat')
MonthlyClimatologyFromDailyData(dailyCollegeville)

Example output

   month      data
1      1 -1.910806
2      2 -1.910411
3      3  2.116774
4      4  7.494889
5      5 14.585873
6      6 20.240667
7      7 23.795376
8      8 23.395806
9      9 18.806559
10    10 13.025561
11    11  6.881954
12    12  1.026770

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