/dhitools

Python tools for working with DHI MIKE21

Primary LanguagePythonMIT LicenseMIT

DHI Tools

Documentation Status

Python tools for working with DHI MIKE21.

Features:

  • 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

Install

Requirements

Install

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

Latest Build

Clone this repository

Examples

See the following Jupyter notebooks for examples:

Documentation

https://dhitools.readthedocs.io/en/latest/index.html