Skip to content

MODFLOW-USGS/modflowapi

Repository files navigation

modflowapi

CI GitHub contributors GitHub tag

PyPI License PyPI Status PyPI Format PyPI Version PyPI Versions

Anaconda License Anaconda Version Anaconda Updated

An extension to xmipy for the MODFLOW API.

Introduction

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.

Installation

modflowapi requires Python 3.9+, with:

numpy
pandas
xmipy

To install modflowapi with pip:

pip install modflowapi

Or with conda:

conda install -c conda-forge modflowapi

Documentation

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.

Citation

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.