An extension to xmipy for the MODFLOW API.
The modflowapi Python package can be used to access functionality in the eXtended Model Interface (XMI) wrapper (XmiWrapper)
and additional functionality specific to the MODFLOW API. Currently it is a joint development of the USGS and Deltares.
modflowapi requires Python 3.10+, with:
numpy
pandas
xmipyTo install modflowapi with pip:
pip install modflowapi
Or with conda:
conda install -c conda-forge modflowapi
Documentation is available on ReadTheDocs.
Examples using modflowapi and its extensions can be found in the Quickstart and the Extensions notebooks. An example of using the MODFLOW API to monitor heads during a simulation can be found in the Head Monitor Example Notebook.
For more info on MODFLOW 6 see the USGS overview.
Hughes, Joseph D., Russcher, M. J., Langevin, C. D., Morway, E. D. and McDonald, R. R., 2022, The MODFLOW Application Programming Interface for simulationcontrol and software interoperability: Environmental Modelling & Software, v. 148, p. 105257, doi:10.1016/j.envsoft.2021.105257.


