imod.prepare.Regridder#
- class imod.prepare.Regridder(*args, **kwargs)[source]#
Placeholder to preserve removed Regridder class namespace.
Attention
imod.prepare.Regridder
is removed. Use the regridder inxugrid
instead, which is around 10 times faster. It is as simple as:>>> import xugrid as xu >>> regridder = xu.OverlapRegridder(source=source, target=like, method="mean") >>> result = regridder.regrid(source)
For more information, see: https://deltares.github.io/xugrid/examples/regridder_overview.html. To regrid MODFLOW6 packages or entire MODFLOW6 simulations, see the iMOD Python user guide: https://deltares.github.io/imod-python/user-guide/08-regridding.html.
Methods
__init__
(*args, **kwargs)