gen_month_arma_trend: Generate monthly climate timeseries using ARMA model with...

View source: R/gen_month.R

gen_month_arma_trendR Documentation

Generate monthly climate timeseries using ARMA model with trend factors

Description

Generate monthly climate timeseries using ARMA model with trend factors

Usage

gen_month_arma_trend(x.reg.yr, x.loc.mon, n.iter, n.year, temp.factors,
  prcp.factors)

Arguments

x.reg.yr

data.frame with regional average annual climate timeseries (YEAR, PRCP, TMAX, TMIN, TAVG)

x.loc.mon

data.frame with annual climate timeseries at selected location (YEAR, MONTH, PRCP, TMAX, TMIN, TAVG)

n.iter

number of iterations for arima simulation

n.year

number of years for arima simulation

temp.factors

vector of additive temperature trend factors

prcp.factors

vector of multiplicative precipitation trend factors

Examples

gen_month_arma_trends(x.reg.yr=clim.reg.yr, x.loc.mon=clim.loc.mon, n.iter=50, n.year=nrow(clim.reg.yr), sim.mon.list=sim.gen$sim.mon, temp.factor=2, prcp.factor=1.5)


walkerjeffd/weathergen documentation built on July 26, 2022, 7:20 a.m.