imod.couplers.metamod.NodeSvatMapping#

class imod.couplers.metamod.NodeSvatMapping(svat: xarray.core.dataarray.DataArray, modflow_dis: imod.mf6.dis.StructuredDiscretization)[source]#

This contains the data to connect MODFLOW 6 cells (user nodes) to MetaSWAP svats.

This class is responsible for the file nodenr2svat.dxc.

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

  • modflow_dis (mf6.StructuredDiscretization) – Modflow 6 structured discretization

__init__(svat: xarray.core.dataarray.DataArray, modflow_dis: imod.mf6.dis.StructuredDiscretization)[source]#

Methods

__init__(svat, modflow_dis)

isel()

sel()

write(directory, index, svat)

Write mapping to .dxc file.

write_dataframe_fixed_width(file, dataframe)