dhitools

Python tools for working with DHI MIKE21


Keywords
coastal, coastal-modelling, dhi, hydrodynamic-modeling, mike21, mikebydhi, ocean-modelling
License
Other
Install
pip install dhitools==1.1.0

Documentation

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

Examples

See the following Jupyter notebooks for examples:

Documentation

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