Recent Releases of mikeio
mikeio - Alpha release 3.0
What's Changed
- Fix isel on Dfsu 3d single timestep. by @ecomodeller in https://github.com/DHI/mikeio/pull/828
- Simplify Dataset by @ecomodeller in https://github.com/DHI/mikeio/pull/829
- Simpler dfs0 by @ecomodeller in https://github.com/DHI/mikeio/pull/831
- Upgraded syntax by @ecomodeller in https://github.com/DHI/mikeio/pull/832
- Change dfs datatype by @otzi5300 in https://github.com/DHI/mikeio/pull/830
- Linespectra inheritance by @ecomodeller in https://github.com/DHI/mikeio/pull/836
- Interpolation ids and weights always go together by @ecomodeller in https://github.com/DHI/mikeio/pull/835
- Mypy upgrade by @ecomodeller in https://github.com/DHI/mikeio/pull/838
- Generic derived variables by @ecomodeller in https://github.com/DHI/mikeio/pull/839
- Feature/writespectraldfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/837
Full Changelog: https://github.com/DHI/mikeio/compare/v2.6.0...v3.0.0a0
- Python
Published by ecomodeller 8 months ago
mikeio - Version 2.6.0
What's Changed
- Fix temporal selection in
Dfs0.readfor non-equidistant time axis. by @ecomodeller in https://github.com/DHI/mikeio/pull/825 - Deprecate time slicing using getitem. by @ecomodeller in https://github.com/DHI/mikeio/pull/823
- Renaming utils/common to more descriptive name by @ecomodeller in https://github.com/DHI/mikeio/pull/818
- Check type hints in tests by @ecomodeller in https://github.com/DHI/mikeio/pull/822
Full Changelog: https://github.com/DHI/mikeio/compare/v2.5.0...v2.6.0
- Python
Published by ecomodeller 9 months ago
mikeio - Version v2.5.0
Highlights
- Creating a Dataset with a list of Numpy arrays, time, and items is now deprecated. Create a Dataset from a collection of DataArrays instead.
- Speaking of DataArray, the name and EUM types can now be added without explicitly creating an ItemInfo object, e.g.
python mikeio.DataArray(data=..., name="Wave Height", type=mikeio.EUMType.Wave_height, geometry=...) - Access nested parts of a Pfs document with a path-like syntax e.g.
pfs['FemEngineHD/TIME/start_time'], see user guide.
What's Changed
- Datasetfromnumpy by @ecomodeller in https://github.com/DHI/mikeio/pull/799
- Access pfs with hierarchical path by @ecomodeller in https://github.com/DHI/mikeio/pull/812
- Make MIKE IO DataArray more similar to Xarray by @ecomodeller in https://github.com/DHI/mikeio/pull/815
- Deprecate monkey patched from dataframe by @ecomodeller in https://github.com/DHI/mikeio/pull/814
- Pfs set nested path by @ecomodeller in https://github.com/DHI/mikeio/pull/816
- support average in generic concat by @otzi5300 in https://github.com/DHI/mikeio/pull/810
- Use pyproject.toml for mypy by @ecomodeller in https://github.com/DHI/mikeio/pull/798
- Fix deprecated escape chars by @ecomodeller in https://github.com/DHI/mikeio/pull/800
- New EUMs by @ecomodeller in https://github.com/DHI/mikeio/pull/725
- Fix numpy related type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/803
- PFS - Handle comments better. by @ecomodeller in https://github.com/DHI/mikeio/pull/802
- Fix bug in Dfs0 read time slice by @ecomodeller in https://github.com/DHI/mikeio/pull/808
- Use new @deprecated decorator. by @ecomodeller in https://github.com/DHI/mikeio/pull/811
- Use named dimension to
DataArray.iselinstead of position. by @ecomodeller in https://github.com/DHI/mikeio/pull/805
Full Changelog: https://github.com/DHI/mikeio/compare/v2.4.0...v2.5.0
- Python
Published by ecomodeller 11 months ago
mikeio - Release 2.4.0
What's Changed
- {Dataset, DataArray}.fillna by @ecomodeller in https://github.com/DHI/mikeio/pull/789
- Support comma in pfs file names by @ecomodeller in https://github.com/DHI/mikeio/pull/793
- Preserve dtype during interpolation by @ecomodeller in https://github.com/DHI/mikeio/pull/796
- Support multiplication and division of datasets. by @ecomodeller in https://github.com/DHI/mikeio/pull/792
- Remove xyz by @ecomodeller in https://github.com/DHI/mikeio/pull/797
- Generic clean up by @ecomodeller in https://github.com/DHI/mikeio/pull/722
Full Changelog: https://github.com/DHI/mikeio/compare/v2.3.0...v2.4.0
- Python
Published by ecomodeller about 1 year ago
mikeio - Version 2.3.0
What's Changed
- Tweaking pfs by @ecomodeller in https://github.com/DHI/mikeio/pull/782
- Allow modification of unit by @ecomodeller in https://github.com/DHI/mikeio/pull/787
- Use named arguments to isel/sel by @ecomodeller in https://github.com/DHI/mikeio/pull/786
- Use zip to loop over two collections in Dataset by @ecomodeller in https://github.com/DHI/mikeio/pull/783
- Improve test coverage by @ecomodeller in https://github.com/DHI/mikeio/pull/791
Full Changelog: https://github.com/DHI/mikeio/compare/v2.2.1...v2.3.0
- Python
Published by ecomodeller about 1 year ago
mikeio - Version 2.2.1
What's Changed
- Bug/Dataset.extracttrackmodifies_input by @ecomodeller in https://github.com/DHI/mikeio/pull/765
- Dfsu 3d types by @ecomodeller in https://github.com/DHI/mikeio/pull/767
- Add missing dfsu read x,y test by @ecomodeller in https://github.com/DHI/mikeio/pull/779
- Dataclass instead of namedtuples by @ecomodeller in https://github.com/DHI/mikeio/pull/769
- Dataclass instead of tuple by @ecomodeller in https://github.com/DHI/mikeio/pull/757
- Fix keepdims by @ecomodeller in https://github.com/DHI/mikeio/pull/778
Full Changelog: https://github.com/DHI/mikeio/compare/v.2.2.0...v2.2.1
- Python
Published by ecomodeller about 1 year ago
mikeio - Version 2.2.0
Highlights
- Improvement for dfsu files with many elements #744
- Fixed spectral 2D grid #761
- 3 new contributors to MIKEIOπ
What's Changed
- Update FMutils.py by @abja-dhi in https://github.com/DHI/mikeio/pull/744
- Added download button by @daniel-caichac-DHI in https://github.com/DHI/mikeio/pull/753
- New Dfs2 snow comparison notebook and test data by @dykdhi in https://github.com/DHI/mikeio/pull/756
- FM reprs, nodes before elements by @ecomodeller in https://github.com/DHI/mikeio/pull/758
- Indicate that MIKE IO uses type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/759
- Bugfix: bug fix in spectral 2D grid y ax by @stkistner in https://github.com/DHI/mikeio/pull/761
New Contributors
- @abja-dhi made their first contribution in https://github.com/DHI/mikeio/pull/744
- @dykdhi made their first contribution in https://github.com/DHI/mikeio/pull/756
- @stkistner made their first contribution in https://github.com/DHI/mikeio/pull/761
Full Changelog: https://github.com/DHI/mikeio/compare/v2.1.3...v.2.2.0
- Python
Published by ecomodeller about 1 year ago
mikeio - Patch version 2.1.3
What's Changed
- Pfs - handle slow reading of MIKE Hydro by @ecomodeller in https://github.com/DHI/mikeio/pull/750
- Pfs multipolygon test case by @ecomodeller in https://github.com/DHI/mikeio/pull/751
- Minor fix to docs + bump quartodoc version by @ecomodeller in https://github.com/DHI/mikeio/pull/745
- Fix: Dfsu repr with many items by @ecomodeller in https://github.com/DHI/mikeio/pull/747
- Release/2.1.3 by @ecomodeller in https://github.com/DHI/mikeio/pull/752
Thanks to @Havrevoll for pointing out the terribly slow parsing of MIKE Hydro files containing detailed catchment polygons in #749
Full Changelog: https://github.com/DHI/mikeio/compare/v2.1.2...v2.1.3
- Python
Published by ecomodeller over 1 year ago
mikeio - Patch version 2.1.2
What's Changed
- Prepare for python 3.13 by @ryan-kipawa in https://github.com/DHI/mikeio/pull/729
- Only run tests on Windows before each release. by @ecomodeller in https://github.com/DHI/mikeio/pull/734
- Documentation examples by @ecomodeller in https://github.com/DHI/mikeio/pull/733
- Docstrings by @ecomodeller in https://github.com/DHI/mikeio/pull/735
- Grid docstrings by @ecomodeller in https://github.com/DHI/mikeio/pull/732
New Contributors
- @ryan-kipawa made their first contribution in https://github.com/DHI/mikeio/pull/729 π
Full Changelog: https://github.com/DHI/mikeio/compare/v2.1.1...v2.1.2
- Python
Published by ecomodeller over 1 year ago
mikeio - Patch version 2.1.1
What's Changed
- Fix bug in Dfsu spectral files directions conversion by @jsmariegaard in https://github.com/DHI/mikeio/pull/728
- Slim sdist by @ecomodeller in https://github.com/DHI/mikeio/pull/730
- Updated quartodoc version by @ecomodeller in https://github.com/DHI/mikeio/pull/731
- Ruff format by @ecomodeller in https://github.com/DHI/mikeio/pull/721
- Use built-in list,tuple,set,dict for type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/713
Full Changelog: https://github.com/DHI/mikeio/compare/v2.1.0...v2.1.1
- Python
Published by ecomodeller over 1 year ago
mikeio - Version 2.1
What's Changed
- Dfsu subdomain merge example by @clemenscremer in https://github.com/DHI/mikeio/pull/716
- Special case for generic.concat dfs0 by @ecomodeller in https://github.com/DHI/mikeio/pull/719
Full Changelog: https://github.com/DHI/mikeio/compare/v2.0.1...v2.1.0
Thanks to @daniel-caichac-DHI for #718
- Python
Published by ecomodeller over 1 year ago
mikeio - Version v2.0.1
What's Changed
- Fixing copying of datavaluetype in from_pandas by @srwater in https://github.com/DHI/mikeio/pull/714
New Contributors
- @srwater made their first contribution in https://github.com/DHI/mikeio/pull/714
Full Changelog: https://github.com/DHI/mikeio/compare/v2.0.0...v2.0.1
- Python
Published by ecomodeller over 1 year ago
mikeio - β¨Version 2.0β¨
What's Changed
- Use collections.abc by @ecomodeller in https://github.com/DHI/mikeio/pull/651
- Concat neq dfs0 by @ecomodeller in https://github.com/DHI/mikeio/pull/652
- Change documentation from Sphinx to Quartodoc / Quarto by @ecomodeller in https://github.com/DHI/mikeio/pull/655
- Detach
Meshfrom_UnstructuredFileby @ecomodeller in https://github.com/DHI/mikeio/pull/616 - Simplify Dfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/657
- Remove old deprecated stuff by @ecomodeller in https://github.com/DHI/mikeio/pull/659
- Remove legacy Dfs methods by @ecomodeller in https://github.com/DHI/mikeio/pull/658
- Pfs type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/664
- Fix PfsDocument.copy by @ecomodeller in https://github.com/DHI/mikeio/pull/662
- More type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/663
- Slim mesh api by @ecomodeller in https://github.com/DHI/mikeio/pull/665
- Executable docstrings by @ecomodeller in https://github.com/DHI/mikeio/pull/661
- Pfs improvements by @jsmariegaard in https://github.com/DHI/mikeio/pull/611
- Dfs0 minor by @ecomodeller in https://github.com/DHI/mikeio/pull/667
- More type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/669
- Delegate default dims to geometry by @ecomodeller in https://github.com/DHI/mikeio/pull/666
- Clean untested or unused code by @ecomodeller in https://github.com/DHI/mikeio/pull/671
- Misc improvement for layered dfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/673
- Dfs{2,3} local coordinates by @ecomodeller in https://github.com/DHI/mikeio/pull/668
- Remove duplicate Dfs0 ItemInfo construction by @ecomodeller in https://github.com/DHI/mikeio/pull/674
- Minimize passing and returning None and Dfsu refactor by @ecomodeller in https://github.com/DHI/mikeio/pull/678
- Dfsu 2.0 by @ecomodeller in https://github.com/DHI/mikeio/pull/679
- Single timestep dataset forgets dt by @ecomodeller in https://github.com/DHI/mikeio/pull/692
- More type hints - No untyped defs by @ecomodeller in https://github.com/DHI/mikeio/pull/683
- Dfsu read elements preserve order by @ecomodeller in https://github.com/DHI/mikeio/pull/690
- Dfs3 read single layer - local coordinates by @ecomodeller in https://github.com/DHI/mikeio/pull/696
- Use Quartodoc==0.7.3 by @ecomodeller in https://github.com/DHI/mikeio/pull/698
- np.in1d is deprecated by @ecomodeller in https://github.com/DHI/mikeio/pull/701
- Improve test coverage by @ecomodeller in https://github.com/DHI/mikeio/pull/704
- Dfs append data to existing file by @ecomodeller in https://github.com/DHI/mikeio/pull/691
- Non-equidistant time axis for Dfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/702
- Update ruff and mypy to latest versions by @ecomodeller in https://github.com/DHI/mikeio/pull/711
- Create dataset from {pandas,polars} dataframe by @ecomodeller in https://github.com/DHI/mikeio/pull/712
Full Changelog: https://github.com/DHI/mikeio/compare/v1.7.1...v2.0.0
- Python
Published by ecomodeller over 1 year ago
mikeio - Second beta release of 2.0
What's Changed
- Single timestep dataset forgets dt by @ecomodeller in https://github.com/DHI/mikeio/pull/692
- Dfsu read elements preserve order by @ecomodeller in https://github.com/DHI/mikeio/pull/690
- Dfs3 read single layer - local coordinates by @ecomodeller in https://github.com/DHI/mikeio/pull/696
Full Changelog: https://github.com/DHI/mikeio/compare/v2.0.b0...v2.0.b1
- Python
Published by ecomodeller over 1 year ago
mikeio - Beta release 2.0
What's Changed
- Use collections.abc by @ecomodeller in https://github.com/DHI/mikeio/pull/651
- Concat neq dfs0 by @ecomodeller in https://github.com/DHI/mikeio/pull/652
- Change documentation from Sphinx to Quartodoc / Quarto by @ecomodeller in https://github.com/DHI/mikeio/pull/655
- Detach
Meshfrom_UnstructuredFileby @ecomodeller in https://github.com/DHI/mikeio/pull/616 - Simplify Dfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/657
- Remove old deprecated stuff by @ecomodeller in https://github.com/DHI/mikeio/pull/659
- Remove legacy Dfs methods by @ecomodeller in https://github.com/DHI/mikeio/pull/658
- Pfs type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/664
- Fix PfsDocument.copy by @ecomodeller in https://github.com/DHI/mikeio/pull/662
- More type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/663
- Slim mesh api by @ecomodeller in https://github.com/DHI/mikeio/pull/665
- Executable docstrings by @ecomodeller in https://github.com/DHI/mikeio/pull/661
- Pfs improvements by @jsmariegaard in https://github.com/DHI/mikeio/pull/611
- Dfs0 minor by @ecomodeller in https://github.com/DHI/mikeio/pull/667
- More type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/669
- Delegate default dims to geometry by @ecomodeller in https://github.com/DHI/mikeio/pull/666
- Clean untested or unused code by @ecomodeller in https://github.com/DHI/mikeio/pull/671
- Misc improvement for layered dfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/673
- Dfs{2,3} local coordinates by @ecomodeller in https://github.com/DHI/mikeio/pull/668
- Remove duplicate Dfs0 ItemInfo construction by @ecomodeller in https://github.com/DHI/mikeio/pull/674
- Minimize passing and returning None and Dfsu refactor by @ecomodeller in https://github.com/DHI/mikeio/pull/678
- Dfsu 2.0 by @ecomodeller in https://github.com/DHI/mikeio/pull/679
Full Changelog: https://github.com/DHI/mikeio/compare/v1.7.1...v2.0.b0
- Python
Published by ecomodeller almost 2 years ago
mikeio - Version 1.7.1
Only addition to 1.7.0 is that matplotlib is an explicit dependency of MIKE IO.
- Python
Published by ecomodeller about 2 years ago
mikeio - Version 1.7.0
- Type hints added to some parts of MIKE IO
- Remove non-supported syntax
- Misc fixes (see below)
What's Changed
- Zip "large" ascii file by @ecomodeller in https://github.com/DHI/mikeio/pull/612
- Init instance variables in init by @ecomodeller in https://github.com/DHI/mikeio/pull/600
- Handle reading time axis with daily unit by @ecomodeller in https://github.com/DHI/mikeio/pull/625
- Remove <1.0 syntax by @ecomodeller in https://github.com/DHI/mikeio/pull/615
- Handle non-positive dt by @ecomodeller in https://github.com/DHI/mikeio/pull/620
- cannot be more sigma than totlayers by @otzi5300 in https://github.com/DHI/mikeio/pull/605
- Simplify Dfs{0,1} by @ecomodeller in https://github.com/DHI/mikeio/pull/622
- Update video links to vimeo (to remove dated reference to MIKE 2022) by @jsmariegaard in https://github.com/DHI/mikeio/pull/627
- More static types by @ecomodeller in https://github.com/DHI/mikeio/pull/613
- Remove geometry warning test by @ecomodeller in https://github.com/DHI/mikeio/pull/641
- Fix-pandas-deprecations by @ecomodeller in https://github.com/DHI/mikeio/pull/642
- Legacy-test by @ecomodeller in https://github.com/DHI/mikeio/pull/645
- Bump numpy from 1.20.0 to 1.22.0 by @dependabot in https://github.com/DHI/mikeio/pull/646
- Dataset type hints by @ecomodeller in https://github.com/DHI/mikeio/pull/640
New Contributors
- @otzi5300 made their first contribution in https://github.com/DHI/mikeio/pull/605
- @dependabot made their first contribution in https://github.com/DHI/mikeio/pull/646
Full Changelog: https://github.com/DHI/mikeio/compare/v1.6.3...v1.7.0
- Python
Published by ecomodeller about 2 years ago
mikeio - Version 1.6.3
We got two new contributors @Q-R-B and @Havrevoll π
If you would like to contribute an example notebook that uses MIKE IO and makes your life easier, there might more people with a similar needs.
What's Changed
- Don't write non-equidistant dfsu by @ecomodeller in https://github.com/DHI/mikeio/pull/590
- New notebook with conversion from Esri ASCII raster to dfs2 by @Q-R-B in https://github.com/DHI/mikeio/pull/593
- Type hints from the future by @ecomodeller in https://github.com/DHI/mikeio/pull/592
- Corrected contour generation by @Havrevoll in https://github.com/DHI/mikeio/pull/597
- Additional dependencies for running notebooks by @ecomodeller in https://github.com/DHI/mikeio/pull/599
- Updated docs after reorg by @ecomodeller in https://github.com/DHI/mikeio/pull/583
- Dfs2 subsetting with physical coordinates by @ecomodeller in https://github.com/DHI/mikeio/pull/604
- Remove wrong type by @ecomodeller in https://github.com/DHI/mikeio/pull/606
- Extract class time step selection by @ecomodeller in https://github.com/DHI/mikeio/pull/594
- pathlib instead of os.path by @ecomodeller in https://github.com/DHI/mikeio/pull/601
- Lint with Ruff by @ecomodeller in https://github.com/DHI/mikeio/pull/607
- Test on Python 3.12 by @ecomodeller in https://github.com/DHI/mikeio/pull/610
- Overload
Dataset.__getitem__by @ecomodeller in https://github.com/DHI/mikeio/pull/608
New Contributors
- @Q-R-B made their first contribution in https://github.com/DHI/mikeio/pull/593
- @Havrevoll made their first contribution in https://github.com/DHI/mikeio/pull/597
Full Changelog: https://github.com/DHI/mikeio/compare/v1.6.2...v1.6.3
- Python
Published by ecomodeller over 2 years ago
mikeio - Version 1.6.2
Minor changes...
What's Changed
- Citation by @ecomodeller in https://github.com/DHI/mikeio/pull/578
- Many fixes, mostly from ruff by @ecomodeller in https://github.com/DHI/mikeio/pull/577
- Slim source dist by @ecomodeller in https://github.com/DHI/mikeio/pull/581
- Updated container by @ecomodeller in https://github.com/DHI/mikeio/pull/584
- Fix NumPy by @ecomodeller in https://github.com/DHI/mikeio/pull/585
- Static type checking with mypy by @ecomodeller in https://github.com/DHI/mikeio/pull/586
Full Changelog: https://github.com/DHI/mikeio/compare/v1.6.1...v1.6.2
- Python
Published by ecomodeller over 2 years ago
mikeio - Version 1.6.1
What's Changed
- Pfs: Handle CLOB on write by @ecomodeller in https://github.com/DHI/mikeio/pull/575
Full Changelog: https://github.com/DHI/mikeio/compare/v1.6.0...v1.6.1
- Python
Published by ecomodeller over 2 years ago
mikeio - Version 1.6.0
In this minor version we welcome two new contributors to MIKE IO @Snowthe and @cmitR, thank you!
What's Changed
- Dfsu 3D append fix by @cmitR in https://github.com/DHI/mikeio/pull/533
- Dtype dfs3 read by @Snowthe in https://github.com/DHI/mikeio/pull/562
- Simplify GeometryFM instance variables by @ecomodeller in https://github.com/DHI/mikeio/pull/561
- Type hint continued by @ecomodeller in https://github.com/DHI/mikeio/pull/565
- Validate projection string by @ecomodeller in https://github.com/DHI/mikeio/pull/567
- Split up 2d and 3d flexible geometry by @ecomodeller in https://github.com/DHI/mikeio/pull/569
- add {item#} for repeated item names by @mohm-dhi in https://github.com/DHI/mikeio/pull/573
New Contributors
- @cmitR made their first contribution in https://github.com/DHI/mikeio/pull/533
- @Snowthe made their first contribution in https://github.com/DHI/mikeio/pull/562
Full Changelog: https://github.com/DHI/mikeio/compare/v1.5.1...v1.6.0
- Python
Published by ecomodeller over 2 years ago
mikeio - v1.5.0
What's Changed
- Private modules by @ecomodeller in https://github.com/DHI/mikeio/pull/551
- Temporary paths with Pathlib by @ecomodeller in https://github.com/DHI/mikeio/pull/557
- Support CLOB in
read_pfs()by @ecomodeller in https://github.com/DHI/mikeio/pull/560
Full Changelog: https://github.com/DHI/mikeio/compare/v1.4.1...v1.5.0
- Python
Published by ecomodeller almost 3 years ago
mikeio - v1.4.1
What's Changed
- Well Known Text for Points by @ecomodeller in https://github.com/DHI/mikeio/pull/550
- Dataarray to_dataframe by @ecomodeller in https://github.com/DHI/mikeio/pull/554
- Grid 2d find index performance by @ecomodeller in https://github.com/DHI/mikeio/pull/553
Full Changelog: https://github.com/DHI/mikeio/compare/v1.4.0...v1.4.1
- Python
Published by ecomodeller almost 3 years ago
mikeio - v1.4.0
What's Changed
- Simplify plot map by @ecomodeller in https://github.com/DHI/mikeio/pull/520
- Remove unused exceptions by @ecomodeller in https://github.com/DHI/mikeio/pull/535
- DRY mikeio.open by @ecomodeller in https://github.com/DHI/mikeio/pull/532
- GeometryFMLayered always has nlayers by @ecomodeller in https://github.com/DHI/mikeio/pull/528
- Interpolation in 3d not yet supported by @ecomodeller in https://github.com/DHI/mikeio/pull/529
- Only import selected functions by @ecomodeller in https://github.com/DHI/mikeio/pull/521
- Short unit names by @jsmariegaard in https://github.com/DHI/mikeio/pull/438
- Geometry refactoring by @ecomodeller in https://github.com/DHI/mikeio/pull/522
- Read items by name fix by @Hendrik1987 in https://github.com/DHI/mikeio/pull/547
- Ignore x0 y0 in dfs2 by @jsmariegaard in https://github.com/DHI/mikeio/pull/544
- Fix find index (i.e. don't use -1) by @ecomodeller in https://github.com/DHI/mikeio/pull/541
- Short path for pure sigma by @ecomodeller in https://github.com/DHI/mikeio/pull/543
- Make Dataarray/Dataset type consistent by @ecomodeller in https://github.com/DHI/mikeio/pull/546
Full Changelog: https://github.com/DHI/mikeio/compare/v1.3.1...v1.4.0
- Python
Published by ecomodeller almost 3 years ago
mikeio - Version 1.3.0
The largest change in this release is related to the functionality of Pfs files.
Read the documentation on how to work with pfs files using the PfsDocument and PfsSection classes.
What's Changed
- Read corrupt dfs files by @ecomodeller in https://github.com/DHI/mikeio/pull/501
- Fix isel returns copy of data by @jsmariegaard in https://github.com/DHI/mikeio/pull/505
- Fix aggregate with no time axis by @jsmariegaard in https://github.com/DHI/mikeio/pull/508
- refactor Pfs making Pfs subclass PfsSection by @jsmariegaard in https://github.com/DHI/mikeio/pull/487
- Point contains pythonic syntax by @ecomodeller in https://github.com/DHI/mikeio/pull/509
- Winter cleaning by @ecomodeller in https://github.com/DHI/mikeio/pull/517
Full Changelog: https://github.com/DHI/mikeio/compare/v1.2.5...v1.3.0
- Python
Published by ecomodeller about 3 years ago
mikeio - Version 1.2.5
Various minor changes, bug fixes and some additional features to search in Pfs files.
What's Changed
- Read time slice (by position) by @ecomodeller in https://github.com/DHI/mikeio/pull/480
- Pfs refactor write by @jsmariegaard in https://github.com/DHI/mikeio/pull/477
- Xarray point add missing coordinates for GeometryPoint{2,3}D by @ecomodeller in https://github.com/DHI/mikeio/pull/483
- Fix broken Dfsu.write_header() by @jsmariegaard in https://github.com/DHI/mikeio/pull/491
- Fix 1d interpolation by @ecomodeller in https://github.com/DHI/mikeio/pull/495
- Create 1d dataset with default grid by @ecomodeller in https://github.com/DHI/mikeio/pull/494
- Pfs. Find keys and params by @jsmariegaard in https://github.com/DHI/mikeio/pull/478
Full Changelog: https://github.com/DHI/mikeio/compare/v1.2.4...v1.2.5
- Python
Published by ecomodeller about 3 years ago
mikeio - Version 1.2.4
Fixed a bug related to pfs introduced in the last release
What's Changed
- Fix: Pfs write non unique keywords by @jsmariegaard in https://github.com/DHI/mikeio/pull/474
Full Changelog: https://github.com/DHI/mikeio/compare/v1.2.3...v1.2.4
- Python
Published by ecomodeller over 3 years ago
mikeio - Version 1.2.3
Minor fixes mainly mostly related to MIKE SHE
But more importantly, welcome @watermain and @Hendrik1987 as contributors to MIKE IO π
What's Changed
- fix #455 accept dfs file extension in upper case also by @watermain in https://github.com/DHI/mikeio/pull/457
- add dfs0 property items_dataframe by @Hendrik1987 in https://github.com/DHI/mikeio/pull/458
- Fix Dataset plot return by @jsmariegaard in https://github.com/DHI/mikeio/pull/459
- Wildcard selection fails for dfsu 3d by @ecomodeller in https://github.com/DHI/mikeio/pull/468
- Parse MIKE SHE Pfs by @ecomodeller in https://github.com/DHI/mikeio/pull/464
- Fix dfs3 single layer by @jsmariegaard in https://github.com/DHI/mikeio/pull/460
New Contributors
- @watermain made their first contribution in https://github.com/DHI/mikeio/pull/457
- @Hendrik1987 made their first contribution in https://github.com/DHI/mikeio/pull/458
Full Changelog: https://github.com/DHI/mikeio/compare/v1.2.2.0...v1.2.3
- Python
Published by ecomodeller over 3 years ago
mikeio - Version 1.2.2
Python 3.11 has been recently been released , and has now been added to the MIKE IO test suites, and it passed β
Writing Dfs2 files using the syntax from v 1.0, ds.to_dfs("file.dfs2"), was slower than the old version, dfs = Dfs2(); dfs.write("file.dfs2"), this has now been fixed.__
Full Changelog: https://github.com/DHI/mikeio/compare/v1.2.1...v1.2.2.0
- Python
Published by ecomodeller over 3 years ago
mikeio - Version 1.2.1
Minor improvements to reading and writing pfs files
What's Changed
- test read write of filenames in pfs by @jsmariegaard in https://github.com/DHI/mikeio/pull/444
- Pfs documentation by @jsmariegaard in https://github.com/DHI/mikeio/pull/445
- Pfs quotes by @ecomodeller in https://github.com/DHI/mikeio/pull/448
Full Changelog: https://github.com/DHI/mikeio/compare/v1.2.0...v1.2.1
- Python
Published by ecomodeller over 3 years ago
mikeio - Version 1.2
Highlights
The main new feature for this release is the improved support for PFS files, where reading, modifying and writing PFS files is now possible.

What's Changed
- Fix renaming bug. Closes #426 by @ecomodeller in https://github.com/DHI/mikeio/pull/427
- Link to units notebook removed from docs by @ecomodeller in https://github.com/DHI/mikeio/pull/432
- updating pfs.py to do writing by @clemenscremer in https://github.com/DHI/mikeio/pull/419
- add label argument to dfs2 plots by @miab-dhi in https://github.com/DHI/mikeio/pull/431
- Pfs tab vs spaces by @jsmariegaard in https://github.com/DHI/mikeio/pull/439
- Pfs allow repeated keywords by @jsmariegaard in https://github.com/DHI/mikeio/pull/436
- Capture expected warnings by @ecomodeller in https://github.com/DHI/mikeio/pull/440
- DataArray/Dataset extract track by @ecomodeller in https://github.com/DHI/mikeio/pull/435
- Pfs take first of repeated keywords by @jsmariegaard in https://github.com/DHI/mikeio/pull/443
- Pfs mixed array by @ecomodeller in https://github.com/DHI/mikeio/pull/442
- dataset concatenation single timestep by @clemenscremer in https://github.com/DHI/mikeio/pull/441
Full Changelog: https://github.com/DHI/mikeio/compare/v1.1.0...v1.2.0
- Python
Published by ecomodeller over 3 years ago
mikeio - Version 1.1
Highlights
New functionality has been added (increase in minor version 1.0 -> 1.1)
* get times from a file (mikeio.open) without reading the entire file (thanks @mohm-dhi)
* read a subset of items using a wildcard (mikeio.read("foo.dfs0", items="bar*"))
* Aggregation across items (useful for ensemble models)
* Faster interpolation in space
* Deprecated functionalitites have been removed (pre 1.0)
* And some bug fixes
The list of merged pull requests
- Filter items with wildcard by @ecomodeller in https://github.com/DHI/mikeio/pull/383
- dfsu3d to_mesh fix by @jsmariegaard in https://github.com/DHI/mikeio/pull/392
- Fix top elements 3d dfsu subset by @jsmariegaard in https://github.com/DHI/mikeio/pull/393
- Fix dfsu read single element in area argument by @jsmariegaard in https://github.com/DHI/mikeio/pull/394
- Dataset aggregation across items by @jsmariegaard in https://github.com/DHI/mikeio/pull/380
- Grid2D plot by @jsmariegaard in https://github.com/DHI/mikeio/pull/375
- Grid2D to GeometryFM by @jsmariegaard in https://github.com/DHI/mikeio/pull/374
- DataArray/Dataset ptp (range) by @ecomodeller in https://github.com/DHI/mikeio/pull/399
- Allow asterisks in item names by @ecomodeller in https://github.com/DHI/mikeio/pull/417
- Faster interpolation by @ecomodeller in https://github.com/DHI/mikeio/pull/415
- Convenience method to create a new DataArray by @ecomodeller in https://github.com/DHI/mikeio/pull/405
- add time property to mikeio.open and add test by @mohm-dhi in https://github.com/DHI/mikeio/pull/390
- Remove deprecated functionality by @ecomodeller in https://github.com/DHI/mikeio/pull/418
Full Changelog: https://github.com/DHI/mikeio/compare/v1.0.3...v1.1.0
- Python
Published by ecomodeller over 3 years ago
mikeio - Bugfix release v1.0.3
What's Changed
- Save vertical profile from sigma only dfsu 3d by @ecomodeller in https://github.com/DHI/mikeio/pull/373
- Error reading single row single timestep by @ecomodeller in https://github.com/DHI/mikeio/pull/381
- Version 1.0.3 by @ecomodeller in https://github.com/DHI/mikeio/pull/382
Full Changelog: https://github.com/DHI/mikeio/compare/v1.0.2...v1.0.3
- Python
Published by ecomodeller over 3 years ago
mikeio - v1.0.2
Bug fixes related to Dfsu3d and the ability to extract every n:th timestep in any dfs file.
What's Changed
- Fix reading vertical column in Dfsu3d by @ecomodeller in https://github.com/DHI/mikeio/pull/371
- Add delete value on write in mikeio.generic.diff by @ecomodeller in https://github.com/DHI/mikeio/pull/366
- add step argument to generic extract method by @jsmariegaard in https://github.com/DHI/mikeio/pull/344
Full Changelog: https://github.com/DHI/mikeio/compare/v1.0.1...v1.0.2
- Python
Published by ecomodeller over 3 years ago
mikeio - MIKE IO 1.0.1
Some minor but very important changes that happened after the release of 1.0
What's Changed
- Fix poor performance of read of many-item-dfs0 by @jsmariegaard in https://github.com/DHI/mikeio/pull/359
- Interp_like with time invariant data arrays by @ecomodeller in https://github.com/DHI/mikeio/pull/365
- Fix: Add geo info to Grid1D when reading Dfs1 by @jsmariegaard in https://github.com/DHI/mikeio/pull/361
- require mikecore>=0.2.1 by @jsmariegaard in https://github.com/DHI/mikeio/pull/362
Full Changelog: https://github.com/DHI/mikeio/compare/v1.0.0...v1.0.1
- Python
Published by ecomodeller over 3 years ago
mikeio - MIKE IO 1.0
Finally - version 1.0.0
Important changes
New class mikeio.DataArray which is now the main class to interact with, having these properties and methods
* item info
* geometry (grid coordinates)
* methods for plotting
* methods for aggregation in time and space
Indexing into a dataset e.g. ds.Surface_elevation to get a specific item, will not return a numpy array, but a mikeio.DataArray.
The Dataset and the DataArray have a new method to_dfs() which writes a new dfs file based solely on the information in that object.
What's Changed
- DataArray by @ecomodeller in https://github.com/DHI/mikeio/pull/272
- Projected dfs2 by @ecomodeller in https://github.com/DHI/mikeio/pull/286
- Isel keywords by @ecomodeller in https://github.com/DHI/mikeio/pull/288
- Validate file extension in Dataset.to_dfs() by @ecomodeller in https://github.com/DHI/mikeio/pull/289
- Grid 2D create with nx, ny by @ecomodeller in https://github.com/DHI/mikeio/pull/290
- Datarray/Dataset interp_like by @ecomodeller in https://github.com/DHI/mikeio/pull/292
- Fix setup.py by @daniel-caichac-DHI in https://github.com/DHI/mikeio/pull/294
- Directional wave spectra test example by @ecomodeller in https://github.com/DHI/mikeio/pull/293
- Fix notebooks by @ecomodeller in https://github.com/DHI/mikeio/pull/287
- Fix spectral dfsu by @jsmariegaard in https://github.com/DHI/mikeio/pull/295
- Update documentation by @ecomodeller in https://github.com/DHI/mikeio/pull/285
- Remove use of deprecated .data property by @ecomodeller in https://github.com/DHI/mikeio/pull/296
- Fix Dfs1 sel by @ecomodeller in https://github.com/DHI/mikeio/pull/297
- Dfsu3d extract column by @jsmariegaard in https://github.com/DHI/mikeio/pull/300
- DataArray increased test coverage by @ecomodeller in https://github.com/DHI/mikeio/pull/299
- Removed unused code by @ecomodeller in https://github.com/DHI/mikeio/pull/298
- Use to_numpy() or values instead of data property by @jsmariegaard in https://github.com/DHI/mikeio/pull/302
- Clean-up, harmonization and various fixes of notebooks by @jsmariegaard in https://github.com/DHI/mikeio/pull/301
- Default to float32, and allow float64 by @ecomodeller in https://github.com/DHI/mikeio/pull/303
- DataArray describe() method by @jsmariegaard in https://github.com/DHI/mikeio/pull/304
- Improve string representation of DataArray/Dataset by @jsmariegaard in https://github.com/DHI/mikeio/pull/305
- add geometry when combine datasets by @mohm-dhi in https://github.com/DHI/mikeio/pull/307
- Grid{1D,2D} consistency by @ecomodeller in https://github.com/DHI/mikeio/pull/308
- Refactor getitem to use isel by @jsmariegaard in https://github.com/DHI/mikeio/pull/306
- Grid1D and Grid2d subsetting by @jsmariegaard in https://github.com/DHI/mikeio/pull/311
- Spectral geometry classes by @jsmariegaard in https://github.com/DHI/mikeio/pull/309
- Plot vertical transect by @jsmariegaard in https://github.com/DHI/mikeio/pull/310
- Dfs3 improvements by @jsmariegaard in https://github.com/DHI/mikeio/pull/312
- Fix time slicing bug after interpolation by @ecomodeller in https://github.com/DHI/mikeio/pull/318
- rename plot.lines to plot.line for consistency with pandas and xarray by @jsmariegaard in https://github.com/DHI/mikeio/pull/321
- Dataset concat refactor by @jsmariegaard in https://github.com/DHI/mikeio/pull/313
- Single step dfs0 by @ecomodeller in https://github.com/DHI/mikeio/pull/319
- Remove aggregator module by @ecomodeller in https://github.com/DHI/mikeio/pull/325
- Fix dropna method by @miab44 in https://github.com/DHI/mikeio/pull/316
- dfsu3d bottom layer as dfsu2d by @jsmariegaard in https://github.com/DHI/mikeio/pull/323
- refactor Grid2D by @jsmariegaard in https://github.com/DHI/mikeio/pull/314
- Fix contourf wrong color with discrete non-equidistant colorscale by @ecomodeller in https://github.com/DHI/mikeio/pull/324
- Deprecate pre 1.0 functionality by @ecomodeller in https://github.com/DHI/mikeio/pull/327
- rename layer to layers and xy to coords by @jsmariegaard in https://github.com/DHI/mikeio/pull/329
- Refactor sel() by delegating to geometry by @jsmariegaard in https://github.com/DHI/mikeio/pull/328
- Deprecate some dfsu methods by @ecomodeller in https://github.com/DHI/mikeio/pull/330
- Single timestep dataset to dataframe by @ecomodeller in https://github.com/DHI/mikeio/pull/331
- Slightly improved plotting of Grid1D DataArrays by @jsmariegaard in https://github.com/DHI/mikeio/pull/335
- Fix dfs2 read area by @ecomodeller in https://github.com/DHI/mikeio/pull/333
- Dataset.to_xarray() by @ecomodeller in https://github.com/DHI/mikeio/pull/334
- Write dfs123 with no time axis by @jsmariegaard in https://github.com/DHI/mikeio/pull/336
- Fix indexing for Dfs3 bottom layer selection by @ecomodeller in https://github.com/DHI/mikeio/pull/337
- Misc warnings by @ecomodeller in https://github.com/DHI/mikeio/pull/338
- Select line from Grid2d with sel method by @jsmariegaard in https://github.com/DHI/mikeio/pull/332
- Grid123 repr and Grid2D bugfixes by @jsmariegaard in https://github.com/DHI/mikeio/pull/339
- Add version to dfs files on create by @ecomodeller in https://github.com/DHI/mikeio/pull/347
- Error when creating a dataset with many items by @ecomodeller in https://github.com/DHI/mikeio/pull/346
- Example on how to create a new item from existing by @ecomodeller in https://github.com/DHI/mikeio/pull/350
- Consistent time parsing by @ecomodeller in https://github.com/DHI/mikeio/pull/341
- Concat ndim 1 Datasets by @jsmariegaard in https://github.com/DHI/mikeio/pull/352
- Improve DataArray docstrings by @jsmariegaard in https://github.com/DHI/mikeio/pull/351
- dtype moved to .read() by @ecomodeller in https://github.com/DHI/mikeio/pull/353
- Dataset: don't require number of items to be >1 to have a plotter by @jsmariegaard in https://github.com/DHI/mikeio/pull/355
New Contributors
- @daniel-caichac-DHI made their first contribution in https://github.com/DHI/mikeio/pull/294
- @miab44 made their first contribution in https://github.com/DHI/mikeio/pull/316
Full Changelog: https://github.com/DHI/mikeio/compare/v0.12.2...v1.0.0
- Python
Published by ecomodeller over 3 years ago
mikeio - MIKE IO Beta 2 - Some bugs fixed
Some methods have been deprecated, and we tried to add hints on how to change the code to achieve the same thing.
The upgrade to MIKE IO 1.0 will potentially require some changes to your code, but upgrading to next version will likely be very smooth.
Before the official release, install the beta version like this:
pip install mikeio==1.0b2
During the beta period we will focus on:
- Fixing bugs (please file an issue if you find a bug)
- Fixing possible inconsistent naming
- Improving documention
- Not adding any new features
- Python
Published by ecomodeller almost 4 years ago
mikeio - MIKE IO Beta 1 - Some bugs fixed
Lot's of changes...
Some methods have been deprecated, and we tried to add hints on how to change the code to achieve the same thing.
The upgrade to MIKE IO 1.0 will potentially require some changes to your code, but upgrading to next version will likely be very smooth.
Before the official release, install the beta version like this:
pip install mikeio==1.0b1
During the beta period we will focus on:
- Fixing bugs (please file an issue if you find a bug)
- Fixing possible inconsistent naming
- Improving documention
- Not adding any new features
- Python
Published by ecomodeller almost 4 years ago
mikeio - Beta release of MIKE IO 1.0
Lot's of changes...
Some methods have been deprecated, and we tried to add hints on how to change the code to achieve the same thing.
The upgrade to MIKE IO 1.0 will potentially require some changes to your code, but upgrading to next version will likely be very smooth.
Before the official release, install the beta version like this:
pip install mikeio==1.0b0
During the beta period we will focus on:
- Fixing bugs (please file an issue if you find a bug)
- Fixing possible inconsistent naming
- Improving documention
- Not adding any new features
Thanks to @miab44 for becoming a contributor to MIKE IO!
What's Changed
- Grid{1D,2D} consistency by @ecomodeller in https://github.com/DHI/mikeio/pull/308
- Refactor getitem to use isel by @jsmariegaard in https://github.com/DHI/mikeio/pull/306
- Grid1D and Grid2d subsetting by @jsmariegaard in https://github.com/DHI/mikeio/pull/311
- Spectral geometry classes by @jsmariegaard in https://github.com/DHI/mikeio/pull/309
- Plot vertical transect by @jsmariegaard in https://github.com/DHI/mikeio/pull/310
- Dfs3 improvements by @jsmariegaard in https://github.com/DHI/mikeio/pull/312
- Fix time slicing bug after interpolation by @ecomodeller in https://github.com/DHI/mikeio/pull/318
- rename plot.lines to plot.line for consistency with pandas and xarray by @jsmariegaard in https://github.com/DHI/mikeio/pull/321
- Dataset concat refactor by @jsmariegaard in https://github.com/DHI/mikeio/pull/313
- Single step dfs0 by @ecomodeller in https://github.com/DHI/mikeio/pull/319
- Remove aggregator module by @ecomodeller in https://github.com/DHI/mikeio/pull/325
- Fix dropna method by @miab44 in https://github.com/DHI/mikeio/pull/316
- dfsu3d bottom layer as dfsu2d by @jsmariegaard in https://github.com/DHI/mikeio/pull/323
- refactor Grid2D by @jsmariegaard in https://github.com/DHI/mikeio/pull/314
- Fix contourf wrong color with discrete non-equidistant colorscale by @ecomodeller in https://github.com/DHI/mikeio/pull/324
- Deprecate pre 1.0 functionality by @ecomodeller in https://github.com/DHI/mikeio/pull/327
- rename layer to layers and xy to coords by @jsmariegaard in https://github.com/DHI/mikeio/pull/329
- Refactor sel() by delegating to geometry by @jsmariegaard in https://github.com/DHI/mikeio/pull/328
- Deprecate some dfsu methods by @ecomodeller in https://github.com/DHI/mikeio/pull/330
New Contributors
- @miab44 made their first contribution in https://github.com/DHI/mikeio/pull/316
Full Changelog: https://github.com/DHI/mikeio/compare/v1.0.a2...v1.0b0
- Python
Published by ecomodeller almost 4 years ago
mikeio - Second alpha release of MIKE IO 1.0
What's Changed
- Grid 2D create with nx, ny by @ecomodeller in https://github.com/DHI/mikeio/pull/290
- Datarray/Dataset interp_like by @ecomodeller in https://github.com/DHI/mikeio/pull/292
- Fix setup.py by @daniel-caichac-DHI in https://github.com/DHI/mikeio/pull/294
- Directional wave spectra test example by @ecomodeller in https://github.com/DHI/mikeio/pull/293
- Fix notebooks by @ecomodeller in https://github.com/DHI/mikeio/pull/287
- Fix spectral dfsu by @jsmariegaard in https://github.com/DHI/mikeio/pull/295
- Update documentation by @ecomodeller in https://github.com/DHI/mikeio/pull/285
- Remove use of deprecated .data property by @ecomodeller in https://github.com/DHI/mikeio/pull/296
- Fix Dfs1 sel by @ecomodeller in https://github.com/DHI/mikeio/pull/297
- Dfsu3d extract column by @jsmariegaard in https://github.com/DHI/mikeio/pull/300
- DataArray increased test coverage by @ecomodeller in https://github.com/DHI/mikeio/pull/299
- Removed unused code by @ecomodeller in https://github.com/DHI/mikeio/pull/298
- Use to_numpy() or values instead of data property by @jsmariegaard in https://github.com/DHI/mikeio/pull/302
- Clean-up, harmonization and various fixes of notebooks by @jsmariegaard in https://github.com/DHI/mikeio/pull/301
- Default to float32, and allow float64 by @ecomodeller in https://github.com/DHI/mikeio/pull/303
- DataArray describe() method by @jsmariegaard in https://github.com/DHI/mikeio/pull/304
- Improve string representation of DataArray/Dataset by @jsmariegaard in https://github.com/DHI/mikeio/pull/305
- add geometry when combine datasets by @mohm-dhi in https://github.com/DHI/mikeio/pull/307
New Contributors
- @daniel-caichac-DHI made their first contribution in https://github.com/DHI/mikeio/pull/294
Full Changelog: https://github.com/DHI/mikeio/compare/v1.a1...v1.0.a2
- Python
Published by ecomodeller almost 4 years ago
mikeio - First alpha release of 1.0
This is a pre-release of MIKE IO 1.0.
This release can be installed from PyPI by:
$ pip install mikeio==1.0a1
What's Changed
- DataArray by @ecomodeller,@jsmariegaard, @clemenscremer in https://github.com/DHI/mikeio/pull/272
- Projected dfs2 by @ecomodeller in https://github.com/DHI/mikeio/pull/286
Full Changelog: https://github.com/DHI/mikeio/compare/v0.12.2...v1.a0
FAQ
...eum dll not found... π
If you are updating an old system, you might need to update the VC redistributable to align with MIKE Zero 2022
- Python
Published by ecomodeller almost 4 years ago
mikeio - v0.12.1
What's Changed
- Generic concatenation, keep first or last by @clemenscremer in https://github.com/DHI/mikeio/pull/276
New Contributors π π
- @clemenscremer made their first contribution in https://github.com/DHI/mikeio/pull/276
Full Changelog: https://github.com/DHI/mikeio/compare/v0.12.0...v0.12.1
- Python
Published by ecomodeller about 4 years ago
mikeio - v0.11.0
What's Changed
- Read spectral dfsu by @jsmariegaard in https://github.com/DHI/mikeio/pull/265
- Support Python 3.10 by @ecomodeller in https://github.com/DHI/mikeio/pull/262
- Add Dfs2 x0 y0 properties by @jsmariegaard in https://github.com/DHI/mikeio/pull/264
- Dfs2 plot support single item dataset by @ecomodeller in https://github.com/DHI/mikeio/pull/268
- Deprecation cycle by @ecomodeller in https://github.com/DHI/mikeio/pull/267
Full Changelog: https://github.com/DHI/mikeio/compare/v0.10.2...v0.11.0
- Python
Published by ecomodeller about 4 years ago
mikeio - v0.10.2
What's Changed
Two bugs were fixed:
1. Reading mesh files with mixed quad and triangle elements.
2. Concatenating datasets in time (Dataset.combine), which now works on datasets on different lengths.
- Test mixed mesh read write by @jsmariegaard in https://github.com/DHI/mikeio/pull/259
- bugfix combine datasets with different lengths by @jsmariegaard in https://github.com/DHI/mikeio/pull/260
- Option to remove dfsu colorbar by @ecomodeller in https://github.com/DHI/mikeio/pull/261
- add example with interp from scatter data by @jsmariegaard in https://github.com/DHI/mikeio/pull/258
Full Changelog: https://github.com/DHI/mikeio/compare/v0.10.1...v0.10.2
- Python
Published by ecomodeller over 4 years ago
mikeio - v0.10.1
What's Changed
Dfsu plot now accepts single item dataset and numpy arrays with a single timestep (like temporally averaged ones). Dfsu 3d layer numbering starts at 0 (bottom) to be consistent with python indexing convenions.
- Dfsu plot squeeze dataset by @jsmariegaard in #253
- Dfsu layer numbering by @jsmariegaard in #255
Full Changelog: https://github.com/DHI/mikeio/compare/v0.9.0...v0.10.1
- Python
Published by ecomodeller over 4 years ago
mikeio - v0.10.0
What's Changed
Dfsu plot now accepts single item dataset and numpy arrays with a single timestep (like temporally averaged ones).
Dfsu 3d layer numbering starts at 0 (bottom) to be consistent with python indexing convenions.
- Dfsu plot squeeze dataset by @jsmariegaard in https://github.com/DHI/mikeio/pull/253
- Dfsu layer numbering by @jsmariegaard in https://github.com/DHI/mikeio/pull/255
Full Changelog: https://github.com/DHI/mikeio/compare/v0.9.0...v0.10.0
- Python
Published by ecomodeller over 4 years ago
mikeio - v0.9.0
Note The default axis in all dataset aggregation functions, have changed from axis=1 (some spatial axis) to "time". See details below:
What's Changed
- Dataset quantile by @jsmariegaard in https://github.com/DHI/mikeio/pull/251
- Generic Time average by @ecomodeller in https://github.com/DHI/mikeio/pull/223
- Combine Datasets by @jsmariegaard in https://github.com/DHI/mikeio/pull/233
- Dfsu get_element coordinates for dynamic zn and other improvements by @jsmariegaard in https://github.com/DHI/mikeio/pull/249
- Dfs2 plot by @ecomodeller in https://github.com/DHI/mikeio/pull/228
- Support for Pathlib paths by @ecomodeller in https://github.com/DHI/mikeio/pull/240
Full Changelog: https://github.com/DHI/mikeio/compare/v0.8.0...v0.9.0
Dataset aggregation (mean(), max(), ...)
```python
import mikeio ds = mikeio.read("HD2D.dfsu") ds.shape (9, 884) ds.mean() # the new default is to aggregate along the time dimension
Dimensions: (1, 884) Time: 1985-08-06 07:00:00 - 1985-08-06 07:00:00 Items: 0: Surface elevation (meter) 1: U velocity (meter per sec) 2: V velocity (meter per sec) 3: Current speed (meter per sec) ds.mean(axis="spatial") Dimensions: (9,) Time: 1985-08-06 07:00:00 - 1985-08-07 03:00:00 Items: 0: Surface elevation (meter) 1: U velocity (meter per sec) 2: V velocity (meter per sec) 3: Current speed (meter per sec) ds.mean(axis="time") # you can also be explicit about using the time axis Dimensions: (1, 884) Time: 1985-08-06 07:00:00 - 1985-08-06 07:00:00 Items: 0: Surface elevation (meter) 1: U velocity (meter per sec) 2: V velocity (meter per sec) 3: Current speed (meter per sec) ```
- Python
Published by ecomodeller over 4 years ago
mikeio - v0.7.0
First release of MIKEIO based on Python version of mikecore.
Benefits: * Runs on Windows & Linux * No need for Python.NET
- Python
Published by ecomodeller over 4 years ago
mikeio - v 0.6.4 Last release using .NET
Minor updates and consistency improvements.
This will be the last release based on the .NET SDK and thus Windows only.
Next release (0.7) will be based on mikecore and run on both Windows and Linux
- Python
Published by ecomodeller over 4 years ago
mikeio - v 0.6.3 Minor changes
The Dfsu class has two new methods - todfs2 thanks to @georgebv - extractsurfaceelevationfrom_3d
- Python
Published by ecomodeller about 5 years ago
mikeio - Minor updates v0.6.1
- Dataset have information on data value type (e.g. Instantaneous, Accumulated)
- Finalization of Dfsu - Grid2D interpolation
- Plot Dfsu vertical profiles
- Updated binaries from MIKE 2021
- Bugfixes
- Handle delete values in the generic module
- Python
Published by ecomodeller about 5 years ago
mikeio - Major Version 0.6
- Dfsu interpolation
- Dfsu track extraction
- Experimental support for PFS
- Res1d major upgrade due to new binary library (.NET)
- Dfs2 reprojection
- Various dataset convenience functions, copy, mean, squeeze, temporal interpolation etc.
- Incremental file writes, i.e. write one timestep at a time to avoid running out of memory.
- Various performance improvements and other code improvements
- Python
Published by ecomodeller over 5 years ago
mikeio - V 0.5.2 Minor fixes
- Improved Dfsu plotting
- Bug fixes
- Python
Published by ecomodeller over 5 years ago
mikeio - v 0.5
General
- Item selection by either names or number using the new
itemsargument, which is also the first argument toread. filenamesupplied to initializer instead of in read methodwriteandcreatemethods merged to newwritemethod
Dfsu
A lot of new functionality for dfsu
Mesh primary properties and methods:
- msh = Mesh(meshfilename)
- msh.n_nodes
- msh.node_coordinates
- msh.n_elements
- msh.element_coordinates
- msh.codes
- msh.valid_codes
- msh.projection_string
- msh.is_geo
- msh.istrionly
- msh.plot(z=None, elements=None, label=None, cmap=None)
- msh.plotboundarynodes(boundary_names)
- msh.to_shapely()
- msh.set_z(z)
- msh.set_codes(codes)
- msh.write(outfilename, elements=None)
Dfsu2D primary properties and methods:
- dfs = Dfsu(dfsufilename)
- dfs.n_nodes
- dfs.node_coordinates
- dfs.n_elements
- dfs.element_coordinates
- dfs.codes
- dfs.valid_codes
- dfs.is_2d
- dfs.projection_string
- dfs.is_geo
- dfs.istrionly
- dfs.deletevalue
- dfs.n_items
- dfs.items
- dfs.start_time
- dfs.n_timesteps
- dfs.timestep
- dfs.end_time
- dfs.findnearestelement(x, y, z=None, layer=None)
- dfs.getelementarea()
- dfs.read(items=None, time_steps=None, elements=None)
- dfs.plot(z=None, elements=None, label=None, cmap=None)
- dfs.to_mesh(outfilename)
- dfs.write(filename, data, start_time=None, dt=None, items=None, elements=None, title=None)
Dfsu3D (and vertical slices) primary properties and methods: as Dfsu2D and:
- dfs.n_layers
- dfs.nsigmalayers
- dfs.nzlayers
- dfs.top_elements
- dfs.nlayersper_column
- dfs.bottom_elements
- dfs.layer_ids
- dfs.findnearestprofile_elements(x, y)
- dfs.getlayerelements(layer)
- Python
Published by ecomodeller over 5 years ago
mikeio - v0.4.0-alpha
Support for types and units
- Python
Published by ecomodeller almost 6 years ago
mikeio - Renamed classes
- All classes renamed to uppercase
- Classes imported into main namespace
- Generic processing of dfs files
- Python
Published by ecomodeller almost 6 years ago