imod.couplers.metamod.WellSvatMapping#

class imod.couplers.metamod.WellSvatMapping(svat: xarray.core.dataarray.DataArray, well: imod.mf6.wel.WellDisStructured)[source]#

This contains the data to connect MODFLOW 6 well cells to MetaSWAP svats.

This class is responsible for the file wellindex2svat.dxc.

Parameters
  • svat (array of floats (xr.DataArray)) – SVAT units. This array must have a subunit coordinate to describe different land uses.

  • well (mf6.Well) – Modflow 6 Well package to connect to.

__init__(svat: xarray.core.dataarray.DataArray, well: imod.mf6.wel.WellDisStructured)[source]#

Methods

__init__(svat, well)

isel()

sel()

write(directory, index, svat)

Write mapping to .dxc file.

write_dataframe_fixed_width(file, dataframe)