https://raw.githubusercontent.com/DHI/mikeio/main/images/logo/SVG/MIKE-IO-Logo-Pos-RGB.svg

MIKE IO: input/output of MIKE files in Python

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

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

Requirements

  • Windows or Linux operating system

  • Python x64 3.6 - 3.9

  • (Windows) VC++ redistributables (already installed if you have MIKE)

Installation

From PyPI:

pip install mikeio

Or development version:

pip install https://github.com/DHI/mikeio/archive/main.zip

Getting started

>>>  from mikeio import Dfs0
>>>  dfs = Dfs0('simple.dfs0')
>>>  df = dfs.to_dataframe()

Where can I get help?