Skip to main content

A package that uses the DHI dfs libraries to create, write and read dfs and mesh files.

Reason this release was yanked:

Syntax error

Project description

logo

MIKE IO: input/output of MIKE files in Python

Python version Full test PyPI version

Read, write and manipulate dfs0, dfs1, dfs2, dfs3, dfsu and mesh files.

MIKE IO facilitates common data processing workflows for MIKE files in Python.

YouTube

YouTube

Requirements

  • Windows or Linux operating system
  • Python x64 3.8 - 3.11
  • (Windows) VC++ redistributables (already installed if you have MIKE)

More info about dependencies

Where can I get help?

Installation

From PyPI:

pip install mikeio

Or development version:

pip install https://github.com/DHI/mikeio/archive/main.zip

:warning: Don't use conda to install MIKE IO!, the version on conda is outdated.

Tested

MIKE IO is tested extensively.

See detailed test coverage report below:

---------- coverage: platform linux, python 3.11.1-final-0 -----------
Name                              Stmts   Miss  Cover
-----------------------------------------------------
mikeio/__init__.py                   38      2    95%
mikeio/base.py                       26      5    81%
mikeio/data_utils.py                111      5    95%
mikeio/dataarray.py                 992    152    85%
mikeio/dataset.py                   772    100    87%
mikeio/dfs0.py                      299     24    92%
mikeio/dfs1.py                       67      3    96%
mikeio/dfs2.py                      188      8    96%
mikeio/dfs3.py                      186     26    86%
mikeio/dfs.py                       288     36    88%
mikeio/dfsu/__init__.py               3      0   100%
mikeio/dfsu/dfsu.py                 592     56    91%
mikeio/dfsu/factory.py               41      2    95%
mikeio/dfsu/layered.py              180     20    89%
mikeio/dfsu/spectral.py             127      6    95%
mikeio/dfsutil.py                   129     15    88%
mikeio/eum.py                      1324     12    99%
mikeio/exceptions.py                 25      8    68%
mikeio/generic.py                   433     16    96%
mikeio/interpolation.py              60      5    92%
mikeio/pfs/__init__.py                4      0   100%
mikeio/pfs/pfsdocument.py           242     16    93%
mikeio/pfs/pfssection.py            220      9    96%
mikeio/spatial/FM_geometry.py      1118    102    91%
mikeio/spatial/FM_utils.py          293     30    90%
mikeio/spatial/__init__.py            0      0   100%
mikeio/spatial/crs.py                50      4    92%
mikeio/spatial/geometry.py           90     33    63%
mikeio/spatial/grid_geometry.py     558     42    92%
mikeio/spatial/utils.py              38      0   100%
mikeio/spectral.py                   90      5    94%
mikeio/track.py                     100     14    86%
mikeio/xyz.py                        12      0   100%
-----------------------------------------------------
TOTAL                              8696    756    91%

=========== 697 passed, 3 warnings in 46.01s ========

Cloud enabled

It is possible to run MIKE IO in your favorite cloud notebook environment e.g. Deepnote, Google Colab, etc...

DeepNote

Colab

Project details


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 Distribution

mikeio-1.5.0.tar.gz (21.2 MB view details)

Uploaded Source

Built Distribution

mikeio-1.5.0-py3-none-any.whl (148.4 kB view details)

Uploaded Python 3

File details

Details for the file mikeio-1.5.0.tar.gz.

File metadata

  • Download URL: mikeio-1.5.0.tar.gz
  • Upload date:
  • Size: 21.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for mikeio-1.5.0.tar.gz
Algorithm Hash digest
SHA256 0a2076c09d6b22eca3726dd3cbcf045e955c3a434e7a3bb568583b685e63c2e3
MD5 d96009d736bee3ce7d0974236193789c
BLAKE2b-256 975979a52a380f09e394af5fa98b260a0de186c0f15fc183255a97f5e4c3844b

See more details on using hashes here.

File details

Details for the file mikeio-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: mikeio-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 148.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for mikeio-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f9c7a95f55c7e6d039a42bd7ef2f4cebf4208f92daf78ba7b5720b0265c3ecb
MD5 901e994c9e9d316b25228a6d75a6ed2f
BLAKE2b-256 aa6a91c87f349d69759c4671dfed982e601e88efe2518ed0f901a379a3cb6a80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page