swn.modflow.SwnModflow.set_package_obj#

SwnModflow.set_package_obj(package: str, auxiliary=None, **kwds)#

Set MODFLOW package data to flopy model.

Parameters:
packagestr

MODFLOW package name, such as “drn” for DRAIN.

auxiliarylist, optional

List of auxiliary names, which must be columns in the reaches frame.

**kwdsdict, optional

Passed to flopy.modflow.mfsfr2.ModflowSfr2.

Returns:
flopy.pakbase.Package

See also

SwnModflow.flopy_package_period

Used internally to set data.

Notes

Flopy is sometimes limited with writing “AUX name” in the header to describe auxiliary variables. This stress package file may need to be edited after written by flopy to work as expected.