Mikeio

Latest version: v1.7.1

Safety actively analyzes 629359 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

0.11.1

See previous release.

The only change in this minor release removes the dependency on an alpha version of mikecore.

0.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

0.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

0.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

0.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

0.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
<mikeio.Dataset>
Dimensions: (1, 884)
Time: 1985-08-06 07:00:00 - 1985-08-06 07:00:00
Items:
0: Surface elevation <Surface Elevation> (meter)
1: U velocity <u velocity component> (meter per sec)
2: V velocity <v velocity component> (meter per sec)
3: Current speed <Current Speed> (meter per sec)
>>> ds.mean(axis="spatial")
<mikeio.Dataset>
Dimensions: (9,)
Time: 1985-08-06 07:00:00 - 1985-08-07 03:00:00
Items:
0: Surface elevation <Surface Elevation> (meter)
1: U velocity <u velocity component> (meter per sec)
2: V velocity <v velocity component> (meter per sec)
3: Current speed <Current Speed> (meter per sec)
>>> ds.mean(axis="time") you can also be explicit about using the time axis
<mikeio.Dataset>
Dimensions: (1, 884)
Time: 1985-08-06 07:00:00 - 1985-08-06 07:00:00
Items:
0: Surface elevation <Surface Elevation> (meter)
1: U velocity <u velocity component> (meter per sec)
2: V velocity <v velocity component> (meter per sec)
3: Current speed <Current Speed> (meter per sec)

Page 7 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.