engrid: Internal function used to generate a numeric square matrix that is subsequently used to produce graphical displays of the weather field.
Description
Generates a numeric square matrix containing the values of the weather field on a grid to be displayed. Internal function called by the plotfields function.
Usage
engrid(coord1, coord2, val)
Arguments
coord1
numeric vector containing the longitudes of the meteorological stations.
coord2
vector containing the latitudes of the metereological stations.
val
numeric vector with the values of the weather field to display.
Value
The function returns a numeric square matrix with values of the random variables evaluated over a square grid placed on the domain
delimited by the coord1 and coord2 vectors.
Details
This function is an internal function that is used and called by the plotfields functions to generate a numeric square matrix subsequently used to produce graphical displays of the weather field.