Skip to main content

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

Project description

logo

MIKE IO: input/output of MIKE files in Python

Python version Full test PyPI version OS Downloads

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

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

MIKEIO. Read, write and analyze MIKE dfs files with Python on Vimeo

Requirements

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

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.

Getting started

The material from the last Academy by DHI course is available here: Getting started with Dfs files in Python using MIKE IO

Where can I get help?

Tested

MIKE IO is tested extensively.

See detailed test coverage report below:

$ pytest --cov=mikeio
---------- coverage: platform linux, python 3.13.0-final-0 -----------
Name                                      Stmts   Miss  Cover
-------------------------------------------------------------
mikeio/__init__.py                           33      5    85%
mikeio/_interpolation.py                     68      6    91%
mikeio/_spectral.py                          97      7    93%
mikeio/_time.py                              28      1    96%
mikeio/_track.py                            119      9    92%
mikeio/dataset/__init__.py                    4      0   100%
mikeio/dataset/_data_plot.py                359     38    89%
mikeio/dataset/_data_utils.py                19      0   100%
mikeio/dataset/_dataarray.py                725     46    94%
mikeio/dataset/_dataset.py                  766     51    93%
mikeio/dfs/__init__.py                        5      0   100%
mikeio/dfs/_dfs0.py                         205     13    94%
mikeio/dfs/_dfs1.py                          89      2    98%
mikeio/dfs/_dfs2.py                         142      3    98%
mikeio/dfs/_dfs3.py                         157     11    93%
mikeio/dfs/_dfs.py                          251     14    94%
mikeio/dfsu/__init__.py                       6      0   100%
mikeio/dfsu/_common.py                       36      1    97%
mikeio/dfsu/_dfsu.py                        239      6    97%
mikeio/dfsu/_factory.py                      20      1    95%
mikeio/dfsu/_layered.py                     204      9    96%
mikeio/dfsu/_mesh.py                         54      8    85%
mikeio/dfsu/_spectral.py                    234     42    82%
mikeio/eum/__init__.py                        2      0   100%
mikeio/eum/_eum.py                         1353      9    99%
mikeio/exceptions.py                         24      4    83%
mikeio/generic.py                           475     13    97%
mikeio/pfs/__init__.py                        7      0   100%
mikeio/pfs/_pfsdocument.py                  233      4    98%
mikeio/pfs/_pfssection.py                   225     11    95%
mikeio/spatial/_FM_geometry.py              511     13    97%
mikeio/spatial/_FM_geometry_layered.py      417     30    93%
mikeio/spatial/_FM_geometry_spectral.py      94      9    90%
mikeio/spatial/_FM_utils.py                 306     22    93%
mikeio/spatial/__init__.py                    6      0   100%
mikeio/spatial/_geometry.py                 100      8    92%
mikeio/spatial/_grid_geometry.py            629     41    93%
mikeio/spatial/_utils.py                     38      0   100%
mikeio/spatial/crs.py                        51      5    90%
-------------------------------------------------------------
TOTAL                                      8331    442    95%

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-3.0.1.tar.gz (123.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mikeio-3.0.1-py3-none-any.whl (149.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mikeio-3.0.1.tar.gz
  • Upload date:
  • Size: 123.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mikeio-3.0.1.tar.gz
Algorithm Hash digest
SHA256 a8830f0da8c557f5bc6ffd7977d85b70daf9e571b3d75b5596e71c0ff3a2d5bc
MD5 18bc20b42ccb997642c89bbd419d1050
BLAKE2b-256 5734690fa8ee5bde7dadd4b8cb6fc4cb004e4b7d58b63bd3ff25c18c863cb02c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mikeio-3.0.1.tar.gz:

Publisher: python-publish.yml on DHI/mikeio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: mikeio-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 149.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mikeio-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4024e3b32194ba80829576e77850f96db9d63dbc6287d09abe9f20d1327cf6d5
MD5 03f4242b94b18862021f895ef207b601
BLAKE2b-256 94c125b99ca0f70ead6750255f16de3c0a2dc65660af2bfa1d4f17be36fda517

See more details on using hashes here.

Provenance

The following attestation bundles were made for mikeio-3.0.1-py3-none-any.whl:

Publisher: python-publish.yml on DHI/mikeio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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