Releases: DHI/mikeio
Bugfix release v1.0.3
What's Changed
- Save vertical profile from sigma only dfsu 3d by @ecomodeller in #373
- Error reading single row single timestep by @ecomodeller in #381
- Version 1.0.3 by @ecomodeller in #382
Full Changelog: v1.0.2...v1.0.3
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 #371
- Add delete value on write in mikeio.generic.diff by @ecomodeller in #366
- add step argument to generic extract method by @jsmariegaard in #344
Full Changelog: v1.0.1...v1.0.2
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 #359
- Interp_like with time invariant data arrays by @ecomodeller in #365
- Fix: Add geo info to Grid1D when reading Dfs1 by @jsmariegaard in #361
- require mikecore>=0.2.1 by @jsmariegaard in #362
Full Changelog: v1.0.0...v1.0.1
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 #272
- Projected dfs2 by @ecomodeller in #286
- Isel keywords by @ecomodeller in #288
- Validate file extension in Dataset.to_dfs() by @ecomodeller in #289
- Grid 2D create with nx, ny by @ecomodeller in #290
- Datarray/Dataset interp_like by @ecomodeller in #292
- Fix setup.py by @daniel-caichac-DHI in #294
- Directional wave spectra test example by @ecomodeller in #293
- Fix notebooks by @ecomodeller in #287
- Fix spectral dfsu by @jsmariegaard in #295
- Update documentation by @ecomodeller in #285
- Remove use of deprecated .data property by @ecomodeller in #296
- Fix Dfs1 sel by @ecomodeller in #297
- Dfsu3d extract column by @jsmariegaard in #300
- DataArray increased test coverage by @ecomodeller in #299
- Removed unused code by @ecomodeller in #298
- Use to_numpy() or values instead of data property by @jsmariegaard in #302
- Clean-up, harmonization and various fixes of notebooks by @jsmariegaard in #301
- Default to float32, and allow float64 by @ecomodeller in #303
- DataArray describe() method by @jsmariegaard in #304
- Improve string representation of DataArray/Dataset by @jsmariegaard in #305
- add geometry when combine datasets by @mohm-dhi in #307
- Grid{1D,2D} consistency by @ecomodeller in #308
- Refactor getitem to use isel by @jsmariegaard in #306
- Grid1D and Grid2d subsetting by @jsmariegaard in #311
- Spectral geometry classes by @jsmariegaard in #309
- Plot vertical transect by @jsmariegaard in #310
- Dfs3 improvements by @jsmariegaard in #312
- Fix time slicing bug after interpolation by @ecomodeller in #318
- rename plot.lines to plot.line for consistency with pandas and xarray by @jsmariegaard in #321
- Dataset concat refactor by @jsmariegaard in #313
- Single step dfs0 by @ecomodeller in #319
- Remove aggregator module by @ecomodeller in #325
- Fix dropna method by @miab44 in #316
- dfsu3d bottom layer as dfsu2d by @jsmariegaard in #323
- refactor Grid2D by @jsmariegaard in #314
- Fix contourf wrong color with discrete non-equidistant colorscale by @ecomodeller in #324
- Deprecate pre 1.0 functionality by @ecomodeller in #327
- rename layer to layers and xy to coords by @jsmariegaard in #329
- Refactor sel() by delegating to geometry by @jsmariegaard in #328
- Deprecate some dfsu methods by @ecomodeller in #330
- Single timestep dataset to dataframe by @ecomodeller in #331
- Slightly improved plotting of Grid1D DataArrays by @jsmariegaard in #335
- Fix dfs2 read area by @ecomodeller in #333
- Dataset.to_xarray() by @ecomodeller in #334
- Write dfs123 with no time axis by @jsmariegaard in #336
- Fix indexing for Dfs3 bottom layer selection by @ecomodeller in #337
- Misc warnings by @ecomodeller in #338
- Select line from Grid2d with sel method by @jsmariegaard in #332
- Grid123 repr and Grid2D bugfixes by @jsmariegaard in #339
- Add version to dfs files on create by @ecomodeller in #347
- Error when creating a dataset with many items by @ecomodeller in #346
- Example on how to create a new item from existing by @ecomodeller in #350
- Consistent time parsing by @ecomodeller in #341
- Concat ndim 1 Datasets by @jsmariegaard in #352
- Improve DataArray docstrings by @jsmariegaard in #351
- dtype moved to .read() by @ecomodeller in #353
- Dataset: don't require number of items to be >1 to have a plotter by @jsmariegaard in #355
New Contributors
- @daniel-caichac-DHI made their first contribution in #294
- @miab44 made their first contribution in #316
Full Changelog: v0.12.2...v1.0.0
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
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
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 #308
- Refactor getitem to use isel by @jsmariegaard in #306
- Grid1D and Grid2d subsetting by @jsmariegaard in #311
- Spectral geometry classes by @jsmariegaard in #309
- Plot vertical transect by @jsmariegaard in #310
- Dfs3 improvements by @jsmariegaard in #312
- Fix time slicing bug after interpolation by @ecomodeller in #318
- rename plot.lines to plot.line for consistency with pandas and xarray by @jsmariegaard in #321
- Dataset concat refactor by @jsmariegaard in #313
- Single step dfs0 by @ecomodeller in #319
- Remove aggregator module by @ecomodeller in #325
- Fix dropna method by @miab44 in #316
- dfsu3d bottom layer as dfsu2d by @jsmariegaard in #323
- refactor Grid2D by @jsmariegaard in #314
- Fix contourf wrong color with discrete non-equidistant colorscale by @ecomodeller in #324
- Deprecate pre 1.0 functionality by @ecomodeller in #327
- rename layer to layers and xy to coords by @jsmariegaard in #329
- Refactor sel() by delegating to geometry by @jsmariegaard in #328
- Deprecate some dfsu methods by @ecomodeller in #330
New Contributors
- @miab44 made their first contribution in #316
Full Changelog: v1.0.a2...v1.0b0
Second alpha release of MIKE IO 1.0
What's Changed
- Grid 2D create with nx, ny by @ecomodeller in #290
- Datarray/Dataset interp_like by @ecomodeller in #292
- Fix setup.py by @daniel-caichac-DHI in #294
- Directional wave spectra test example by @ecomodeller in #293
- Fix notebooks by @ecomodeller in #287
- Fix spectral dfsu by @jsmariegaard in #295
- Update documentation by @ecomodeller in #285
- Remove use of deprecated .data property by @ecomodeller in #296
- Fix Dfs1 sel by @ecomodeller in #297
- Dfsu3d extract column by @jsmariegaard in #300
- DataArray increased test coverage by @ecomodeller in #299
- Removed unused code by @ecomodeller in #298
- Use to_numpy() or values instead of data property by @jsmariegaard in #302
- Clean-up, harmonization and various fixes of notebooks by @jsmariegaard in #301
- Default to float32, and allow float64 by @ecomodeller in #303
- DataArray describe() method by @jsmariegaard in #304
- Improve string representation of DataArray/Dataset by @jsmariegaard in #305
- add geometry when combine datasets by @mohm-dhi in #307
New Contributors
- @daniel-caichac-DHI made their first contribution in #294
Full Changelog: v1.a1...v1.0.a2
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 #272
- Projected dfs2 by @ecomodeller in #286
Full Changelog: 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
v0.12.2
What's Changed
- Support single precision. Closes #281 by @ecomodeller in #282
- Added warning as preparation for MIKE IO 1.0
Full Changelog: v0.12.1...v0.12.2