# gstools.field.upscaling.var_coarse_graining

gstools.field.upscaling.var_coarse_graining(model, point_volumes=0.0)[source]

Coarse Graning procedure to upscale the variance for uniform flow.

Parameters
Returns

scaled_var – The upscaled variance

Return type

float or numpy.ndarray

Notes

This procedure was presented in [Attinger03]. It applies the upscaling procedure ‘Coarse Graining’ to the Groundwater flow equation under uniform flow on a lognormal distributed conductivity field following a gaussian covariance function. A filter over a cube with a given edge-length is applied and an upscaled conductivity field is obtained. The upscaled field is again following a gaussian covariance function with scale dependent variance and length-scale:

Therby will be calculated from the given point_volumes by assuming a cube with the given volume.

The upscaled length scale will be ignored by this routine.

References

Attinger03

Attinger, S. 2003, ‘’Generalized coarse graining procedures for flow in porous media’’, Computational Geosciences, 7(4), 253–273.