MIKE IO: input/output of MIKE files in Python

Python version PyPI version

Read, write and manipulate dfs0, dfs1, dfs2, dfs3, dfsu and mesh files.

See our sister library MIKE IO 1D for .res1d and .xns11 files.


  • Windows or Linux operating system
  • Python x64 3.8 - 3.11
  • (Windows) VC++ redistributables (already installed if you have MIKE)


$ pip install mikeio

Don’t use conda to install MIKE IO!, the version on conda is outdated.

Getting started

import mikeio

ds = mikeio.read("data/FakeLake.dfsu")

Read more in the getting started guide.

Where can I get help?