Building Blocks for Direct Sequential Simulation on Unstructured Grids

Similar documents
A Short Note on the Proportional Effect and Direct Sequential Simulation

A MultiGaussian Approach to Assess Block Grade Uncertainty

Advances in Locally Varying Anisotropy With MDS

Automatic Determination of Uncertainty versus Data Density

Entropy of Gaussian Random Functions and Consequences in Geostatistics

Acceptable Ergodic Fluctuations and Simulation of Skewed Distributions

Correcting Variogram Reproduction of P-Field Simulation

Large Scale Modeling by Bayesian Updating Techniques

VISIM : Sequential simulation for linear. inverse problems. Code is available from server at.

Linear inverse Gaussian theory and geostatistics a tomography example København Ø,

Combining geological surface data and geostatistical model for Enhanced Subsurface geological model

PRODUCING PROBABILITY MAPS TO ASSESS RISK OF EXCEEDING CRITICAL THRESHOLD VALUE OF SOIL EC USING GEOSTATISTICAL APPROACH

4th HR-HU and 15th HU geomathematical congress Geomathematics as Geoscience Reliability enhancement of groundwater estimations

Optimizing Thresholds in Truncated Pluri-Gaussian Simulation

Spatiotemporal Analysis of Environmental Radiation in Korea

Transiogram: A spatial relationship measure for categorical data

7 Geostatistics. Figure 7.1 Focus of geostatistics

Reservoir Uncertainty Calculation by Large Scale Modeling

SPATIAL-TEMPORAL TECHNIQUES FOR PREDICTION AND COMPRESSION OF SOIL FERTILITY DATA

Modeling of Atmospheric Effects on InSAR Measurements With the Method of Stochastic Simulation

COLLOCATED CO-SIMULATION USING PROBABILITY AGGREGATION

Stepwise Conditional Transformation in Estimation Mode. Clayton V. Deutsch

Advanced analysis and modelling tools for spatial environmental data. Case study: indoor radon data in Switzerland

Multiple-Point Geostatistics: from Theory to Practice Sebastien Strebelle 1

Multiple realizations using standard inversion techniques a

Geostatistical Determination of Production Uncertainty: Application to Pogo Gold Project

Conditional Standardization: A Multivariate Transformation for the Removal of Non-linear and Heteroscedastic Features

COLLOCATED CO-SIMULATION USING PROBABILITY AGGREGATION

Soil Moisture Modeling using Geostatistical Techniques at the O Neal Ecological Reserve, Idaho

Geostatistical Determination of Production Uncertainty: Application to Firebag Project

The Proportional Effect of Spatial Variables

Conditional Distribution Fitting of High Dimensional Stationary Data

Stanford Exploration Project, Report 105, September 5, 2000, pages 41 53

Determination of Locally Varying Directions through Mass Moment of Inertia Tensor

Facies Modeling in Presence of High Resolution Surface-based Reservoir Models

POPULAR CARTOGRAPHIC AREAL INTERPOLATION METHODS VIEWED FROM A GEOSTATISTICAL PERSPECTIVE

GSLIB Geostatistical Software Library and User's Guide

Finding the Nearest Positive Definite Matrix for Input to Semiautomatic Variogram Fitting (varfit_lmc)

Drill-Holes and Blast-Holes

B008 COMPARISON OF METHODS FOR DOWNSCALING OF COARSE SCALE PERMEABILITY ESTIMATES

Formats for Expressing Acceptable Uncertainty

Latin Hypercube Sampling with Multidimensional Uniformity

11/8/2018. Spatial Interpolation & Geostatistics. Kriging Step 1

Best Practice Reservoir Characterization for the Alberta Oil Sands

Anomaly Density Estimation from Strip Transect Data: Pueblo of Isleta Example

Spatial Interpolation & Geostatistics

Conditional Simulation of Random Fields by Successive Residuals 1

Applications of Randomized Methods for Decomposing and Simulating from Large Covariance Matrices

Stepwise Conditional Transformation for Simulation of Multiple Variables 1

Contents 1 Introduction 2 Statistical Tools and Concepts

A008 THE PROBABILITY PERTURBATION METHOD AN ALTERNATIVE TO A TRADITIONAL BAYESIAN APPROACH FOR SOLVING INVERSE PROBLEMS

Introduction. Semivariogram Cloud

Kriging in the Presence of LVA Using Dijkstra's Algorithm

AUTOMATED TEMPLATE MATCHING METHOD FOR NMIS AT THE Y-12 NATIONAL SECURITY COMPLEX

Comparing the gradual deformation with the probability perturbation method

Simulating Spatial Distributions, Variability and Uncertainty of Soil Arsenic by Geostatistical Simulations in Geographic Information Systems

A robust statistically based approach to estimating the probability of contamination occurring between sampling locations

3/10/03 Gregory Carey Cholesky Problems - 1. Cholesky Problems

29th Monitoring Research Review: Ground-Based Nuclear Explosion Monitoring Technologies

The Snap lake diamond deposit - mineable resource.

A Case for Geometric Criteria in Resources and Reserves Classification

Practical application of drill hole spacing analysis in coal resource estimation

Basics in Geostatistics 2 Geostatistical interpolation/estimation: Kriging methods. Hans Wackernagel. MINES ParisTech.

REN R 690 Lab Geostatistics Lab

Time to Depth Conversion and Uncertainty Characterization for SAGD Base of Pay in the McMurray Formation, Alberta, Canada*

Mineral resource classification: a comparison of new and existing techniques

Comparison of rainfall distribution method

The Necessity of a Multiple-Point Prior Model

Improving Spatial Data Interoperability

Mapping Precipitation in Switzerland with Ordinary and Indicator Kriging

USING GEOSTATISTICS TO DESCRIBE COMPLEX A PRIORI INFORMATION FOR INVERSE PROBLEMS THOMAS M. HANSEN 1,2, KLAUS MOSEGAARD 2 and KNUD S.

Multiple realizations: Model variance and data uncertainty

Geostatistics in Hydrology: Kriging interpolation

Advances in Stochastic Surface Modeling: Conditioning, Facies and Non Stationarity

SPATIAL VARIABILITY MAPPING OF N-VALUE OF SOILS OF MUMBAI CITY USING ARCGIS

INTEGRATING DIVERSE CALIBRATION PRODUCTS TO IMPROVE SEISMIC LOCATION

Highly Robust Variogram Estimation 1. Marc G. Genton 2

Geostatistics: Kriging

Intensity Analysis of Spatial Point Patterns Geog 210C Introduction to Spatial Data Analysis

We LHR3 04 Realistic Uncertainty Quantification in Geostatistical Seismic Reservoir Characterization

Monte Carlo Simulation. CWR 6536 Stochastic Subsurface Hydrology

Derivatives of Spatial Variances of Growing Windows and the Variogram 1

Intensity Analysis of Spatial Point Patterns Geog 210C Introduction to Spatial Data Analysis

Lecture 9: Introduction to Kriging

Word-length Optimization and Error Analysis of a Multivariate Gaussian Random Number Generator

Sequential Simulations of Mixed Discrete-Continuous Properties: Sequential Gaussian Mixture Simulation

What is Image Deblurring?

Using linear and non-linear kriging interpolators to produce probability maps

Reservoir connectivity uncertainty from stochastic seismic inversion Rémi Moyen* and Philippe M. Doyen (CGGVeritas)

Exploring the World of Ordinary Kriging. Dennis J. J. Walvoort. Wageningen University & Research Center Wageningen, The Netherlands

A Program for Data Transformations and Kernel Density Estimation

Tricks to Creating a Resource Block Model. St John s, Newfoundland and Labrador November 4, 2015

Automatic Star-tracker Optimization Framework. Andrew Tennenbaum The State University of New York at Buffalo

Geostatistical Interpolation: Kriging and the Fukushima Data. Erik Hoel Colligium Ramazzini October 30, 2011

Beta-Binomial Kriging: An Improved Model for Spatial Rates

PARTICLE MEASUREMENT IN CLEAN ROOM TECHNOLOGY

Statistical Tools and Concepts

ZONAL KRIGING. 5.1: Introduction and Previous Work CHAPTER 5

Investigation of Monthly Pan Evaporation in Turkey with Geostatistical Technique

Spatial Data Mining. Regression and Classification Techniques

Transcription:

Building Blocks for Direct Sequential Simulation on Unstructured Grids Abstract M. J. Pyrcz (mpyrcz@ualberta.ca) and C. V. Deutsch (cdeutsch@ualberta.ca) University of Alberta, Edmonton, Alberta, CANADA Direct sequential simulation (DSS) of continuous variables on unstructured grids requires a number of frequently called subroutines. The average covariance between two arbitrary blocks v 1 (u) and v 2 (u ) must be calculated quickly and efficiently; subroutines to setup this calculation and to perform the required numerical integration are presented. The speed of DSS on unstructured grids is enhanced with use of a non-stationary covariance lookup table of average covariance between blocks; subroutines for construction of this table and its use in DSS are documented. A central requirement of DSS is fast retrieval of the shape of conditional distributions; subroutines for the setup of a shape lookup table and fast lookup by super block search have been developed. These building blocks are essential for many aspects of DSS with regular and unstructured grids. Clean, well documented, and tested code has been prepared for widespread use by CCG researchers and member companies. It is common when simulating directly to unstructured grids to encounter spurious kriging weights as a result of the screening effect and limitations in precision. Techniques for addressing this problem are also presented. Introduction There are two key requirements to work within the framework of DSS on irregular grids: (1) valid local distributions of uncertainty must be rapidly generated for all estimates and estimation variances and (2) mean covariance values must be quickly calculated for any two volumes. These processes must be rapid in comparison with the brute force method of simulating on a fine grid and block averaging a posteriori to an irregular grid. A framework for the first requirement has been presented by Deutsch et. al (2001). A series of distributions, parameterized by kriging estimate and kriging variance that result in the global distribution being honored are constructed. This procedure utilizes the link between the global direct distribution and the Gaussian distribution. This procedure is reviewed in the program design section. A novel approach to meet the second requirement (mean covariance calculation and retrieval) is presented in this work. We believe these solutions facilitate the transition of geostatistics to the direct simulation of irregular grid stochastic models. These subroutines are documented and provided as building blocks for future research and development in this area. CCDF Shape Determination The kriging system, which is at the heart of most simulation algorithms, provides an estimate and an estimation variance. When working in Gaussian (y) space these two 1

parameters are sufficient to characterize the local distributions of uncertainty, since the local distributions are Gaussian. The consistent application of Gaussian distributions ensures that the global distribution is reproduced. In the DSS framework, the local distributions are not sufficiently characterized by the kriging estimate and the estimation variance. A method to determine the shape of the local distributions, such that the global is reproduced is required, see Figure 1. The key is the link between direct space (z space) and Gaussian space (y space) through the global distribution. Given a specific quantile of a y space distribution with mean (m) and standard deviation (σ) a z space quantile may be calculated by the following procedure. The inverse of the specific quantile is calculated as the inverse of the nonstandard Gaussian function, G. { m, σ } Val1 = G 1 { m, σ }( q) (1) Then, the associated probability is calculated from the standard Gaussian distribution, G. {0,1} Val 2 = G [ { } Val1] (2) 0,1 or Val2 = G [ G 1 { m, σ }( )] (3) { 0,1} q Now the link between the global Y space and global Z space distributions is utilized to move into Z space. The value in Z space associated to the probability, Val2, is now calculated from the Z space global distribution. Val3 = F 1 [ Val2] (4) 1 or Val3 = F [ G [ G 1 { m, σ }( q)]] (5) Val3 is the z-quantile of a distribution of uncertainty associated with the probability value q. This procedure is repeated for a series of quantiles to characterize the full distribution. The mean and variance of the z space distribution is not known prior to characterization of the distribution and numerical approximation. This procedure is repeated for a range of y space means and variances. The result is a table of valid z space local distributions. An example CCDF table was generated with a bimodal z space distribution, and the y space discretized into 100 equally spaced entries in both mean and variance, see Figure 2. This table is constructed by the subroutine PRECDIST.for. The flow chart for this subroutine is shown in Figure 9. Given the specified number of quantiles, means, and variances, and the range of means and variances in Gaussian space, and the global CCDF the CCDF table is constructed. The resulting quantiles are stored in a CCDF list array, and the associated z space mean and variance for each distribution are stored in separate arrays. A super block search (arbitrarily set to 20x20 for now) over the CCDF table is set {0,1} 2

up to increase to speed of subsequently finding the nearest CCDF entry to a required z mean and variance. The arrays required for the generation of the CCDF lookup table are dimensioned as allocatable in the DISTMODULE module and are then allocated in at the beginning of the PRECDIST.for subroutine. It is assumed that the PRECDIST.for subroutine will only be called once within the main program. The series of transforms to move from y space to z space described above (see also Figure 10), is expanded in the flowchart in Figure 11. The PRECDIST.for subroutine establishes the framework required for the rapid retrieval of valid local distributions of uncertainty. The GETCDIST.for subroutine retrieves a distribution from this table given a called mean and variance. This subroutine may be called any number of times after the PRECDIST.for subroutine has been executed. The flowchart of this subroutine is shown in Figure 11. The tasks of the GETCDIST.for subroutine are divided into two main operations. The first is to find the CCDF table entry nearest to the called mean and variance. This is accomplished by finding the super block associated with the called mean and variance and then finding the closest entry within the block. If this super block has no entries then a search over all entries is performed. Although this global search requires more time, this situation will occur infrequently. The second operation is to correct the retrieved distribution to have exactly the required mean and variance. This is achieved through the affine correction of each quantile. After affine correction each quantile is checked to ensure that it remains within the range of the global distribution. Values outside this range are truncated to the distribution minimum or maximum. The parameters (m z, σ 2 z ) of the local CCDF s are calculated by block kriging, which requires mean block-to-block covariance values. Mean Covariance Calculation The mean covariance between volumes v 1 and v 2 is defined precisely as the average covariance value for a vector where the head describes v 1 and the tail describes v 2. 1 C ( v, ) = ( ) 1 v2 C u u dudu (6) v v 1 2 The common practice for calculating the mean covariance between two volumes (v 1 and v 2 ), is to discretize the volumes and to average the point covariance over all possible combinations of discretized nodes between v 1 and v 2. C ( v 1, v2) 1 v v n 1 2 n n n i= 1 j= 1 γ ( u i u j ) (7) 3

It has been found that in 3D an acceptable number of discretizations is 4 in each direction (Journel and Huijbregts, pg.97, 1978). Thus, a single mean covariance between two three dimensional blocks requires 4 6 = 16,384 calculations. Three discretizations require 3 6 = 729 calculations for each mean covariance. This great number of calculations will increase CPU time. To keep run times under control either the number of discretizations (n and n ) should be limited or the calculation of C(u-u ) should be sped up. To speed up the covariance calculation the PREGBAR.for subroutine builds a variogram look up table for each variogram structure and for each variogram. Given sufficient discretizations of the variogram lag, these tabulated values are sufficient estimates of the point covariance. The flow chart for PREGBAR.for is shown in Figure 12. This subroutine should be executed once prior to mean covariance calculations or geometric distance calculations. There are two components to this subroutine, the first builds the rotation matrices required to calculated geometric distances. These are standardized such that the ranges of all structures are set to 1. Then the standardized covariances are calculated and entered into the variogram table. The ranges of each structure are standardized to a range of 1. All required global variables, such as the number of lag discretizations, and the variogram table array, are declared in the GAMMAMODULE.for module. The CALCGBAR.for subroutine may be then executed any number of times to calculate the mean covariance between any two volumes. This subroutine requires the shape (extents and orientation) and separation of the two volumes and the variogram table and rotational matrices from the PREGBAR.for subroutine. There are two options available for the calculation of the mean covariance; the first is the traditional discretization approach, mentioned above. The second is a novel approach of randomly sampling the point covariance between volumes v 1 and v 2 and assigning the sample mean as an approximation of the mean covariance. We know that the sample mean covariance will be unbiased, and for most circumstances a reasonable estimate may be acquired with as few as 30 samples. Thus this random sampling method results in a drastic decrease in the computational effort required to calculate the mean covariance. Preliminary results have shown the kriging matrices to be stable with these approximated mean covariances. The CALCGBAR.for subroutine flow chart is shown in Figure 13. The procedure loops over discretized combinations or random locations v 1 (u) and v 2 (u ) and calculates the geometric distance between these locations, and then finds the point covariance between these locations. If the geometric distance is very close to 0 then the maximum covariance minus the nugget effect is assigned as the point covariance. A point covariance of the variance, when a nugget effect is present leads to a bias in the mean covariance called the zero effect (Journel and Huijbregts, pg.96, 1978). To further reduce redundant calculations a nonstationary mean covariance table is built. The mean covariance between all volumes within the range of correlation of each other is 4

calculated and stored. During the construction of the kriging matrices the required mean covariances are found from this table. Nonstationary Covariance Table To further speed up the process of building kriging matrices based on mean covariances a nonstationary covariance table is introduced. The subroutine that builds this table is called NONSTATCOVTABLE.for. This algorithm screens the irregular grid for all volumes and data combinations within the range of correlation of each other. The mean covariance is calculated and stored in the nonstationary covariance table. During kriging, the mean covariances are called from the table, which avoids redundant calculations of the mean covariance. The flow chart for this subroutine is shown in Figure 14. This table is constructed prior to simulation. The existing search subroutines for the purpose of build the kriging matrices are replaced by a table look up. A pointer array is assigned based on increasing geometric distance between the nodes or data points in the mean covariance table. By applying this pointer array the search only requires that the table is checked until maximum number of data or previously simulated nodes are found. Search Considerations While simulating irregular volumes, screening can cause extreme positive and negative weights. Xie, Y., Deutsch, C.V. and Tran, T. (2001) describe this phenomenon. Figure 3 demonstrates a variety of settings that result in extreme weights. While these weights are legitimate solutions to the kriging matrix, they may result in negative kriging variances or too large kriging variances: n λ α α = 1 2 σ = C ( v, v ) C( v, v ) (8) k o o Given a positive definite covariance model is and correctly calculated mean covariances the resulting kriging variance are non-negative. The cause of these negative variances is precision limitations in the solution of the kriging matrix being magnified by large weights. Extreme weights are rare when simulating directly to a regular grid. An example is illustrated (see Figure 4) of a tartan simulation to model with equal volumes for each cell. A realization with the same variogram and reference histogram but with an irregular (tartan) grid is shown in Figure 5. This setting resulted in frequent extreme weights. Two techniques to remediate this problem, template screening and iterative kriging, are now proposed and demonstrated. A third, octant search, is then discussed. This technique is based on preemptively preventing screening by rejecting any conditioning data that are shadowed by a closer data. This is accomplished by creating a Boolean matrix representing the nodes within the range of correlation of the location being estimated. When a datum is selected to condition this unknown location (at the center of the Boolean matrix) a shadow template is positioned with the apex on the α o 5

datum. All locations within this template are set to false and may not be subsequently selected as conditioning data for this estimate. Figure 6 shows an example of this matrix template. This template technique was applied to the same setting as shown in Figure 5. These results were based on a shadow with a subtended angle of 60 degrees. There may be a need to further refine the shadow template, since some extreme weights remain. This technique is computationally expensive since many trigonometric operations are required to build each shadow. In addition, this method leads to a significant increase in the level of complexity of the local data search algorithm. In the iterative kriging method the kriging weights are checked for anomalous values. If an absolute weight larger than a threshold (set to 2.0 in the following example) results, then the least correlated conditioning datum is removed and the kriging matrix is solved again. This process is iterated until all weights are within the acceptable interval. The results from this technique are shown in Figure 8. This technique does not add significantly to the complexity of the current algorithm and is computationally cheap if anomalous weights are infrequent. Also, this technique is a self-healing method, since the correction is only applied when required, the level of correction is tailored to the need and there is no need for parameter tweaking. There are some remaining negative variances that occur at locations with relatively high weights. These events do not seem to significantly impact the realization and they may be removed by further suppressing magnitude of the weights. Another possible technique would be to apply the octant search method. This method is commonly applied in simulation (i.e. SGSIM from GSLIB) to prevent all conditioning data from originating from a single well or drill hole. In this setting, screening could be avoided by only accepting the nearest conditioning data from each octant. The rationale is similar to template screening. This technique may too greatly limit the available conditioning. Conclusion Key building blocks for the direct simulation or irregular grids have been included and documented in this work. These subroutines (1) calculate valid Z space distributions of uncertainty for all possible kriging estimates and estimation variances and (2) calculate mean covariances for irregular grids based on rectangular parallelepipeds. Search issues which result in anomalous weights, out of place local realizations, and negative variances have been discussed and demonstrated. Three techniques, template screening of conditioning data, iteration of the kriging solution and octant search have been introduced. Future work will be carried out to quantify the computational cost of each technique and their impact on the resulting realizations. 6

References Deutsch, C.V., Tran, T.T., and Xie, Y-L. (2001). An Approach to Ensure Histogram Reproduction in Direct Sequential Simulation, Centre for Computational Geostatistics 3 rd Annual Report, University of Alberta. Deutsch, C.V. and Journel A.G. (1998). GSLIB: Geostatistical Software Library: and User s Guide, Oxford University Press, New York, 2nd Ed. Journel, A.G. and Huijbregts, Ch.J. (1978). Mining Geostatistics, Academic Press, New York. Xie, Y., Deutsch, C.V. and Tran, T. (2001). Preliminary Research Toward Direct Geostatistical Simulation of Unstructured Grids, Centre for Computational Geostatistics 3 rd Annual Report, University of Alberta. 7

Figure 1: The graphical representation of the transformations applied to calculate the local distributions of uncertainty with a shape such that the global distribution is reproduced. The illustrated transformation is repeated for a sufficient number of quantiles to describe the local distribution. 8

Figure 2: The global distributions applied to build a CCDF table. The Z space reference distribution is set as a bimodal distribution while the Y space is the required standard normal distribution. The regular series of means and variances for which local distributions were calculated are shown (lower right) along with the resulting means and variances of the Z space entries. 9

Figure 3: A variety of estimation settings, which resulted in extreme weights. The estimation location coded with a weight of 0.0 and a grey dot and the conditioning data (previously simulated nodes) are coloured according to their weights. 10

Figure 4: Tartansim on a regular grid with an isotropic variogram (spherical, range = 50) and a reference distribution. The simulated realization (top left), kriging estimates (top right), kriging standard deviation (middle left), maximum absolute kriging weight (middle right), map of singular matrices (bottom left), and map of negative variances (bottom right) are shown. The realization is well behaved (no out of place local realizations), and there are only a couple large weights present. 11

Figure 5: Tartansim on an irregular grid with the same variogram, random number seed and reference distribution applied in Figure 2. The simulated realization (top left), kriging estimates (top right), kriging standard deviation (middle left), maximum absolute kriging weight (middle right), map of singular matrices (bottom left), and map of negative variances (bottom right) are shown. All out of place local realizations and negative variances occur at locations with anomalous weights. 12

Figure 6: The Boolean matrix which filters screened data. This is a 2D example where three data have already been chosen as conditioning (circles). The shadow templates (grey areas) are located with their apexes on the chosen data and radiate away from the unknown location at the center square. These templates are like exaggerated shadows cast by the chosen data if the unknown location was a light source. Figure 7: Tartansim on an irregular grid with the same variogram, reference distribution, random number seed and grid as applied in Figure 3 and with the conditioning template applied. The simulated realization (top left), kriging estimates (top right), kriging standard deviation (middle left), maximum absolute kriging weight (middle right), map of singular matrices (bottom left), and map of negative variances (bottom right) are shown. There is a reduction in the occurrence of anomalous weights, out of place local realizations, and negative variances. 13

Figure 8: Tartansim on an irregular grid with the same variogram, reference distribution and grid as applied in Figure 3, and with the iterative method applied. The simulated realization (top left), kriging estimates (top right), kriging standard deviation (middle left), maximum absolute kriging weight (middle right), map of singular matrices (bottom left), and map of negative variances (bottom right) are shown. There is an elimination of anomalous weights, and out of place local realizations, and a reduction in negative variance occurrences. 14

15

Figure 9: The main PRECDIST.for subroutine flow chart. This subroutine builds a table of local CCDF and then sets up a super block search to facilitate the locating of the nearest CCDF entry to a required mean and variance. 16

Figure 10: The transforms to move from Y space to Z space in the PRECDIST.for subroutine. These steps are illustrated graphically in Figure 1. Variables denoted in boxes are the same variables labeled in Figure 1. 17

Figure 11: The Getcdist.for subroutine flow chart. Given a required mean and variance a super block search is used to find the nearest CCDF table entry. Affine correction is then applied to forced the returned CCDF to have the exact mean and variance required. 18

Figure 12: The Pregbar.for subroutine flow chart. This subroutine uses the variogram parameters to build standardized rotational matrices and then to build a variogram lookup table. 19

20

Figure 13: The calgbar subroutine flowchart. The rotational matrices and variogram lookup table calculated in PREGBAR.for are applied to calculated the mean covariance between two rectangular volumes. This is accomplished by averaging point covariances over discretized node combinations or random locations. 21

Figure 14: The nonstatcovtable subroutine flowchart. Mean covariances are stored for all combinations of data and volumes, which are crrelated with each other. 22