Wiki Markup |
---|
{scrollbar} |
Excerpt | ||
---|---|---|
| ||
aggregates data by summing the values |
...
The table below shows an example of accumulating 6-hourly values to daily values using this transformation.
| Original series | Result |
Date/Time | Value | Value |
01-01-2007 00:00 | 1.00 |
|
01-01-2007 06:00 | 2.00 |
|
01-01-2007 12:00 | 3.00 |
|
01-01-2007 18:00 | 4.00 |
|
02-01-2007 00:00 | 5.00 | 14.00 |
02-01-2007 06:00 | 6.00 |
|
02-01-2007 12:00 | NaN |
|
02-01-2007 18:00 | 8.00 |
|
03-01-2007 00:00 | 9.00 | NaN |
03-01-2007 06:00 | 10.00 |
|
...
In the examples above the inputMissingValuePercentage and the inputDoubtfulPercentage was configured hard-coded in the configuration file. However it is also possible to make a reference to an attribute of a location. To reference to an attribute the referenced attribute should be placed within @.
Code Block |
---|
<inputMissingPercentage><at:var at:name="MV" /><<inputMissingPercentage>@MV@</inputMissingPercentage> |
For example to reference the attribute MV for the inputMissingValuePercentage the configuration should be like.
...