imod.msw.InitialConditionsRootzonePressureHead.write#
- InitialConditionsRootzonePressureHead.write(directory: str | Path, index: ndarray[tuple[int, ...], dtype[int64]], svat: DataArray, mf6_dis: StructuredDiscretization, mf6_well: Mf6Wel)#
Write MetaSWAP package to its corresponding fixed format file. This has the .inp extension.
- Parameters:
directory (string and Path) – Directory to write package in.
index (numpy array of integers) – Array of integers with indices.
svat (xr.DataArray) – Grid with svats, has dimensions “subunit, y, x”.
mf6_dis (StructuredDiscretization (optional)) – Modflow 6 structured discretization.
mf6_well (Mf6Wel (optional)) – If given, this parameter describes sprinkling of SVAT units from MODFLOW cells.