Skip to content

Aewaterhouse/dhitools

 
 

Repository files navigation

DHI Tools

Documentation Status

Fork of Rob Wall's dhitools Package: https://github.com/robjameswall/dhitools

Key changes:

  • Support for quadrilateral meshes
  • Support for 3D dfsu filetypes (sigma only are fully integrated, sigma/z-layer are semi-integrated.)
  • Separated out plotting routines into a new module for more flexibility

To do:

  • Add notebook examples of 3D and quad working
  • Check functionality with sigma/z-layer meshtypes
  • Implement direct item plotting from 3D dfsu files (without first converting to 2D)

DHI Tools

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

About

Python tools for working with DHI MIKE21

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%