How to Pythonify (modify and run with Python) a Pumping Test Model in MODFLOW
/Working with graphical user interfases (GUIs) can be slow when one wants to do a severe trial-error runs on a groundwater flow model. Pumping test intepretation requires a lot of attemps in order to calibrate the steady and transient parameters as hydraulic conductivity, vertical anisotropy, specific storage and specific yield.
This tutorial show a procedure to generate the modflow files and run them by scripts in Python. The process allows to setup a generic model for a pumping test interpretation where the pumping rates, and observed head can come in separate files or arrays.

FloPy is the Python library that builds and executes MODFLOW models; this library has been enhanced to provide full support of MODFLOW 6 with most of its recent development is related to functionality for MODFLOW 6, tools to use vector and raster spatial data and common plotting and export functionality.