Vesper
Vesper
Vesper
8. Cokriging. GenStat will predict the values of any one variate from values of it
and others coregionalized with it at points or in blocks by ordinary cokriging
using the models fitted by the coregionalization directive.
9. Nested analysis. Geostatisticians are recognizing the merits of nested sampling
and analysis for revealing the gross spatial structure of regionalized variables
(see Chapters 2 and 9). The data can be analysed by ANOVA, but the solution is
not unique; they are better analysed by residual maximum likelihood (REML) as
devised by Patterson and Thompson (1971). GenStat has a comprehensive suite
of facilities for analysing data from such designs.
Webster and Oliver (2007) provide examples of GenStat code for these tasks. The
standard operations can be done either by written commands in the GenStat lan-
guage or by menu. In the latter case GenStat generates the code and saves it in an
output log. This means that you have a full record, step by step, of what you have
done and that you can modify the code to create more comprehensive programs.
A.2 VESPER
Australian Centre for Precision Agriculture, The University of Sydney, NSW 2006,
Australia
A.2.1 Background
Kriging with local variograms, also known as kriging and automated variogram
modelling within a moving window, involves searching for the closest neigh-
bourhood for each prediction site, estimating the empirical variogram from the
neighbourhood, fitting a variogram model to the data automatically by a non-linear
least squares approach, kriging with local neighbourhood and variogram parameters
and calculating the uncertainty of kriging prediction. The program adapts itself spa-
tially in the presence of distinct differences in local structure over the whole field.
Local variogram estimation and kriging can preserve the true local spatial variation
in the predictions. In most cases, local variograms could circumvent the problems
of anisotropy and the need for trend analysis.
Fig. A.1 Operational panels of VESPER: (a) file input/output control panel, (b) variogram panel
showing available models, (c) weighting options for model fitting and (d) global variogram opera-
tion window
usually the best for local variogram estimation of yield data. More complex models,
e.g. Matérn models, often become unstable with automatic local fitting (the covari-
ance matrix can become non positive-definite in some local areas). We recommend
limiting model selection to either exponential or spherical models.
The kriging panel (Fig. A.2) provides punctual or block options. It is possible to
define the block size (if relevant), set neighbourhood limits based on radial distance
or number of data points and manipulate the kriging region. For yield data, a block
size close to the swath width is recommended (a 10 m2 block is sufficient for most
combine harvester fronts at present).
318 Appendix: Software
Fig. A.2 Kriging panel of VESPER – showing controls for punctual or block kriging, neighbour-
hood definition, boundary, grid and advanced options
An interpolation grid is used to define the location of the points to which the data
will be predicted. The interpolation grid allows data that are collected at different in-
tervals to be collocated and analysed further. The interpolation grid can be specified
in one of the following options:
When the field has a rectangular shape, a grid with regular distance can be
defined.
When the field has an irregular shape, the boundary can be manually defined and
a grid with regular distance can be generated that is confined to the boundary
area.
A file containing a pre-defined grid can be specified. Users can define the spatial
coordinates of the prediction.
For most precision agriculture applications, the field boundary will provide the lim-
its of the kriging region. VESPER provides the option of importing an existing
boundary file or describing the field boundary using an interactive drawing tool.
The prediction grid (at user-defined distances) may then be produced with the soft-
ware or an existing grid file can be imported. These features are important for the
continuity of prediction sites through time within a field.
In addition, for specific applications, VESPER can also perform:
Lognormal Kriging – transforms lognormal data before performing the interpo-
lation process.
Appendix: Software 319
Fig. A.3 Local variogram, data neighbourhood and prediction point progress map for an area
with: (a) low variability and (b) greater variability
320 Appendix: Software
Fig. A.4 Output maps for: (a) kriged predictions and (b) kriging variances
with a count of visited versus total prediction sites. For local kriging, individual var-
iograms and the fitted models are displayed for the search neighbourhood around
each prediction point. Note in Fig. A.3a, b that this local method allows changes in
local variability to be reflected in the variogram parameters for each prediction. The
graphical progress facilities can be disengaged to increase the speed of the predic-
tion process.
The output for all kriging operations is an ASCII text file containing the pre-
diction point location coordinates, the predicted value and the kriging variance. An
input file detailing the exact settings for each prediction session is also saved to-
gether with a report file logging global variogram parameters or the parameters of
each local variogram depending on the operation. Other details of the data and krig-
ing session are also recorded in this file for future reference. Maps of estimates and
prediction variances (Fig. A.4) can be obtained at the end of kriging.
VESPER is available as freeware from the ACPA at www.usyd.edu.au/su/agric/
acpa The CSIRO Precision Viticulture group produces a PostVesper tool which au-
tomates the process of converting file output from the Vesper kriging program into
raster format in ArcGIS.
A.2.3 Applications
VESPER has been used both for research and practical applications. Google Scholar
identified about 135 papers that mentioned the use of VESPER for kriging. In Aus-
tralia, it is being used routinely for making yield maps with data from commercially
available yield monitors for cereals and grapes, for example. VESPER is used rou-
tinely to format multi-year and multi-sensor data onto a single grid for multivariate
analysis and the creation of potential management classes.