sim.field: Internal function called by the Field.sim and the ProbForecastGOP functions to simulate realizations of forecast weather fields.
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
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.
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.
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.