FloPy includes support for MODFLOW-2000, MODFLOW-2005, MODFLOW-NWT, and MODFLOW-USG. Other supported MODFLOW-based models include MODPATH (version 6), MT3D and SEAWAT.
For general modeling issues, please consult a modeling forum, such as the MODFLOW Users Group. Other MODFLOW resources are listed in the MODFLOW Resources section.
If you think you have found a bug in FloPy, or if you would like to suggest an improvement or enhancement, please submit a new Issue through the Github Issue tracker toward the upper-right corner of this page. Pull requests will only be accepted on the develop branch of the repository.
FloPy code documentation is available at http://modflowpy.github.io/flopydoc/
FloPy is now citable! Please see our new paper in Groundwater:
Python versions:
FloPy requires Python 2.7 or Python 3.3 (or higher)
Dependencies:
FloPy requires NumPy 1.9 (or higher) and matplotlib 1.4 (or higher). The mapping and cross-section capabilities in the flopy.plot
submodule and shapefile export capabilities (to_shapefile()
) require Pyshp 1.2 (or higher). The NetCDF export capabilities in the flopy.export
submodule require python-dateutil 2.4 (or higher), netcdf4 1.1 (or higher), and pyproj 1.9 (or higher). Other NetCDF dependencies are detailed on the UniData website. The get_dataframes
method in the ListBudget
class in the flopy.utils
submodule require pandas 0.15 (or higher).
Installing from the git repository:
Current version of FloPy:
For base Python distributions to install FloPy type:
For Phython 2.7:
pip install https://github.com/mrustl/flopy/archive/3.2.5_kwb.zip
For Python 3.3 (or higher):
pip3 install https://github.com/mrustl/flopy/archive/3.2.5_kwb.zip
Development version of FloPy:
To install the bleeding edge version of FloPy from the git repository type:
pip install https://github.com/mrustl/flopy/zipball/kwb
To update your version of FloPy with the bleeding edge code from the git repository type:
pip install https://github.com/mrustl/flopy/zipball/kwb --upgrade
A list of supported packages in FloPy is available in docs/supported_packages.md on the github repo.
A table of the supported and proposed model checks implemented in FloPy is available in docs/checks.md on the github repo.
A summary of changes in each FloPy version is available in docs/version_changes.md on the github repo.