Model result for a vertical profile at a fixed (x, y) location.
Construct a VerticalModelResult from a dfs0 file, mikeio.Dataset, pandas.DataFrame or xarray.Dataset in long format: one row per (time, z) pair, with one item/column holding the vertical coordinate and another holding the modelled value. At least two items are required (z + value); if more are present, item must be given.
Name of the model result, by default the file or item name.
None
item
str or int
Index or name of the value item. Required if the input has more than two items.
None
quantity
Quantity
Model quantity, for MIKE files this is inferred from the EUM information
None
z_item
str or int
Index or name of the item holding the vertical coordinate, by default 0.
0
x
float
x-coordinate of the profile location, inferred from data when possible.
None
y
float
y-coordinate of the profile location, inferred from data when possible.
None
aux_items
list[int | str]
Auxiliary items to keep alongside the value item, by default None.
None
Notes
A dfs0 with N depth levels has its profile timestamps repeated N times on a non-equidistant time axis. Duplicate (time, z) pairs are not allowed and will raise a ValueError.