What is FloPy?

The FloPy package consists of a set of Python scripts to run MODFLOW, MT3D, SEAWAT and other MODFLOW-related groundwater programs. FloPy enables you to run all these programs with Python scripts. The FloPy project started in 2009 and has grown to a fairly complete set of scripts with a growing user base. FloPy3 was released in December 2014 with a few great enhancements that make FloPy3 backwards incompatible. The first significant change is that FloPy3 uses zero-based indexing everywhere, which means that all layers, rows, columns, and stress periods start numbering at zero. This change was made for consistency as all array-indexing was already zero-based (as are all arrays in Python). This may take a little getting-used-to, but hopefully will avoid confusion in the future. A second significant enhancement concerns the ability to specify time-varying boundary conditions that are specified with a sequence of layer-row-column-values, like the WEL and GHB packages. A variety of flexible and readable ways have been implemented to specify these boundary conditions. FloPy is an open-source project and any assistance is welcomed. Please email the development team if you want to contribute.

Return to the Github FloPy website.

FloPy Installation?

To install FloPy3 type:

pip install flopy

To update FloPy3 type:

pip install flopy –upgrade

To uninstall FloPy3 type:

pip uninstall flopy

To install the bleeding edge version of FloPy3 from the git repository type:

pip install git+https://github.com/modflowpy/flopy.git

To update your version of FloPy3 with the bleeding edge code from the git repository type:

pip install git+https://github.com/modflowpy/flopy.git –update

FloPy Development Team

FloPy is developed by a team of MODFLOW users that have switched over to using Python for model development and post processing. Members of the team currently include:

  • Mark Baker
  • Vincent Post
  • Chris Langevin
  • Joe Hughes
  • Jeremy White
  • Andy Leaf
  • Scott Paulinski
  • Eric Morway
  • Jeff Starn
  • Mike Fienen

with contributions from:

  • Jason Belino
  • Kolja Rotzoll
  • Alain Frances
  • and others

Feel free to contact one of us if you would like to participate in FloPy development. We could use the help!