sim.field: Internal function called by the Field.sim and the...

Description Usage Arguments Details Value Author(s)

Description

Internal function called by the Field.sim and the ProbForecastGOP functions to simulate realizations of forecast weather fields. It returns a matrix with values of the realizations.

Usage

1
sim.field(variog.model,param.est,x,y,n.sim)

Arguments

variog.model

character string with the name of the variogram model to be used for the simulations. Implemented models are exponential, spherical, gauss, matern, and gencauchy.

param.est

numeric vector containing values for the parameters to use in the parametric variogram model.

x

numeric vector of length n containing the longitudes of the grid points at which the the realizations of the weather forecast fields should be given.

y

numeric vector of length n containing the latitudes of the grid points at which the the realizations of the weather forecast fields should be given.

n.sim

number of realizations to be simulated.

Details

This function is an internal function that is used and called by the Field.sim and the ProbForecastGOP function to simulate realizations of forecast weather fields.

- Defaults -

None.

Value

The function returns a numeric matrix of dimension n by n.sim where each column represents a realization of a forecast weather field on a region delimited by the lower and upper bound for the longitude and the latitude.

Author(s)

Berrocal, V. J. veroberrocal@gmail.com, Gel, Y., Raftery, A. E., Gneiting, T.


ProbForecastGOP documentation built on May 2, 2019, 3:42 a.m.