TimeSeries Class

Detailed Documentation

Example Usage

General

TimeSeries objects are named objects that represent time series in CWMS or DSS contexts.

Required Information

Optional Information

  • watershed: str

  • duration: Duration (DSS context only)

  • version: str (DSS context only)

  • data: pandas.DataFrame

Notes

A TimeSeries with a missing or empty _data [1] field is considered empty

The _data field has the following format:

  • index: pandas.DatetimeIndex [2]

  • "value" column: numpy.float64

  • "quality" column: numpy.int64