Page tree
Skip to end of metadata
Go to start of metadata

tippingBucket

description

This transformation converts a non-equidistant time series with tipping bucket rainfall data to an equidistant time series with accumulated rainfall data.

input

  • tippingBucketPrecipitation

output

  • precipitation

Configuration example

<?xml version="1.0" encoding="UTF-8"?>
<transformationModule version="1.0" xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/transformationModule.xsd">
	<!--Input time series-->
	<variable>
		<variableId>tippingBucket</variableId>
		<timeSeriesSet>
			<moduleInstanceId>importTippingBucket</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationSetId>RainGauges_HuangChuan</locationSetId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<relativeViewPeriod unit="day" start="-16" end="0" startOverrulable="true"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</variable>
	<!--Output time series-->
	<variable>
		<variableId>output</variableId>
		<timeSeriesSet>
			<moduleInstanceId>HuangChuan_Update_Pre</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationSetId>RainGauges_HuangChuan</locationSetId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<relativeViewPeriod unit="day" start="-16" end="0" startOverrulable="true"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</variable>
	<!--Transformations-->
	<transformation id="tippingBucket">
		<precipitation>
			<tippingBucket>
				<tippingBucketPrecipitation>
					<variableId>tippingBucket</variableId>
				</tippingBucketPrecipitation>
				<precipitation>
					<variableId>output</variableId>
				</precipitation>
			</tippingBucket>
		</precipitation>
	</transformation>
</transformationModule>
  • No labels