The Maximum Aggregate defined in Table 22 retrieves the maximum Good raw value within the interval, and returns that value with the timestamp at the start of the interval. Note that if the same maximum exists at more than one timestamp the MultipleValues bit is set.

Unless otherwise indicated, StatusCodes are Good, Calculated. If the maximum value is on the interval start time the status code will be Good, Raw. If only Bad quality values are available then the status is returned as Bad_NoData.

The timestamp of the Aggregate will always be the start of the interval for every ProcessingInterval.

Table 22 – Maximum Aggregate summary

Maximum Aggregate Characteristics

Type

Calculated

Data Type

Same as Source

Use Bounds

None

Timestamp

StartTime

StatusCode Calculations

Calculation Method

Custom

If no Bad values then the Status is Good. If Bad values exist then the Status is Uncertain_SubNormal. If an Uncertain value is greater than the maximum Good value the Status is Uncertain_SubNormal

Partial

Set Sometimes

If an interval is not a complete interval

Calculated

Set Sometimes

If the Maximum value is not on the startTime of the interval or if the Status was set to Uncertain_SubNormal because of non-Good values in the interval

Interpolated

Not Set

Raw

Set Sometimes

If Maximum value is on the startTime of the interval

Multi Value

Set Sometimes

If multiple Good values exist with the Maximum value

StatusCode Common Special Cases

Before Start of Data

Bad_NoData

After End of Data

Bad_NoData

No Start Bound

Not Applicable

No End Bound

Not Applicable

Bound Bad

Not Applicable

Bound Uncertain

Not Applicable