...
The image below visually explains the calculation methodology for non equidistant timeseries, where the interpolated value of one boundary is determined, before the weighted average of the connected pairs is taken.
Validation rules
Configuration example
No Format |
---|
<transformation id="aggregation instantaneousToMean"> <aggregation> <instantaneousToMean> <inputVariable> <timeSeriesSet> <moduleInstanceId>ImportTelemetry</moduleInstanceId> <valueType>scalar</valueType> <parameterId>H.obs</parameterId> <locationSetId>hydgauges</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="minute" multiplier="15"/> <relativeViewPeriod unit="day" startOverrulable="true" start="-7" end="0"/> <readWriteMode>read only</readWriteMode> <delay unit="minute" multiplier="0"/> </timeSeriesSet> </inputVariable> <allowMissingValues>true</allowMissingValues> <includeFirstValueOfAggregationPeriodInCalculation>true</includeFirstValueOfAggregationPeriodInCalculation> <outputVariable> <timeSeriesSet> <moduleInstanceId>Aggregate_Historic</moduleInstanceId> <valueType>scalar</valueType> <parameterId>instantaneousToMean</parameterId> <locationSetId>hydgauges</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="hour" multiplier="1"/> <relativeViewPeriod unit="day" startOverrulable="true" start="-7" end="0"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </outputVariable> </instantaneousToMean> </aggregation> </transformation> |