anomaly.station {clim.pact}R Documentation

Anomaly.station

Description

Computes anomalies of a station series by subtracting the climatology. The climatology is estimated either by taking the average of the respective months over a given reference period or a least squares fit to the 6 leading harmonics, depending on the appropriateness. Also see anomaly.field.

Usage

anomaly.station(obs,period=c(1961,1990),param=c("t2m","precip"))
daily2monthly.station(obs,param="t2m",min.days.month=20,method="mean",na.rm=TRUE)

Arguments

obs Monthly station series
period Period to use as climatology NULL -> the entire series as reference clim.
param For daily objects: identifies the names of the parameters.
min.days.month Minumum days per month for estimating monthly mean.
method Meathod for treating the daily values.
na.rm na.rm

Value

Station series object.

Author(s)

R.E. Benestad

Examples

library(clim.pact)
data(oslo.t2m)
oslo.t2ma<-anomaly.station(oslo.t2m)

[Package clim.pact version 2.2-15 Index]