MetGen-package {MetGen}R Documentation

Stochastic Weather Generator

Description

An adaptation of the multi-variable stochastic weather generator (SWG) proposed in Rglimclim to perform gap-filling and temporal extension at sub-daily resolution. Simulation is performed based on large scale variables and climatic observation data that could be generated from different gauged stations having geographical proximity. SWG relies on ERA5 reanalyses. Multivariable dependance is taking into account by using the decomposition of the product rule (in statistics) into conditional probabilities. See Farhani et al 2020 https://hal.archives-ouvertes.fr/hal-02554676

Details

The DESCRIPTION file:

Package: MetGen
Type: Package
Title: Stochastic Weather Generator
Version: 0.5
Date: 2020-05-29
Author: Julie Carreau, Nesrine Farhani
Maintainer: Nesrine Farhani <nesrine.farhani@ird.fr>
Description: An adaptation of the multi-variable stochastic weather generator proposed in 'Rglimclim' to perform gap-filling and temporal extension at sub-daily resolution. Simulation is performed based on large scale variables and climatic observation data that could be generated from different gauged stations having geographical proximity. SWG relies on reanalyses. Multi-variable dependence is taking into account by using the decomposition of the product rule (in statistics) into conditional probabilities. See <https://hal.archives-ouvertes.fr/hal-02554676>.
License: GPL (>=2.0)
LazyLoad: yes
LazyData: true
Depends: chron, glmnet, MASS
URL: www.r-project.org

The SWG is based on generalized linear models (GLMs) for each hydro-meteorological variable with a suitable probability distribution (Normal, Gamma or Binomial) and appropriate covariates. Covariates are considered in the GLMs to account for temporal and spatial variability. The inter-variable dependencies are taken into account by including a subset of hydro-meteorological variables (excluding the one being modelled) in the covariates of the GLMs. Large-scale atmospheric variables and deterministic effects (seasonal and diurnal cycles, geographical information and temporal persistence) are also included in the covariates.

Index of help topics:

MetGen-package          Stochastic Weather Generator
diurnal.effect          diurnal and seasonal effects
fit.glm                 Fitting Generalized Linear Models
fit.lasso               Lasso regression
formating.var           Format variables
imputation.lagged       Imputation
lagged.effect           lag effect
movave.effect           Moving average
myclimatic_data         climatic data
mycovariates            Covariates data
projection.lagged       climatic variable simulation
rm.buffer               Remove buffer
sim.glm                 Simulation of glm
spatave.effect          Spatial average

1- This package helps to define the probability distribution and covariates for each hydro-meteorological variables using fit.lasso function.

2- The package can be used either in a gap filling mode in which missing values in observation period are imputed using imputation.lagged function, or in a projection mode in which the generator simulates values on a period with no observations to perform temporal extension using projection.lagged function.

Author(s)

Julie Carreau, Nesrine Farhani

Maintainer: Nesrine Farhani <nesrine.farhani@ird.fr>

References

Chandler, R. 2015. A multisite, multivariate daily weather generator based on Generalized Linear 9 Models. User guide:R package.

Farhani N, Carreau J, Kassouk Z, Mougenot B, Le Page M, et al.. Sub-daily stochastic weather generator based on reanalyses for water stress retrieval in central Tunisia. 2020. (hal-02554676)

See Also

fit.glm


[Package MetGen version 0.5 Index]