imod.mf6.regrid.EvapotranspirationRegridMethod#

class imod.mf6.regrid.EvapotranspirationRegridMethod(surface: Tuple[RegridderType, str] | Tuple[RegridderType] = (RegridderType.OVERLAP, 'mean'), rate: Tuple[RegridderType, str] | Tuple[RegridderType] = (RegridderType.OVERLAP, 'mean'), depth: Tuple[RegridderType, str] | Tuple[RegridderType] = (RegridderType.OVERLAP, 'mean'), proportion_rate: Tuple[RegridderType, str] | Tuple[RegridderType] = (RegridderType.OVERLAP, 'mean'), proportion_depth: Tuple[RegridderType, str] | Tuple[RegridderType] = (RegridderType.OVERLAP, 'mean'))[source]#

Object containing regridder methods for the imod.mf6.Evapotranspiration package. This can be provided to the regrid_like method to regrid with custom settings.

Parameters:
  • surface (tuple, default (RegridderType.OVERLAP, "mean"))

  • rate (tuple, default (RegridderType.OVERLAP, "mean"))

  • depth (tuple, default (RegridderType.OVERLAP, "mean"))

  • proportion_rate (tuple, default (RegridderType.OVERLAP, "mean"))

  • proportion_depth (tuple, default (RegridderType.OVERLAP, "mean"))

Examples

Regrid with custom settings:

>>> regrid_method = EvapotranspirationRegridMethod(surface=(RegridderType.BARYCENTRIC,))
>>> evt.regrid_like(target_grid, RegridderWeightsCache(), regrid_method)

The RegridderType.OVERLAP and RegridderType.RELATIVEOVERLAP require an extra method as string.

>>> regrid_method = EvapotranspirationRegridMethod(surface=(RegridderType.OVERLAP, "max",))
__init__(*args: Any, **kwargs: Any) None#

Methods

__init__(*args, **kwargs)

asdict()

Attributes

depth

proportion_depth

proportion_rate

rate

surface