Class for wrapping a single ResultData data item quantity.
ResultQuantity objects are the last attributes assigned to a network. They have the ability to add a query.
Parameters
Name
Type
Description
Default
result_location
ResultLocation
ResultLocation object, which could be node, catchment, grid point, or global data item.
required
data_item
IDataItem
MIKE 1D IDataItem object.
required
res1d
Res1D
Res1D object the quantity belongs to.
required
m1d_dataset
IRes1DDataSet | None
IRes1DDataSet object the quantity is associated with.
None
Attributes
Name
Type
Description
element_index
int
An integer giving an element index into the data item which gives the concrete time series for given location.
timeseries_id
TimeSeriesId
A unique TimeSeriesId object corresponding to the data item. This is unmutable and set when the ResultQuantity is added to a network. A value of None indicates that the ResultQuantity has not been added to a network.
Specifies the type of column index of returned DataFrame. ‘all’ - column MultiIndex with levels matching TimeSeriesId objects. ‘compact’ - same as ‘all’, but removes levels with default values. ‘timeseries’ - column index of TimeSeriesId objects ‘str’ - column index of str representations of QueryData objects