Repository navigation
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