dhitools-1.1.0
توضیحات
Python tools for working with DHI MIKE21
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Microsoft :: Windows |
| نام فایل | dhitools-1.1.0 |
| نام | dhitools |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Rob Wall |
| ایمیل نویسنده | rob.james.wall@gmail.com |
| آدرس صفحه اصلی | https://github.com/robjameswall/dhitools |
| آدرس اینترنتی | https://pypi.org/project/dhitools/ |
| مجوز | LICENSE.txt |
## DHI Tools
[](https://dhitools.readthedocs.io/en/latest/?badge=latest)
Python tools for working with [DHI MIKE21](https://www.mikepoweredbydhi.com/products/mike-21).
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.

## Install
**Requirements**
* [MIKE SDK 2019](https://www.mikepoweredbydhi.com/download/mike-2019/mike-sdk?ref={5399F5D6-40C6-4BB2-8311-37B615A652C6})
* [GDAL/OGR](https://pypi.org/project/GDAL/)
* [Geopandas](https://pypi.org/project/geopandas/)
* [Pythonnet](http://pythonnet.github.io/)
**Install**
> Recommended that [Anaconda](https://www.anaconda.com/download/) is used to install `GDAL` and `geopandas`. Alternatively, see [here](https://pypi.org/project/GDAL/) and [here](http://geopandas.org/install.html) for installation instructions of these packages.
First, install **MIKE software development kit**:
> Download installer from [here](https://www.mikepoweredbydhi.com/download/mike-2019/mike-sdk?ref={5399F5D6-40C6-4BB2-8311-37B615A652C6})
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:
* [Interpolate mesh](https://github.com/robjameswall/dhitools/blob/master/notebooks/mesh_interpolation.ipynb)
* [Create roughness map](https://github.com/robjameswall/dhitools/blob/master/notebooks/roughness_map.ipynb)
* [Dfsu analysis](https://github.com/robjameswall/dhitools/blob/master/notebooks/dfsu_analysis.ipynb) - reading items, calculating statistics, plotting, interpolating to regular grid, creating new dfsu files
* [Dfs012 analysis](https://github.com/robjameswall/dhitools/blob/master/notebooks/dfs012_analysis.ipynb)
## Documentation
https://dhitools.readthedocs.io/en/latest/index.html
نیازمندی
| مقدار | نام |
|---|---|
| >=1.14.5 | numpy |
| >=0.1.3 | PyCRS |
| >=1.1.0 | scipy |
| >=0.23.1 | pandas |
نحوه نصب
نصب پکیج whl dhitools-1.1.0:
pip install dhitools-1.1.0.whl
نصب پکیج tar.gz dhitools-1.1.0:
pip install dhitools-1.1.0.tar.gz