Maximum Aggregate

The maximum actual time aggregate retrieves the maximum good raw value within the interval [s,e), and returns that value the timestamp of the aggregate will always be the start of the interval for every interval. If the same maximum exists at more than one timestamp, the oldest one is retrieved.

Example 1

Start: Jan-01-2002 12:00:10 End: Jan-01-2002 12:00:20 Interval: 00:00:05

TimestampValueQuality
Jan-01-2002 12:00:10 10Raw, Good
Jan-01-2002 12:00:15 0No Data, Bad
Example 2

Start: Jan-01-2002 12:00:35 End: Jan-01-2002 12:01:00 Interval: 00:00:05

TimestampValueQuality
Jan-01-02 12:00:35 0No Data, Bad
Jan-01-02 12:00:40 0No Data, Bad
Jan-01-02 12:00:45 0No Data, Bad
Jan-01-02 12:00:50 50Raw, Good
Jan-01-02 12:00:55 0No Data, Bad