result_network.ResultLocations

result_network.ResultLocations(self)

A base class for a network locations (nodes, reaches) or a catchments wrapper class.

Attributes

Name Description
derived_quantities A list of available derived quantities.
group The TimeSeriesIdGroup associated with these locations.
locations A list of location objects (e.g. ).
names A list of location names (e.g. MUIDs).
quantities A list of available quantities.
res1d The Res1D instance that these locations belong to.

Methods

Name Description
read Read the time series data for all quantities at these locations into a DataFrame.

read

result_network.ResultLocations.read(column_mode=None, include_derived=False)

Read the time series data for all quantities at these locations into a DataFrame.

Parameters

Name Type Description Default
column_mode str | ColumnMode(optional) 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 None
include_derived bool Include derived quantities. False