Jesper Sandvig Mariegaard

Results 20 issues of Jesper Sandvig Mariegaard

In some cases, commas in a string can make parsing of the Pfs files blow up. These works fine: [ENGINE] A = 'str,s/d\sd.dfs0' B = "str,sd'sd.dfs0" C = |str,s'+-s_d.dfs0| EndSect...

The keepdims argument in mikeio.read() should allow the user to control if singleton time should be kept as a dimension when read. But it seems not to be working as...

In my case I have multiple DfsuModelResults that I am matching with multiple observations cc = ms.match(obs_list, mr_list) It goes fine, until I added a DummyModelResult to the mr_list. I...

bug

NotImplemented and helpful message ![image](https://github.com/DHI/modelskill/assets/34088801/8be37171-6aca-41e0-9ba6-2dd5d59e07c5)

o3 below is altimetry data partly covering the model domain ![image](https://github.com/DHI/modelskill/assets/34088801/3b52208c-7b62-4654-bbb1-4ab1024d39b8) The warning should only be issued if no points are covering the domain

instead of reading the same file n times to extract n point observations

enhancement

I propose a new method `scale()` in `Comparer` and `ComparerCollection` that should scale all primary variables (not aux data) by a factor and set a new unit. The use case...

enhancement

When matching many observations with one or more modelresults with `ms.match(obslist, mr)`, it is annoying when it fails only because a one or a few of comparers have no overlapping...

enhancement

pandas and xarray allow users to drop part of the dataset with a drop method - see e.g. https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.drop.html. Which is opposite to `sel()` but should have the same syntax....

enhancement

Currently, when working with directional data, there is not stopping from interpolating over 360-0 jump, which could lead to some wrong comparisons. One way to handle this would be to...

bug