Next Article in Journal
Older People’s Long-Term Care Preferences in China: The Impact of Living with Grandchildren on Older People’s Willingness and Family Decisions
Next Article in Special Issue
Past, Present, and Future of Copper Mine Tailings Governance in Chile (1905–2022): A Review in One of the Leading Mining Countries in the World
Previous Article in Journal
Spatial–Temporal Variations of Water Quality in Urban Rivers after Small Sluices Construction: A Case in Typical Regions of the Taihu Lake Basin
Previous Article in Special Issue
Surface Microanalysis and Sequential Chemical Extraction as Tools for Reliable Environmental Mobility Assessment of Sb and Other Metals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

RecMin Variograms: Visualisation and Three-Dimensional Calculation of Variograms in Block Modelling Applications in Geology and Mining

by
Arturo Buelga Díaz
1,*,
César Castañón Fernández
2,
Gonzalo Ares
1,
Daniel Arias Prieto
3 and
Isidro Diego Álvarez
2
1
Mining Exploitation and Prospecting Department, University of Oviedo, 33004 Oviedo, Spain
2
School of Mining, Energy and Materials Engineering, University of Oviedo, 33004 Oviedo, Spain
3
Department of Geology, University of Oviedo, 33005 Oviedo, Spain
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2022, 19(19), 12454; https://doi.org/10.3390/ijerph191912454
Submission received: 26 August 2022 / Revised: 23 September 2022 / Accepted: 27 September 2022 / Published: 29 September 2022

Abstract

:
Variogram calculation is a fundamental tool for studying ore grade data in mineral deposits. It allows the discovery of hidden structures within the data and preferential directions of mineralization where the geological continuity is longer. The variogram allows us to classify samples and to define both the search radii for interpolation and the use of kriging as an interpolation and resource classification method. It is not difficult to use it in one dimension; complexity increases in two dimensions as the necessity to search for possible grade anisotropies in all directions arises. Three-dimensionally it is even more difficult to try to define the parameters of lag, bandwidth, and tolerances that define the data of the variogram calculation algorithm. There are rules of thumb to help in the development, but a trial-and-error approach is used in order to find enough sample pairs to allow the generation of variograms truly representative of the data. In this paper, two strategies are shown to help in variogram construction, the use of variogram maps and the graphical representation of the pair search areas (cones or pencils). The freeware tool RecMin Variograms has been developed and is freely available for download at its website; it is easy to learn and use. R code based on RGeostats libraries is used to check the operation and results of RecMin Variograms. Applying geostatistics to mineral deposits is essential to know the areas with the highest grades, thus allowing exact planning of future mining exploitation and minimizing mine footprint and environmental impact.

1. Introduction

Ore deposits must be studied and quantified prior to their exploitation so that a mining feasibility project can be developed to guess if the deposit can be profitable.
Based on previous information (geophysical prospecting, surface sampling, trial pit, vertical, inclined, or directional drilling), an attempt will be made to establish a deposit model, firstly creating a lithological model that defines the lithology at each point of the mining domain, and that can be shown through geological maps and sections.
The mineralized bodies, and the geological structures that surround them, will be crossed by drill holes and inclined perforations that allow the intersected material (the sample cores) to be recovered in an intact form.
The cores are analyzed to find their lithology, density, geotechnical characteristics, and ore content (this is, the ore grade), creating interval tables which are then homogenized appropriately to achieve quasi evenly spaced samples, a process called compositing. The values marked by the composites in the three-dimensional space will generate a cloud of points as a three-dimensional scalar field.
Once the topographic surface is defined, the modelization of the underneath geological structures has the aim to define the continuity of the structures from the composite data. It will be a process of “connecting the dots” between sections marked by polylines surrounding zones of equal lithology or above a grade value, and then connecting the polylines with triangle meshes, then defining ore bodies, veins, or mineralization haloes. This process will be done manually (Figure 1, RecMin software) or semi-automatically with the help of implicit modeling algorithms [1] (commercially available in applications such as Leapfrog, Minesight Geologic, and Surpac Dynamic Shells). The result is a three-dimensional solid, a closed surface formed by a triangle mesh.
Once the shape of the mineral bodies is known, the modeling process objective is to know at each point within these bodies the grade of the profitable element, this is, the concentration of the element per unit mass of the ore. With these data, the deposit value can be estimated, determining the tonnage of the resources and their average grade. Needless to say, the actual grade is only known at those points of the solid through which a borehole passes and their core samples have been analyzed.
In the so-called “block model” methods, the ore bodies inside are discretized using parallelepipeds. The vertexes, the edges, and the midpoints or the centers of these parallelepipeds will be used as grade estimation points from the known data in the composite point cloud through an interpolation procedure.
In a second phase, an economic model will be made, which will allow us to know, at each coordinate, the presence of an element of economic interest (“metal” from now on), its associated grade, and the feasibility of its economic extraction. There could be high-grade resources but at such a depth that it will not be profitable to extract them by open-pit mining methods (method shown in Figure 2). There could be shallow resources, easy to extract, but of such low grade that it will not be profitable to mine them. In the case of open-pit mining, the most profitable pit will be the so-called ultimate pit, that is, the biggest pit that will allow resources to be extracted, maximizing profit, and its volume will define the mining reserves. The process of calculating the ultimate pit, this is, translating resources to reserves, is called optimization.
Block models have been used to calculate resources and reserves for at least 40 years; although there was a limitation regarding the number of blocks in terms of the size of the generated databases and the processing time to use them, these limitations have been surpassed given the speed of current computers and the easiness of managing large databases and associating them with fast three-dimensional drawing systems.
But the main calculation that underlies all these modelization and optimization processes is the interpolation of the composite data to calculate each block value. Interpolation parameters, such as the maximum and minimum number of samples used, the search radii at each of the main cartesian directions, or the interpolation method, must be defined, and this selection will have a strong influence on the result of the calculation. It is also advisable to use a method to estimate somehow the error of the interpolation that will classify the quality of the estimation process.
This is not a simple or obvious process and usually involves the branch of science known as geostatistics, trying to determine the grade change through the mining domain using variogram graphs. This paper presents a new software tool, “RecMin Variograms,” that allows the visual study of the three-dimensional variogram, actually comparing the position of the composites to the shape, length, and orientation of the search bins that are used to calculate the variogram. The results of the variography study are used to perform the interpolation, no matter if it is by simple nearest neighbor methods (where geostatistics just helps in the search radius definition) or complex stochastic methods such as conditional simulation [2].
Applying geostatistics to mineral deposits is essential to know the areas with the highest grades, thus allowing exact planning of future mining exploitation that will have a direct effect on the environmental impact of the mine. Some of the objectives when reducing these environmental impacts are to reduce the footprint or area of mining, reduce waste and, therefore, the size of the tailings dams or adjust the most effective metallurgical techniques in the treatment phase. Metallurgy is one of the stages with the greatest environmental impact.

2. Interpolation and Variograms

The study of the dissemination phenomena with spatial correlation started at the beginning of 1950 with the works of Sichel [3] (studying the gold content in south African mines) and Krige [4] (proposing a moving average interpolation technique to be applied in those gold deposits). The rigorous formulation and the solution to the problem was given by Matheron [5,6] and applied to the development of oil and gas reservoirs in the Ecole des Mines de Paris. Seems like the development of geostatistics is firmly linked to mining activities, and these methods are now used in many branches of technology and science, from fisheries resource estimation to image processing [7].
We will assume the reader is aware of the main interpolation techniques used in deposit modeling. We firmly believe that a quick geostatistics analysis, at least an omnidirectional variogram, is always necessary as it helps to define the interpolation radius, no matter the interpolation method used. The reality is that the mining sector does not use it frequently, as it is not mandatory to perform the widely used IDW (inverse distance weighting) or NN (nearest neighbor) interpolation methods, which seems to be the most frequent method used, as Maxwell points out [8].
On top of that, the classification of the resources, this is, the estimation of the quality of the interpolation, is not always performed or clearly specified. According to Silva and Boisvert [9], less than 42% of the mineral resources studies issued in 2012 in Canada had enough information to determine the technique used for classification or any classification method at all. Of this 42%, only 2% used the kriging variance (a method that forces a prior geostatistic analysis), while 40% used geometrical methods such as search neighborhood or drill-hole spacing.
The geostatistics study begins with the calculation of the variogram graph in selected directions of the three-dimension space. Figure 3 (image left) shows the samples (red dots) included in one of the search bins where the data are classified. The empirical variogram is calculated from the sample data u, as shown by Calder and Cressie [10], and from the equation below, for a vector h that identifies the spatial separation of two samples:
2 · γ Y ( h ) = 1 | N ( h ) | · N ( h ) [ Y ( u i ) Y ( u j ) ] 2
where N(h) is a subset of the samples that satisfy that they are separated by a vector h.
N ( h ) = { ( u i , u j ) : u i u j = h }
And where | N ( h ) | denotes the number of unique pairs of locations in N(h) and γ Y ( h ) is the variogram of the function Y ( u i ) .
In the case of samples located over non-regular meshes, the number of pairs located exactly at a distance defined by the vector h (given in a certain three-dimensional direction defined by its azimuth and dip, as can be seen in Figure 3a) can be very small and will not give useful results, so the space is divided into zones defined according to this vector h (zones called lags) affected by geometric restrictions:
  • Directional tolerance, dƟ, to one side and the other of the direction Ɵ marking the course.
  • Lag tolerance.
  • Bandwidth.
  • Maximum search distance.
A typical variogram is shown below (Figure 3b). The horizontal axis shows the “lag” or distance between samples considered and defined by the h vector. The vertical axis shows the value of γ(h). A common practice is to show also the number of pairs that are being used in each calculation bin in order to check if enough data have been captured once the geometric restrictions referred to above are applied. The number of pairs is shown in a bluish column graphic on a secondary axis.
The variance value where the variogram curve flattens is called the “sill.” The distance at which the sill is reached is called the range and is a measure of the minimum distance where no relationship is considered to exist between the samples under consideration.
The vector h will have a direction Ɵ which marks the heading. As it will be very difficult for pairs of samples to fall exactly within this line, a tolerance dƟ is set, which can be initially estimated, following Deutch [12], at a value Ɵ/2. When using an angle tolerance of 90°, we obtain the so-called omnidirectional variogram. Reducing the angle tolerance increases the accuracy, and increasing it will improve the stability of the calculation because of the overlapping of the selection zones. Deutch recommends tolerances greater than Ɵ/2 if only a small amount of data is available.
The bandwidth is the maximum distance that sample pairs can be away from the search vector. It is used to limit the number of unreasonable associations and maximize the number of reasonable pairs by creating search cylinders rather than cones. We will refer to these search cylinders as “pencils.” If bandwidth is not used, the search volume is a cone.
The pencil or cone search volumes, marked by vector h and the tolerances described above, are divided into sections of length “l” called “steps” or “lags,” again affected by a tolerance dl. Points at a distance greater than or equal to l-dl and less than or equal to l+dl are used to calculate the experimental variogram. If the total length that the vector h runs through searching for samples is called “D,” Journel and Huijbregts recommend [13] that the number of lags, “N,” be such that N-l < D/2.
According to Deutch [11], the choice of the lag “l” can have effects on the calculation. A too-small lag will lead to an erratic, unstable experimental variogram, while a too-large one will not show the details of the spatial continuity, more specifically, the behavior at the origin of the variogram. An educated guess to select the lag could be the distance between boreholes if drilling has been made on regular grids. The maximum search distance can initially be estimated as half the distance between the furthest samples in the whole domain (Deutch [11]). Although it is not mandatory, the minimum number of pairs at each point in the variogram should, according to Webster and Oliver [14], be 30. If there are fewer than this value, it may indicate that the distance between lags should be increased.
In which directions should the pairs will be searched for? In mining applications, a plane with greater grade continuity usually appears within the geological model, corresponding to a layer, vein, or seam, and a direction perpendicular to this plane in which the grade continuity, the range, will be much shorter. If no geological information is available, the so-called “variogram maps” shall be used to explore possible continuity directions. Note that in directions parallel to all the boreholes, it will be difficult to intersect pairs, and no results will be obtained.

3. Variograms and Variogram Maps in Deposit Modelling

A one-dimensional variogram is simple to develop and interpret. But trying to analyze thousands of samples taken in a three-dimensional domain using variograms involves simultaneously studying multiple vectors h in multiple orientations of space. As explained above, there will typically be a primary plane in which grade continuity has a maximum range value and a plane perpendicular to this (secondary plane) in which continuity will be dependent on that of the principal plane, following Walter’s law [15]. In the case of layered mineralization, the main plane of mineralization will be the seam plane, with high-grade continuity along the layer. In the perpendicular plane (secondary plane), continuity will exist, albeit to a much lesser extent, but with features common to the primary plane, such as small-scale variations (nugget effect) or the shape of the variogram.
The geostatistics study strategy proposed by Gringarten and Deutch [16] and established in the mining industry (e.g., Surpac geostatistics module [17]) is as follows. First, an attempt is made to identify geological structures that may have led to the generation of preferred directions of grade continuity. If this information is not available, two-dimensional variogram maps can be used. By guessing an initial continuity plane, multiple variograms are calculated within that plane, and the covariance or variogram is represented by contours or heat maps. The direction in which the variogram has the largest range, i.e., the direction in which the sill is reached furthest from the origin, will be the primary direction or major axis of the search ellipsoid. The secondary direction, or semimajor axis of the search ellipsoid, will be the perpendicular inscribed in that primary plane to the major axis. This map can be explored in different primary planes until maximum continuity is revealed, although this does not always happen.
If a primary continuity plane has been discovered, the secondary plane of continuity is now calculated, which will be the plane perpendicular to the primary plane and containing the major axis. The direction perpendicular to the primary plane of continuity will be the minor axis of the search ellipsoid.
Therefore, three directions have been defined in the space in which continuity is considered and which marks the orientation of the search ellipsoid. The size of this ellipsoid will be given by the ranges of the respective sills of the three variograms in the three main search directions. The sills and ranges are calculated on the curves of the variogram models, adjusted by means of formulae (exponential, potential, gaussian, or a combination) to the experimental variogram.
The ratio of the range of the variogram in the principal direction to the range of the variogram in its perpendicular direction, contained in the main continuity plane, is called the major/semimajor anisotropy factor. The ratio of the range of the variogram in the main continuity direction vs. the range of the variogram in the direction perpendicular to the main continuity plane is called the major/minor anisotropy factor. This search ellipsoid is the one that defines the variation of the grade in the three-dimensional space that is being studied, and that will allow us to carry out the interpolation.
How is this method effectively used in practice? Is there any commercial or freely available software that saves the always busy geologist or mine engineer the time-consuming programming of these methods?
There are commercial solutions in the geological and mining field, such as Isatis [18], Surpac [17] or Leapfrog [19], that are free of bugs and are very user-friendly but have high costs. On the other hand, commercial statistical or data processing software (SPSS, SAS [20], Surfer [21]), which, not being specific to geostatistics, could fall short in terms of options, but we cannot say it for sure as we have not used them. There are geostatistics freeware solutions, such as SGeMS [22], which are infrequently updated and released with some known bugs [23]. Finally, R, freeware statistical software par excellence, extendable and configurable ad infinitum, has multiple options [24]. Both SGeMS and R are very powerful and configurable solutions but are complex to learn and manage, and users must have a strong programming profile, which usually confines their use to the academic environment.
R is based on packages, pieces of code that users develop and share as libraries. There are thousands of them from a community of users that is constantly growing [25], probably boosted by the rise of Big Data. We have delved into the R packages that allow the variogram to be calculated and have found several that could suit our needs.
The gstat package by E.J. Pebesma has multiple modeling and visualization tools for geostatistics [26]. The variogram function information shows how the variogram calculation works [27], and it does not suit our needs as it does not allow us to define a search bandwidth. Diggle and Ribeiro’s geoR package [28] allows complex variogram-based geostatistics, but again no bandwidths can be defined [29]. The RGeostats package [30] from MINES ParisTech uses the vario.calc instruction, including the cylrad parameter, where pairs of samples are removed from a bin if they are more than one value apart in the plane orthogonal to the direction of the variogram calculation; that is, it allows the definition of a bandwidth.

4. RecMin Variograms

This paper presents RecMin Variograms [31], a free tool for the calculation and adjustment of variograms geared towards geological and mining applications. Throughout this paper, its use will be validated using RGeostats packages.
Based on all the information presented above, it was decided to complete the RecMin geological and mining software with a three-dimensional geostatistics module that would allow the development of projects: RecMin Variograms. After importing data from text files, data filtering can be performed to eliminate outliers, and the frequency histogram can be displayed. On the left side of the following figure (Figure 4a), we can see the frontend where the number of lags and their size, the angular tolerance, and the radius of the search tube (bandwidth) are entered. On the right-hand side of the figure (Figure 4b), we can see the three-dimensional graphical representation of the samples (or composites) together with a colored tube according to the size and tolerance of the lags, which helps in the search for the variographic interpretation and in the choice of the parameters of the search vector and the separation of the lags. We believe that this sort of representation is innovative in the field of statistical software applied to the geostatistics of mineral deposits.
In this case, layered mineralization with an azimuth of 90° and a dip of 70° is graphically observed. Using 10 lags at a 10 m distance, with an angular tolerance of 20° and a bandwidth of 10 m, we observe in the plan and elevation view (Figure 4c,d) that the search area follows the mineralization faithfully and it is very likely to find enough sample pairs to obtain a representative variogram.
A check box allows activating the omnidirectional variogram calculation, which is the one that does not fix the orientation of the search vector, but only its length. Another check box activates the omnidirectional variogram in a plane, which allows the search vector to be limited to a plane defined by azimuth and dip of its line of maximum slope. The lower right image (Figure 4e) shows the representation of the omnidirectional variogram in the plane of azimuth 90° and dip 70°.
The variogram is calculated and pictured (Figure 5), represented by a green line, with the distance on the X-axis and the variogram value on the Y-axis. The column diagram shows the number of pairs detected within each lag. We see that the 3D omnidirectional variogram has a sharp rise up to a range of 30 m, with a pronounced sill at 13.5E6.
In order to check whether the software works correctly, a comparison of the results of RecMin Variograms and RGeostats for a two-dimensional example is presented below. Given a Cartesian grid of 2500 evenly spaced data (spacing of 1 m, vertical axis north oriented) with a numerical field varying between 0 and 22.46, that retrieves data from a contaminated soil sampling where Zn percentage has been measured, as shown in the figure below. Contaminated soil sampling is a typical application for 2D variography. After some trial and error, 10 lags with a separation of 1.4 m with an angular tolerance of 10° and a bandwidth of 2 m will be considered for the variogram (Figure 6a). Figure 6b shows both the representation of the pair search pencils and the point data colored as per the grade of the measured data.
The calculation is carried out, and the graphical representation of the variogram in RecMin (Figure 7) is obtained. The calculations of 18 superimposed variograms are shown on the left, which implies a jump in pitch angles of 10° since these 18 directions are spread over 180°. All these variograms are shown together in a polar diagram, and their orientation is adjusted as per the bearing of the search pencil, generating the variogram map (Figure 7, right), which shows maximum continuity at bearing 30° (green color, sill value of 6.31) and a range slightly above 10 m.
In this two-dimensional example, the semimajor axis is perpendicular to the major in the calculation plan; following the covariance area value at 6.3, it shows a 120° bearing at a range of 7.5 m.
How to check that the software works correctly? Some of the most used commercial geostatistical solutions as Leapfrog Edge, Surpac, Isatis, or Surfer, allow the calculation of the variogram map, but we intend to use free software here. SGeMS, a free software widely used in mining and petroleum applications, does not have this calculation.
In R software, the RGeostats library has the vmap.grid function, but it does not allow bandwidth to be defined when segmenting the pairs of data, so we could not use it to compare with our calculation. Nevertheless, we show the result with vmap.grid in the left image (Figure 8a). In order to overcome this RGeostats limitation, we have developed routines that allow iteratively calculating the variograms at each pitch angle. Programming is not complex at all due to the excellent syntax of the RGeostats libraries, but the geometrical translation of the angles is not trivial at all. The direction of the search vector is expressed in Variograms with three angles, bearing, dip and pitch, whereas, in RGeostats, only two angles are used to define the direction. Again, we have programmed it in R code.
The variograms are calculated iteratively for each pitch and stored in a variogram object with the append option. The calculation of the direction of each variogram is not trivial since for each pitch direction within the map plane, direction and dip have to be calculated, and the angles calculated as azimuth give programming problems. This is solved by writing code. The graphical representation in polar coordinates of the stored data of the different variograms is represented in the image on the right (Figure 8b), taking advantage of the contour maps of the Plotly libraries [32].
If we compare the images of the variogram maps generated by RecMin (Figure 7b) and by RGeostats (Figure 8b), we can see that they are very similar. Both variograms clearly show the anisotropy of the grade, with a search ellipse with a principal radius at 30° bearing. On the other hand, this behavior is not seen in the RGeostats default variogram, shown in the previous image (Figure 8a). The semimajor axis is 120°/7.5 m in both RecMin and RGeostats.

5. Mining Application in the San Dionisio-Riotinto District

RecMin Variograms will be applied to an actual mineral deposit study case. The data used are from the Riotinto polymetallic deposit [33], San Dionisio area, in the Southwest of Spain (Figure 9). A geostatistical study with RecMin and R{Geostats} will be performed, comparing results.
The Riotinto Mining District (Spain) is one of the biggest and most massive sulfide accumulations in the world. There are remains of mining activities as old as 1300 BC by the Tartessian civilization [34], long before the roman conquerors arrived in southern Spain and started a large-scale mining facility. The reopening in the XIX century by Riotinto Mining Company Ltd. started modern mining in Spain and lasted from 1873 to 1954. In the last 68 years, the mining district has been in continuous production of pyrite, copper, and gold, with short periods of inactivity. In 2015 the mine was reopened by Atalaya Mining Company to mainly produce copper concentrate.
The Riotinto deposit is formed by seven lenses (mineral bodies) of massive sulfides named San Dionisio, Filon Sur, Filon Norte, Salomon, Argamasilla, Planes, and San Antonio, with a total estimated tonnage of 600 Mt. The rocks in the footwall of the massif sulfides present an intense hydrothermal alteration, with pervasive chloritizacion and silicification in relationship with a pyrite and chalcopyrite stockwork [33].
The Riotinto mineralization is enclosed in a transtensional basin of around 4.5 km long and 0.85 km wide, with direction NNW-SSE, of pre-Variscan age. In this basin was active bimodal volcanism with the development of the Riotinto Volcanic Massive Sulphide deposits. The inversion of the transtensional faults of the early basin was produced during the Variscan orogenesis (Martín-Izard et al. [35]).
The San Dionisio lens is the more occidental in the Riotinto District. It was developed in relationship with the southern fault. The massive sulfide lens was 630 m long with a maximum thickness of 150 m, with a total estimated tonnage of 130 Mt. The actual structure is a syncline generated by the inversion of the Southern Fault what is located to the south of the axial plane (Figure 9).
The San Dionisio area has been mined from 1892 to 1980 by both underground and open pit mining, currently having the Atalaya cut-off as the state in which the open pit mining was left and a significant amount of underground mining infrastructure of ramps, galleries, shafts, and chambers as can be seen in the following images. In the image on the left (Figure 10a), we can see the RecMin Pro modeling of the existing infrastructure to the east of the Atalaya cut, showing the massive amount of ancient galleries in blue. The image on the right shows the modeling of the chlorite solids surrounding the massive sulfides (Figure 10b). Both images show the same location.
The information provided by the mining company has been used to develop a geostatistics study: this information includes the boreholes, the updated topography of the area, the geological models of stockwork and massive, and the 3D models of the areas mined by underground methods. Eight hundred eighty-nine old boreholes and 31 new boreholes with analytical data have been used to make the interpolations, of which only the new boreholes have geological information. The image below (Figure 11) shows the current topography (in grey lines, with the historical Atalaya pit on the left), the existing infrastructure of galleries and stopes (greenish and bluish solids), and the boreholes. A greyish color can be seen in the legend below 0.2%, which we consider the cut-off grade, as well as color ranges up to 5.27%, the maximum value. The boreholes are rendered using variable diameter cylinders, proportional to the grade, and also colored per the grade value so that the high-grade zones can be quickly identified in the drawing.
Starting from the 920 boreholes received with analytical information, 5 m composites were generated along the boreholes with the information of the elements Cu, S, Zn, Pb, Ag, As, and Sb in order to carry out the studies and calculations. Since there is no geological information in the old boreholes, the composites have been separated into two types using the Chlorite and Massive models. Of the 13849 composites, 4340 are in massive lithologies and 9509 in stockwork. The geostatistical study will focus on copper, using all composites, without differentiating between massive and stockwork. In our understanding, the common practice in mine geostatistics is to differentiate the studies in different lithologies, that is, to develop different variograms per each lithology. However, in this case, the best continuity results have been obtained without this differentiation.
Studying the geology model and the location of samples, and after adequate inspection of mineralized bodies in the 3D visualizer, it is determined that the plane that best defines the continuity of the grades would be azimuth 190° and dip 76°. Within that plane (Figure 12), several variograms are calculated in different pitches. After several attempts and adjustments, it was found that the best parameters to obtain relevant data were: lag distance: 10 m; number of lags: eight; radius of the search cylinder: 10 m; angular tolerance: 20° and pitch: 20°, that is, 18 search directions in 360°.
The variogram map in this plane would give the following graphic result (Figure 13a). The major axis has a 100° bearing at a range of 62 m, corresponding to a variance value of 0.79. Perpendicular to this direction, the semimajor axis reaches a range of 45 m. Then, the ratio between the major and semimajor search ellipsoid radii is 62/45 = 1.38:1. If we calculate the secondary variogram map in the plane perpendicular to the previous one (azimuth 10° and dip 14°; Figure 13b), it shows an elliptical shape with an approximate 1:3 ratio (62/20 m) between the major and minor axes range.
An equivalent calculation and visualization is obtained in R {RGeostats}, as can be seen below (Figure 14).
Given the continuity provided by the geostatistics study considering all samples, not distinguishing between lithologies, the interpolations will be made without distinguishing between massive and stockwork. The main plane will be the one with a 190° azimuth, a 76° dip, a 100° pitch, and a search ellipsoid with radii 62/45/20 m, or radii ratios of 1 or 1.38:3. This search ellipsoid is shown in Figure 15.
We would like to highlight the importance of angle calculation in a three-dimensional domain, which is much more complicated than in two dimensions. We consider it not trivial or easy to do, and much time has been consumed in checking orientations in both RecMin and R Geostats. The search ellipsoid obtained in the geostatistical analysis has a major axis in 100° pitch inside a plane defined by angles 190°/76°. RecMin variogram angle convention is to measure bearing clockwise from the north direction, to measure dip in positive angles from the horizontal line, and to measure pitch clockwise in positive angles from the primary plane vertical axe, as can be seen in Figure 15. The direction 190/76/100 is equivalent to a 102.44° bearing and a −9.7° dip angle in the more classic notation in three-dimensional space. RecMin Variograms gives information on both angle notations in the results.

6. Conclusions

The calculation of the variogram of composites (samples) allows knowing the trends in these grades as a function of spatial orientation, with the main objective of predicting their grade in those areas where it is not known.
The one-dimensional calculation is not geometrically complex, as the variogram is calculated just in one direction. The two-dimensional calculation involves calculating the variogram over the full range of polar angles, from heading 0° to heading 360°. If the scalar field being studied, this is, the grade of an element in the mining domain, has an anisotropic distribution, which is common in mineral deposits due to their seam or vein-shaped geometry, this anisotropy will clearly appear in the variograms, showing sills in the variogram graph at a greater range in the main continuity directions.
In order to generate the variogram, the composites have to be classified in the so-called bins, defined by the maximum search distance, the angular tolerances, and, in the case of using pencils, the search bandwidth. If bins are not used, no relevant variogram will be found as the number of pairs that fulfill a strict range condition between them will not give enough data to calculate the variance value.
The selection of this bin definition parameters is not simple and is guided by the experience of the technician making the calculation, and it usually starts with the adequate study of the geometrical conditions related to the distribution of the composites in space.
In the case of three-dimensional data, it gets even more complicated. It will be a matter of looking for three main directions of anisotropy, which are not always easily recognizable. In this paper, we have shown two strategies that help to determine them.
Firstly, it explains how to elaborate the so-called “variogram maps,” renderings of the variograms in a plane, which will help to determine two of the main continuity directions. In the plane perpendicular to this first one, the variation in the third continuity direction is defined. In this paper, we show the process of creating these variogram maps using freeware software RecMin, firstly with a simple 2D example and finally with a complex actual data set from Riotinto mining district.
Secondly, to help in the definition of the three-dimensional variogram, RecMin Variograms include the three-dimensional representation of the search cones or pencils for the classification of the pairs of samples, which are very helpful in understanding the process of creating and adjusting the variogram. This is a novel method that is not included in the software currently available on the market. It also shows the angles of the main ellipsoid defining radii not only in classical bearing/dip notation but also in bearing/dip/pitch values inside the main continuity plane.
To check the validity of the RecMin Variograms code, calculations are performed both with this freeware and with the RGeostats library of the R software.
The RecMin Variograms software is completely free to download and use and can be found on the RecMin website.

Author Contributions

Conceptualization, A.B.D. and C.C.F.; methodology, A.B.D. and C.C.F.; software, C.C.F. and I.D.Á.; Validation, C.C.F. and I.D.Á.; formal analysis, A.B.D.; investigation, A.B.D.; resources, A.B.D.; data curation, C.C.F. and I.D.Á.; writing—original draft preparation, A.B.D., I.D.Á. and D.A.P.; writing—review and editing, G.A. and D.A.P.; visualization, C.C.F. and I.D.Á.; project administration, A.B.D.; publishing G.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

We want to acknowledge Atalaya Mining Company for allowing access to their historical data of San Dionisio and their approval of publication in this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cowan, E.J.; Beatson, R.K.; Ross, H.J.; Fright, W.R.; McLennan, T.J.; Evans, T.R.; Carr, J.C.; Lane, R.G.; Bright, D.V.; Gillman, A.J.; et al. Practical implicit geological modelling. In Proceedings of the Fifth International Mining Geology Conference, Bendigo, Australia, 17–19 November 2003; Australian Institute of Mining and Metallurgy Bendigo: Bendigo, VIC, Australia, 2003; pp. 17–19. [Google Scholar]
  2. Sadeghi, B.; Ortiz, J.M. Simulation. Encyclopedia of Mathematical Geosciences; Daya Sagar, B., Cheng, Q., McKinley, J., Agterberg, F., Eds.; Encyclopedia of Earth Sciences Series; Springer: Cham, Switzerland, 2021; pp. 1–6. [Google Scholar] [CrossRef]
  3. Sichel, H.S. An Experimental and Theoretical Investigation of Bias Error in Mine Sampling with Special Reference to Narrow Gold Reefs; Transactions Institute Mining and Metallurgy: London, UK, 1947; Volume 56, p. 403. [Google Scholar]
  4. Krige, D.G. A statistical approach to some basic mine valuation problems on the Witwatersrand. J. South. Afr. Inst. Min. Metall. 1951, 52, 119–139. [Google Scholar]
  5. Matheron, G. Traité de Géostatistique Appliquée. Tome I. Ed.; Technip: Paris, France, 1962. [Google Scholar]
  6. Matheron, G. Traité de Géostatistique Appliquée. Tome II: Les Phénomènes Transitifs Ed.; BRGM: Paris, France, 1962. [Google Scholar]
  7. Agterberg, F.P. Georges matheron: Founder of spatial statistics. Earth Sci. Hist. 2004, 23, 325–334. Available online: https://www.jstor.org/stable/24137099 (accessed on 15 April 2022). [CrossRef]
  8. Maxwell, K. Review of the spatial interpolation techniques used for estimating economic coal properties. AIG J. Pap. 2020, N2020-001. Available online: https://aigjournal.aig.org.au/review-of-the-spatial-interpolation-techniques-used-for-estimating-economic-coal-properties/ (accessed on 15 April 2022).
  9. Silva DS, F.; Boisvert, J.B. Mineral resource classification: A comparison of new and existing techniques. J. South. Afr. Inst. Min. Metall. 2014, 114, 265–273. [Google Scholar]
  10. Calder, C.A.; Cressie, N. Kriging and Variogram Models. Int. Encycl. Hum. Geogr. 2009, 1, 49–55. [Google Scholar] [CrossRef]
  11. Deutsch, C.V.; Journel, A.G. Geostatistical Software Library and User’s Guide; Oxford University Press: New York, NY, USA, 1992; p. 340. [Google Scholar]
  12. Deutch, J. Experimental Variogram Tolerance Parameters. Geostatistics Lessons. Available online: https://geostatisticslessons.com/lessons/variogramparameters (accessed on 15 May 2022).
  13. Journel, A.G.; Huijbregts, C.H.J. Mining Geostatistics; Academic Press: London, UK, 1978; p. 600. [Google Scholar]
  14. Webster, R.; Oliver, M.A. How large a sample is needed to estimate the regional variogram adequately? Geostat. Tróia ’92. Quant. Geol. Geostat. 1993, 5, 155–166. [Google Scholar]
  15. López, G.I. Walther’s law of facies. Encyclopedia of Scientific Dating Methods; Springer: Dordrecht, The Netherlands, 2014; pp. 957–958. [Google Scholar] [CrossRef]
  16. Gringarten, E.; Deutsch, C.V. Methodology for Improved Variogram Interpretation and Modeling for Petroleum Reservoir Characterization. Semantic Scholar Corpus ID: 11669914. 2003. Available online: http://www.ccgalberta.com/ccgresources/report01/1999-106-variogrammodeling.pdf. (accessed on 15 April 2022).
  17. Geovia Surpac Variogram Modelling Module. Available online: https://www.3ds.com/fileadmin/PRODUCTS-SERVICES/GEOVIA/PDF/brochure/3DS-GEOVIA-Surpac-2020-Brochure.pdf (accessed on 15 May 2022).
  18. Isatis, the Reference Software in Geostatistics. Available online: https://www.geovariances.com/en/software/isatis-geostatistics-software/ (accessed on 1 May 2022).
  19. Leapfrog Edge. Available online: https://www.seequent.com/products-solutions/leapfrog-edge/ (accessed on 10 May 2022).
  20. Statistical Analysis. Available online: https://www.sas.com/es_es/insights/analytics/statistical-analysis.html (accessed on 2 May 2022).
  21. Surfer Explore the Depths of Your Data. Available online: https://www.goldensoftware.com/products/surfer (accessed on 1 May 2022).
  22. SGeMS, Stanford Geostatistical Modeling Software. Available online: http://sgems.sourceforge.net/ (accessed on 15 May 2022).
  23. SGeMS, Stanford Geostatistical Modeling Software, Index. Available online: http://sgems.sourceforge.net/old/index.html (accessed on 15 March 2022).
  24. The R Project for Statistical Computing. Available online: https://www.r-project.org/ (accessed on 15 May 2022).
  25. The Impressive Growth of R. Available online: https://stackoverflow.blog/2017/10/10/impressive-growth-r/ (accessed on 15 May 2022).
  26. Pebesma, E.J. Multivariable geostatistics in S: The gstat package. Comput. Geosci. 2004, 30, 683–691. [Google Scholar] [CrossRef]
  27. Variogram: Calculate Sample or Residual Variogram or Variogram Cloud. Available online: https://www.rdocumentation.org/packages/gstat/versions/2.0-3/topics/variogram (accessed on 15 May 2022).
  28. Diggle, P.; Ribeiro, P. Model-Based Geostatistics; Springer: New York, NY, USA, 2007; p. 232. [Google Scholar] [CrossRef]
  29. Variog: Compute Empirical Variograms. Available online: https://www.rdocumentation.org/packages/geoR/versions/1.7-5.2.1/topics/variog (accessed on 15 May 2022).
  30. RGeostats Home Page. Available online: http://rgeostats.free.fr/ (accessed on 15 May 2022).
  31. RecMin Variograms. Available online: https://recmin.com/WP/?page_id=2602 (accessed on 15 May 2022).
  32. Plotly R Open Source Graphing Library. Available online: https://plotly.com/r/ (accessed on 15 May 2022).
  33. Martin-Izard, A.; Arias, D.; Arias, M.; Gumiel, P.; Sanderson, D.J.; Castañon, C.; Lavandeira, A.; Sanchez, J. A new 3D geological model and interpretation of structural evolution of the world-class Rio Tinto VMS deposit, Iberian Pyrite Belt (Spain). Ore Geol. Rev. 2015, 71, 457–476. [Google Scholar] [CrossRef]
  34. Fernández Jurado, J.; Ruíz Mata, D. La metalurgia de la plata en época tartésica en Huelva. La metalurgia de la plata en época tartésica. Pyrenae 1985, 21, 23–44. [Google Scholar]
  35. Martin-Izard, A.; Arias, D.; Arias, M.; Gumiel, P.; Sanderson, D.J.; Castañon, C.; Sanchez, J. Ore deposit types and tectonic evolution of the Iberian Pyrite Belt: From transtensional basins and magmatism to transpression and inversion tectonics. Ore Geol. Rev. 2016, 79, 254–267. [Google Scholar] [CrossRef]
Figure 1. Topography, boreholes, and 3D model of “Salomon” ore body in the Riotinto deposit using RecMin software. Notice the massive size. Coordinates are expressed in meters.
Figure 1. Topography, boreholes, and 3D model of “Salomon” ore body in the Riotinto deposit using RecMin software. Notice the massive size. Coordinates are expressed in meters.
Ijerph 19 12454 g001
Figure 2. Cerro Colorado pit, Riotinto pollimetalic mine. The mineralized body shown in the previous figure lies approximately in this area.
Figure 2. Cerro Colorado pit, Riotinto pollimetalic mine. The mineralized body shown in the previous figure lies approximately in this area.
Ijerph 19 12454 g002
Figure 3. (a) Typical variogram that shows sill and range. (b) Division of sample pairs into bins for variogram calculation. Adapted from Deutsch and Journel [11].
Figure 3. (a) Typical variogram that shows sill and range. (b) Division of sample pairs into bins for variogram calculation. Adapted from Deutsch and Journel [11].
Ijerph 19 12454 g003
Figure 4. Main screens of RecMin Variograms free software. (a) Variography input parameters screen. (b) 3D visualization of search parameters. (c) Plan view of search parameters. (d) Elevation view of search parameters. (e) Omnidirectional variogram search parameters.
Figure 4. Main screens of RecMin Variograms free software. (a) Variography input parameters screen. (b) 3D visualization of search parameters. (c) Plan view of search parameters. (d) Elevation view of search parameters. (e) Omnidirectional variogram search parameters.
Ijerph 19 12454 g004
Figure 5. Three-dimensional omnidirectional variogram. The green line is the variogram. The bluish columns are the number of pairs of each calculation bin.
Figure 5. Three-dimensional omnidirectional variogram. The green line is the variogram. The bluish columns are the number of pairs of each calculation bin.
Ijerph 19 12454 g005
Figure 6. 2D example for testing variogram map generation. (a). Search parameters. (b). 3D drawing showing samples and search pencils.
Figure 6. 2D example for testing variogram map generation. (a). Search parameters. (b). 3D drawing showing samples and search pencils.
Ijerph 19 12454 g006
Figure 7. Variogram map calculation in RecMin Variograms. (a) Variograms in 18 directions. (b) Variogram map.
Figure 7. Variogram map calculation in RecMin Variograms. (a) Variograms in 18 directions. (b) Variogram map.
Ijerph 19 12454 g007
Figure 8. Variogram map using RGeostats instruction vmap.grid (a) or using RGeostats automated by authors and drawing via Plotly (b).
Figure 8. Variogram map using RGeostats instruction vmap.grid (a) or using RGeostats automated by authors and drawing via Plotly (b).
Ijerph 19 12454 g008
Figure 9. Geological map (a) and representative cross-section (b) of the San Dionisio lens of the Riotinto Mining District, southwest Spain, within the Iberian Pyrite Belt.
Figure 9. Geological map (a) and representative cross-section (b) of the San Dionisio lens of the Riotinto Mining District, southwest Spain, within the Iberian Pyrite Belt.
Ijerph 19 12454 g009
Figure 10. Existing infrastructure in the San Dionisio area (a) and superimposed massive sulfide (green) and stockwork (orange) (b). The quite remarkable amount of ancient galleries is shown in blue, as well as old stopes.
Figure 10. Existing infrastructure in the San Dionisio area (a) and superimposed massive sulfide (green) and stockwork (orange) (b). The quite remarkable amount of ancient galleries is shown in blue, as well as old stopes.
Ijerph 19 12454 g010
Figure 11. San Dionisio area, Riotinto deposit. New boreholes with information on grades and mined areas.
Figure 11. San Dionisio area, Riotinto deposit. New boreholes with information on grades and mined areas.
Ijerph 19 12454 g011
Figure 12. Main plane (azimuth 190°; dip 76°; grey color) and pencils in different pitch directions. Composites are the grade-colored dots.
Figure 12. Main plane (azimuth 190°; dip 76°; grey color) and pencils in different pitch directions. Composites are the grade-colored dots.
Ijerph 19 12454 g012
Figure 13. (a) Primary 190°/76° (b) secondary 10°/14° variogram maps with RecMin Variograms.
Figure 13. (a) Primary 190°/76° (b) secondary 10°/14° variogram maps with RecMin Variograms.
Ijerph 19 12454 g013
Figure 14. (a) Primary variogram maps 190°/76° (b) secondary variogram 10°/14° calculated with R{Geostats}.
Figure 14. (a) Primary variogram maps 190°/76° (b) secondary variogram 10°/14° calculated with R{Geostats}.
Ijerph 19 12454 g014
Figure 15. Search pencils in the main directions (the three axes of the ellipsoid) and the calculated search ellipsoid.
Figure 15. Search pencils in the main directions (the three axes of the ellipsoid) and the calculated search ellipsoid.
Ijerph 19 12454 g015
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Buelga Díaz, A.; Castañón Fernández, C.; Ares, G.; Prieto, D.A.; Álvarez, I.D. RecMin Variograms: Visualisation and Three-Dimensional Calculation of Variograms in Block Modelling Applications in Geology and Mining. Int. J. Environ. Res. Public Health 2022, 19, 12454. https://doi.org/10.3390/ijerph191912454

AMA Style

Buelga Díaz A, Castañón Fernández C, Ares G, Prieto DA, Álvarez ID. RecMin Variograms: Visualisation and Three-Dimensional Calculation of Variograms in Block Modelling Applications in Geology and Mining. International Journal of Environmental Research and Public Health. 2022; 19(19):12454. https://doi.org/10.3390/ijerph191912454

Chicago/Turabian Style

Buelga Díaz, Arturo, César Castañón Fernández, Gonzalo Ares, Daniel Arias Prieto, and Isidro Diego Álvarez. 2022. "RecMin Variograms: Visualisation and Three-Dimensional Calculation of Variograms in Block Modelling Applications in Geology and Mining" International Journal of Environmental Research and Public Health 19, no. 19: 12454. https://doi.org/10.3390/ijerph191912454

APA Style

Buelga Díaz, A., Castañón Fernández, C., Ares, G., Prieto, D. A., & Álvarez, I. D. (2022). RecMin Variograms: Visualisation and Three-Dimensional Calculation of Variograms in Block Modelling Applications in Geology and Mining. International Journal of Environmental Research and Public Health, 19(19), 12454. https://doi.org/10.3390/ijerph191912454

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop