iMOD-Python: work with iMOD MODFLOW models in Python

Work with iMOD MODFLOW models in Python.


Source code:

Interactive notebook examples:

Getting started

Install the latest release using conda install -c conda-forge imod, or, when not using Anaconda, pip install imod. For more detailed installation information see Installation.

import imod

# read and write IPF files to pandas DataFrame
df ='wells.ipf')'wells-out.ipf', df)

# get all calculated heads in a xarray DataArray
# with dimensions time, layer, y, x
da ='path/to/results/head_*.idf')


This Python package was written primarily by Martijn Visser and Huite Bootsma at Deltares.

Indices and tables