Skip to main content

Python tools for working with DHI MIKE21

Project description

DHI Tools

Documentation Status

Python tools for working with DHI MIKE21.


  • Interpolate multiple raster DEMs directly to .mesh file
  • Read and analyse .dfsu files
  • Create .dfsu roughness map (or any other map) directly from .shp and .mesh
  • Read and analyse .dfs0, .dfs1, .dfs2 files

Due to depending on the MIKE SDK DLL libraries only Windows is supported.

Mesh plot




Recommended that Anaconda is used to install GDAL and geopandas. Alternatively, see here and here for installation instructions of these packages.

First, install MIKE software development kit:

Download installer from here

After installing the MIKE SDK:

conda install gdal
conda install geopandas
pip install pythonnet
pip install dhitools


See the following Jupyter notebooks for examples:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dhitools, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size dhitools-1.1.0-py2-none-any.whl (34.6 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size dhitools-1.1.0-py3-none-any.whl (34.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dhitools-1.1.0.tar.gz (32.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page