Jesper Sandvig Mariegaard
Jesper Sandvig Mariegaard
New method `apply` similar to methods in pandas and xarray for applying a mathematical function to all values in DataArray. >>> da.apply(np.sin) >>> da.apply(np.clip, 0.0, 1.0) >>> da.apply(lambda x: x**2...
To find the index of min/max values
Many Python users use conda/mamba to install packages. An old version of mikeio exists on condaforge and `mikeio install mikeio` will therefore "work" in the sense that it will install...
@caichac-dhi reported an issue for dfsu file made from a global mesh which is due to a problem with the determination of the boundary polyline for a global mesh.
nicer on plots - e.g. 'm^2*s/deg' instead of 'meter_pow_2_sec_per_deg'. Should we also change display_name: items: 0: Energy density (meter pow 2 sec per deg)
Having Dataset as a Mapping with separate keys (as before this PR) causes some problems: * renaming of DataArray `da` by setting `da.name = "new_name"` will give a mismatch between...
Two problems have been identified for spectral dfsu files in the Hm0 calculation: * deletevalues in spectrum will give nan Hm0 - it should be safe to treat them as...
New method statistics in generic module which calculates min, max and mean for any dfs file.
In a PFS file, strings like this: ID_A = '1E-3' which could be interpreted as the scientific notation 1e-3 for 0.001, is parsed incorrectly by MIKE IO. It will be...