imod.prepare.LayerRegridder#

class imod.prepare.LayerRegridder(method)[source]#

Object to repeatedly regrid layers of similar objects. Compiles once on first call, can then be repeatedly called without JIT compilation overhead.

method#

The method to use for regridding. Default available methods are: {"mean", "harmonic_mean", "geometric_mean", "sum", "minimum", "maximum", "mode", "median", "max_overlap"}

Type:

str, function

__init__(method)[source]#

Methods

__init__(method)

regrid(source, source_top, source_bottom, ...)