mikeio1d 1.0.3
pip install mikeio1d
Released:
A package that uses the DHI MIKE1D .NET libraries to read res1d and xns11 files.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT License)
- Author: Gediminas Kirsanskas
- Requires: Python >=3.9
-
Provides-Extra:
all
,dev
,docs
,notebooks
,test
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
MIKE IO 1D: Read MIKE 1D in python
Read, manipulate, and analyze res1d, res, resx, out, and xns11 files.
For other MIKE files (Dfs0, Dfs1, Dfs2, Dfsu,...) use the related package MIKE IO
Most users of MIKE IO 1D will also find MIKE+Py of interest.
Requirements
- Windows, Linux (experimental)
- Python x64 3.9 - 3.13
- (Windows) VC++ redistributables (already installed if you have MIKE)
- (Linux) .NET Runtime (not installed by default)
Installation
From PyPI:
pip install mikeio1d
Linux users will need to install .NET runtime. For Ubuntu, you can install .NET runtime as follows:
sudo apt install dotnet-runtime-8.0
Or development version:
pip install https://github.com/DHI/mikeio1d/archive/main.zip
If you're on the development branch, you need .NET SDK. Ubuntu users can install these dependencies as follows:
sudo apt install dotnet-sdk-8.0
Documentation
Check out the official documentation for MIKE IO 1D.
Getting started
Read network results into a DataFrame
>>> import mikeio1d
>>> res = mikeio1d.read('my_results.res1d')
>>> df = res.read()
>>> df_reach = res.reaches['my_reach'].Discharge.read()
>>> df_node = res.nodes['my_node'].WaterLevel.read()
Read Xns11 file and plot a cross section
>>> import mikeio1d
# Plot section with location id 'basin_right', chainage '238.800', and topo id '1'.
>>> xns = mikeio1d.read("mikep_cs_demo.xns11")
>>> xns['basin_right', '238.800', '1'].plot()
Continue learning with additional examples.
Where can I get help?
- Reference - Documentation
- New ideas and feature requests - GitHub Discussions
- Bugs - GitHub Issues
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT License)
- Author: Gediminas Kirsanskas
- Requires: Python >=3.9
-
Provides-Extra:
all
,dev
,docs
,notebooks
,test
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Uploaded
Python 3
manylinux: glibc 2.12+ x86-64
File details
Details for the file mikeio1d-1.0.3-py3-none-win_amd64.whl
.
File metadata
- Download URL: mikeio1d-1.0.3-py3-none-win_amd64.whl
- Upload date:
- Size: 6.3 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 838714d1784566bac61fe201da4b12aa47d6361a36dd6657f8dae8c7d5156c95 |
|
MD5 | 8b4b65cd4962dddb491c523df2ce9d2f |
|
BLAKE2b-256 | c61ac2843bdcd38742698044f30ac30d00b41715b1883ce5023c61733c2e20bf |
File details
Details for the file mikeio1d-1.0.3-py3-none-manylinux2010_x86_64.whl
.
File metadata
- Download URL: mikeio1d-1.0.3-py3-none-manylinux2010_x86_64.whl
- Upload date:
- Size: 18.3 MB
- Tags: Python 3, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282a1b283c78a85b6dd6d6f032dfe204dc025d5577ce4380b4ccf6fc8a67fb5f |
|
MD5 | 2920266efa1561492dbccaaacb2a8300 |
|
BLAKE2b-256 | 2070f663a4c020c29457babacc3675485d77ba357f95441bad5000c4893159e6 |