imod.util.RegridderType#
- class imod.util.RegridderType(value)[source]#
Enumerator referring to regridder types in
xugrid
. These can be used safely in scripts, remaining backwards compatible for when it is decided to rename regridders inxugrid
. For an explanation what each regridder type does, we refer to the xugrid documentationExamples
You can use this as follows:
>>> regridder = RegridderType.OVERLAP(source, target, method="mean") >>> result = regridder.regrid(uda)
This is equivalent to:
>>> regridder = xu.OverlapRegridder(source, target, method="mean") >>> result = regridder.regrid(uda)
- __init__(*args, **kwds)#
Attributes
CENTROIDLOCATOR
BARYCENTRIC
OVERLAP
RELATIVEOVERLAP