Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the following example direction and numberOfTimeSteps refer to location attributes of locations in the locationSet of the output variable locationSet. So the amount of shift can be different for different output locations.

Code Block
<transformation id="TimeShiftConstantWithLocationAttributesTestTimeShiftConstantWithLocationAttributes">
	<timeShift>
		<constant>
			<inputVariable>
				<variableId>input</variableId>
			</inputVariable>
			<direction><at:var at:name="direction" /></direction>
			<numberOfTimeSteps><at:var at:name="nr_steps" /></numberOfTimeSteps>
			<outputVariable>
				<variableId>output</variableId>
			</outputVariable>
		</constant>
	</timeShift>
</transformation>