MeanToMean
disaggregates data by sampling and repeating the input data
Input
- InputVariable
Output
- OutputVariable
Description
This transformation performs a disaggregation from a mean time series to a mean time series.
Each output time series value within a given data time interval of the input time series is equal to the input time series value for that interval.
The table below shows a simple example of the procedure.
Time |
Input |
Output |
---|---|---|
12:00 |
x |
1 |
00:00 |
1 |
1 |
12:00 |
x |
2 |
00:00 |
2 |
2 |
Configuration example
<transformation id="disaggregation MeanToMean"> <disaggregation> <meanToMean> <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> <outputVariable> <timeSeriesSet> <moduleInstanceId>Aggregate_Historic</moduleInstanceId> <valueType>scalar</valueType> <parameterId>dis_meanToMean</parameterId> <locationSetId>hydgauges</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="minute" multiplier="5"/> <relativeViewPeriod unit="day" startOverrulable="true" start="-7" end="0"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> </outputVariable> </meanToMean> </disaggregation> </transformation>