RMAWGEN: Multi-Site Auto-Regressive Weather GENerator

S3 and S4 functions are implemented for spatial multi-site stochastic generation of daily time series of temperature and precipitation. These tools make use of Vector AutoRegressive models (VARs). The weather generator model is then saved as an object and is calibrated by daily instrumental "Gaussianized" time series through the 'vars' package tools. Once obtained this model, it can it can be used for weather generations and be adapted to work with several climatic monthly time series.

AuthorEmanuele Cordano, Emanuele Eccel
Date of publication2017-02-11 04:33:20
MaintainerEmanuele Cordano <emanuele.cordano@gmail.com>
LicenseGPL (>= 2)
Version1.3.3
https://github.com/ecor/RMAWGEN, https://docs.google.com/file/d/0B66otCUk3Bv6V3RPbm1mUG4zVHc/edit, http://presentations.copernicus.org/EGU2012-14026_presentation.pdf, http://presentations.copernicus.org/EGU2012-5404_presentation.pdf

View on CRAN

Man pages

acvWGEN: Plots the auto- and cross- covariance functions between...

adddate: Inserts three columns (year,month,day) passing dates to a...

addsuffixes: Adds suffixes for daily maximum and minimum temperature to...

arch_test: 'arch.test' function for 'varest2' object

ComprehensivePrecipitationGenerator: The comprehensive Precipitation Generator

ComprehensiveTemperatureGenerator: The Comprehensive Temperature Generator

continuity_ratio: Calculates the continuity ratio of a set of precipitation...

countNAs: counts NAs in each row of 'data'

covariance: Calculates the covariance matrix of the normally standardized...

ElevationOf: Extracts the elevation of a meteorological station expressed...

extractdays: Extracts the rows of a matrix corresponding to the requested...

extractmonths: Extracts the rows of a matrix corresponding to requested...

extractTnFromAnomalies: Extracts generated time series of Daily Minimum Temperature...

extractTxFromAnomalies: Extracts generated time series of Daily Maximum Temperature...

extractyears: Extracts the elements of a data frame corresponding to a...

findDate: Finds the date corresponding a row index of a matrix given...

forecastEV: Forecasts the expected value of a VAR realization given the...

forecastResidual: Forecasts the residual value of a VAR realization given the...

generateTemperatureTimeseries: Returns time series of Daily Maximum and Minimum with a...

getDailyMean: Calculates the daily means of a range of days around each...

getMonthlyMean: Calculates the monthly means of a data frame corresponding to...

getVARmodel: Either creates a VAR model or chooses a VAR model by using...

GPCA: This function makes a Gaussianization procedure based on PCA...

GPCA-class: GPCA-class

GPCA_iteration: This function makes an iteration of PCA-Gaussianization...

GPCAiteration-class: GPCAiteration-class

GPCAvarest2-class: GPCAvarest2-class

inv_GPCA: This function makes an inverse Gaussianization procedure...

inv_GPCA_iteration: This function makes an inverse iteration of...

is.monthly.climate: Verifies if 'climate' represents the monthly climatology in...

NewVAReventRealization: Generates a new realization of a VAR model

newVARmultieventRealization: Generates several realizations of a VAR model

normality_test: 'normality.test' method for 'varest2' object

normalizeGaussian: Converts a random variable 'x' extracted by a population...

normalizeGaussian_prec: Converts precipitation values to "Gaussinized"...

normalizeGaussian_severalstations: Converts several samples 'x' random variable extracted by...

normalizeGaussian_severalstations_prec: DEPRECATED Converts several samples 'x' random variable...

plotDailyClimate: Plots daily climatology through one year

plot_sample: It makes a plot by sampling (e.g. monthly) the variables 'x'...

PrecipitationEndDay: Gets the last day in a precipitation time series, expressed...

PrecipitationStartDay: Gets the first day in a precipitation time series, expressed...

print: 'print' S3 method for 'GPCA' or 'GPCA_iteration' object

qqplot.lagged: This function creates a Q-Q plot of the 'lag'-lag moving...

qqplotprecWGEN: Makes a qqplot of measured and simulated data for several...

qqplotprecWGEN_seasonal: Makes four seasonal qqplots (winter, spring, summer and...

qqplot_RMAWGEN_Tx: It makes the Q-Q plots observed vs generated time series of...

qqplotTnTxWGEN: Makes a qqplot of measured and simulated data for several...

qqplotTnTxWGEN_seasonal: Makes four seasonal qqplots (winter, spring, summer and...

qqplotWGEN: Makes a qqplot and Wilcoxon test between the two columns of...

removeNAs: Replaces each entry of the rows containing NA values with NA

rescaling_monthly: This function adjusts the monthly mean to a daily weather...

residuals: 'residuals' S3 method for 'varest2' object

RMAWGEN-package: R - Multi-site Autoregressive WEather Generator

serial_test: 'serial.test' function for 'varest2' object

setComprehensiveTemperatureGeneratorParameters: Computes climatic and correlation information useful for...

splineInterpolateMonthlytoDaily: Interpolates monthly data to daily data using 'spline' and...

splineInterpolateMonthlytoDailyforSeveralYears: Interpolates monthly data to daily data using...

TemperatureEndDay: Gets the last day in a temperature time series, expressed as...

TemperatureStartDay: Gets the first day in a temperature time series, expressed as...

trentino: Trentino Dataset

varest2-class: varest2-class

varest-class: varest-class

VAR_mod: Modified version of 'VAR' function allowing to describe...

WhereIs: Gets the toponym where a meteorological station is located

Functions

acvWGEN Man page
adddate Man page
addsuffixes Man page
arch_test Man page
ComprehensivePrecipitationGenerator Man page
ComprehensiveTemperatureGenerator Man page
continuity_ratio Man page
countNAs Man page
covariance Man page
ELEVATION Man page
ElevationOf Man page
extractdays Man page
extractmonths Man page
extractTnFromAnomalies Man page
extractTxFromAnomalies Man page
extractyears Man page
findDate Man page
forecastEV Man page
forecastResidual Man page
generateTemperatureTimeseries Man page
getDailyMean Man page
getMonthlyMean Man page
getVARmodel Man page
GPCA Man page
GPCA-class Man page
GPCAiteration Man page
GPCA_iteration Man page
GPCAiteration-class Man page
GPCAvarest2 Man page
GPCAvarest2-class Man page
inv_GPCA Man page
inv_GPCA_iteration Man page
is.monthly.climate Man page
LOCATION Man page
NewVAReventRealization Man page
newVARmultieventRealization Man page
normality_test Man page
normalizeGaussian Man page
normalizeGaussian_prec Man page
normalizeGaussian_severalstations Man page
normalizeGaussian_severalstations_prec Man page
plotDailyClimate Man page
plot_sample Man page
PRECIPITATION Man page
PrecipitationEndDay Man page
PRECIPITATION_MEASUREMENT_END_DAY Man page
PRECIPITATION_MEASUREMENT_START_DAY Man page
PrecipitationStartDay Man page
print Man page
print.GPCA Man page
print.GPCAiteration Man page
qqplot.lagged Man page
qqplotprecWGEN Man page
qqplotprecWGEN_seasonal Man page
qqplot_RMAWGEN_deltaT Man page
qqplot_RMAWGEN_prec Man page
qqplot_RMAWGEN_Tn Man page
qqplot_RMAWGEN_Tx Man page
qqplotTnTxWGEN Man page
qqplotTnTxWGEN_seasonal Man page
qqplotWGEN Man page
removeNAs Man page
rescaling_monthly Man page
residuals Man page
residuals.varest2 Man page
RMAWGEN Man page
RMAWGEN-package Man page
serial_test Man page
setComprehensiveTemperatureGeneratorParameters Man page
splineInterpolateMonthlytoDaily Man page
splineInterpolateMonthlytoDailyforSeveralYears Man page
STATION_LATLON Man page
STATION_NAMES Man page
TemperatureEndDay Man page
TEMPERATURE_MAX Man page
TEMPERATURE_MEASUREMENT_END_DAY Man page
TEMPERATURE_MEASUREMENT_START_DAY Man page
TEMPERATURE_MIN Man page
TemperatureStartDay Man page
trentino Man page
varest Man page
varest2 Man page
varest2-class Man page
varest-class Man page
VAR_mod Man page
WhereIs Man page

Files

RMAWGEN
RMAWGEN/inst
RMAWGEN/inst/CITATION
RMAWGEN/inst/doc
RMAWGEN/inst/doc/examples
RMAWGEN/inst/doc/examples/precipitation-generator.R
RMAWGEN/inst/doc/examples/marginal_gaussianization1.R
RMAWGEN/inst/doc/examples/trentino_map_2stations.R
RMAWGEN/inst/doc/examples/weather-generator.R
RMAWGEN/inst/doc/examples/example_scripts_presentation
RMAWGEN/inst/doc/examples/example_scripts_presentation/temperature-generator_jss.R
RMAWGEN/inst/doc/examples/example_scripts_presentation/precipitation-generator_jss.R
RMAWGEN/inst/doc/examples/example_scripts_presentation/precipitation-generator_jss_uncoupled.R
RMAWGEN/inst/doc/examples/temperature-generator.R
RMAWGEN/inst/doc/examples/trentino_map.R
RMAWGEN/NAMESPACE
RMAWGEN/data
RMAWGEN/data/datalist
RMAWGEN/data/trentino.rda
RMAWGEN/R
RMAWGEN/R/removeNAs.R RMAWGEN/R/qqplotWGEN.R RMAWGEN/R/RMAWGEN-package.R RMAWGEN/R/PrecipitationStartDay.R RMAWGEN/R/splineInterpolateMonthlytoDaily.R RMAWGEN/R/getDailyMean.R RMAWGEN/R/ElevationOf.R RMAWGEN/R/is.monthly.climate.R RMAWGEN/R/PrecipitationEndDay.R RMAWGEN/R/covariance.R RMAWGEN/R/qqplotTnTxWGEN_seasonal.R RMAWGEN/R/NewVAReventRealization.R RMAWGEN/R/print.GPCAiteration.R RMAWGEN/R/countNAs.R RMAWGEN/R/print.GPCA.R RMAWGEN/R/continuity_ratio.R RMAWGEN/R/serial_test.varest2.R RMAWGEN/R/newVARmultieventRealization.R RMAWGEN/R/qqplotprecWGEN_seasonal.R RMAWGEN/R/extractyears.R RMAWGEN/R/zc1_varest2.R RMAWGEN/R/forecastResidual.R RMAWGEN/R/residuals.varest2.R RMAWGEN/R/arch_test.varest2.R RMAWGEN/R/forecastEV.R RMAWGEN/R/TemperatureEndDay.R RMAWGEN/R/inv_GPCA_iteration.R RMAWGEN/R/GPCA_iteration.R RMAWGEN/R/VAR_mod.R RMAWGEN/R/getMonthlyMean.R RMAWGEN/R/splineInterpolateMonthlytoDailyforSeveralYears.R RMAWGEN/R/normalizeGaussian_sevaralstations.R RMAWGEN/R/ComprehensiveTemperatureGenerator.R RMAWGEN/R/normalizeGaussian_sevaralstations_prec.R RMAWGEN/R/extractTnFromAnomalies.R RMAWGEN/R/extractdays.R RMAWGEN/R/extractTxFromAnomalies.R RMAWGEN/R/WhereIs.R RMAWGEN/R/GPCA.R RMAWGEN/R/qqplotprecWGEN.R RMAWGEN/R/getVARmodel.R RMAWGEN/R/qqplot_RMAWGENts.R RMAWGEN/R/inv_GPCA.R RMAWGEN/R/extractmonths.R RMAWGEN/R/rescaling_monthly.R RMAWGEN/R/normality_test.varest2.R RMAWGEN/R/zc0_GPCAiteration.R RMAWGEN/R/findDate.R RMAWGEN/R/adddate.R RMAWGEN/R/plot.sample.R RMAWGEN/R/TemperatureStartDay.R RMAWGEN/R/normalizeGaussian.R RMAWGEN/R/normalizeGaussian_prec.R RMAWGEN/R/ComprehensivePrecipitationGenerator.R RMAWGEN/R/zc0_varest.R RMAWGEN/R/acvWGEN.R RMAWGEN/R/qqplotTnTxWGEN.R RMAWGEN/R/generateTemperatureTimeseries.R RMAWGEN/R/zc0_GPCA.R RMAWGEN/R/addsuffixes.R RMAWGEN/R/zc2_GPCAvarest2.R RMAWGEN/R/qqplot.lagged.R RMAWGEN/R/setWholeTemperatureGeneratorParameters.R RMAWGEN/R/plotDailyClimate.R
RMAWGEN/README.md
RMAWGEN/MD5
RMAWGEN/DESCRIPTION
RMAWGEN/man
RMAWGEN/man/qqplot_RMAWGEN_Tx.Rd RMAWGEN/man/GPCA_iteration.Rd RMAWGEN/man/arch_test.Rd RMAWGEN/man/normality_test.Rd RMAWGEN/man/qqplotTnTxWGEN_seasonal.Rd RMAWGEN/man/getVARmodel.Rd RMAWGEN/man/ElevationOf.Rd RMAWGEN/man/extractmonths.Rd RMAWGEN/man/qqplotprecWGEN_seasonal.Rd RMAWGEN/man/varest-class.Rd RMAWGEN/man/extractyears.Rd RMAWGEN/man/rescaling_monthly.Rd RMAWGEN/man/residuals.Rd RMAWGEN/man/getMonthlyMean.Rd RMAWGEN/man/is.monthly.climate.Rd RMAWGEN/man/PrecipitationEndDay.Rd RMAWGEN/man/normalizeGaussian_severalstations.Rd RMAWGEN/man/splineInterpolateMonthlytoDailyforSeveralYears.Rd RMAWGEN/man/addsuffixes.Rd RMAWGEN/man/splineInterpolateMonthlytoDaily.Rd RMAWGEN/man/ComprehensiveTemperatureGenerator.Rd RMAWGEN/man/plotDailyClimate.Rd RMAWGEN/man/normalizeGaussian_prec.Rd RMAWGEN/man/plot_sample.Rd RMAWGEN/man/qqplotWGEN.Rd RMAWGEN/man/NewVAReventRealization.Rd RMAWGEN/man/qqplot.lagged.Rd RMAWGEN/man/forecastResidual.Rd RMAWGEN/man/generateTemperatureTimeseries.Rd RMAWGEN/man/TemperatureStartDay.Rd RMAWGEN/man/extractTnFromAnomalies.Rd RMAWGEN/man/qqplotprecWGEN.Rd RMAWGEN/man/getDailyMean.Rd RMAWGEN/man/GPCAiteration-class.Rd RMAWGEN/man/inv_GPCA_iteration.Rd RMAWGEN/man/continuity_ratio.Rd RMAWGEN/man/countNAs.Rd RMAWGEN/man/VAR_mod.Rd RMAWGEN/man/RMAWGEN-package.Rd RMAWGEN/man/newVARmultieventRealization.Rd RMAWGEN/man/ComprehensivePrecipitationGenerator.Rd RMAWGEN/man/inv_GPCA.Rd RMAWGEN/man/GPCAvarest2-class.Rd RMAWGEN/man/WhereIs.Rd RMAWGEN/man/covariance.Rd RMAWGEN/man/GPCA.Rd RMAWGEN/man/TemperatureEndDay.Rd RMAWGEN/man/acvWGEN.Rd RMAWGEN/man/normalizeGaussian_severalstations_prec.Rd RMAWGEN/man/GPCA-class.Rd RMAWGEN/man/varest2-class.Rd RMAWGEN/man/extractTxFromAnomalies.Rd RMAWGEN/man/adddate.Rd RMAWGEN/man/print.Rd RMAWGEN/man/serial_test.Rd RMAWGEN/man/setComprehensiveTemperatureGeneratorParameters.Rd RMAWGEN/man/forecastEV.Rd RMAWGEN/man/qqplotTnTxWGEN.Rd RMAWGEN/man/normalizeGaussian.Rd RMAWGEN/man/removeNAs.Rd RMAWGEN/man/PrecipitationStartDay.Rd RMAWGEN/man/trentino.Rd RMAWGEN/man/extractdays.Rd RMAWGEN/man/findDate.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.