from mikeio import ItemInfo, EUMType, EUMUnit
= ItemInfo("Viken", EUMType.Water_Level)
item item
Viken <Water Level> (meter)
The dfs items in MIKE IO are represented by the ItemInfo
class. An ItemInfo consists of:
The ItemInfo class has some sensible defaults, thus you can specify only a name or a type. If you don’t specify a unit, the default unit for that type will be used.
Viken <Water Level> (meter)
Matching units for specific type:
Default unit:
an EUMUnit
is encoded as integers, which you can utilize in some MIKE applications.
It is also possible to do a string based search, e.g. to find all EUM types containing the substring ‘period’: