Versions Compared

Key

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

...

Coefficient set or coefficient set functions

constituent: One or more harmonic tidal constituents. These are used to generate the output time series. The contributions of the individual constituents will be added to create the final result.

name: Name of a harmonic tidal constituent. This can be a standard designation of one of the tidal constituents from the list.

amplitude: Amplitude (in m) for this constituent.

phase: Phase (in degrees) for this constituent.TODO

When using coefficient set functions (available since build 30246), the value elements can contain tags between "@" signs (e.g. "@NUMBER@") that refer to location attributes that are defined in the locationSets configuration file. The tags are replaced by actual values. These values can be different for different locations and time periods. See 22 Locations and attributes defined in CSV files, Shape-DBF files or external tables for more information.

Output
  1. output: TODO
Description

outputVariable: Output variable in which the generated time series will be written.

Description

Uses one or more input harmonic tidal constituents to generate an output time series. This transformation is the same as the old ruleBasedTransformation "harmonictotimeseries" in the old transformations module. This new version can use location attributes.TODO

Configuration examples

Configuration example:

Code Block
xml
languagexml
<transformation id="GenerationTidalConstituentsTest">
	<generation>
		<tidalConstituents>
			<coefficientSet>
				<constituent name="M2" amplitude="2.5" phase="1080"/>
				<constituent name="S1" amplitude="-1.001" phase="-45.001"/>
			</coefficientSet>
			<outputVariable>
				<variableId>output</variableId>
			</outputVariable>
		</tidalConstituents>
	</generation>
</transformation>

The example below uses coefficientSetFunctions (available since build 30246, i.e. since stable build 2011.01). Here the coefficients are defined in coefficientSetFunctions, where NAME, AMP and PHASE refer to location number attributes that are defined in the locationSets configuration file. This can be used if the constituents are different for different locations. In this case only specify one constituent to link the name, amplitude and phase to the corresponding columns in the locationAttributes file:

Code Block
languagexmltitleboolean coefficient
<transformation id="GenerationTidalConstituentsWithLocationAttributesTest">
	<generation>
		<tidalConstituents>
			<coefficientSetFunctions>
				<constituent name="@NAME@" amplitude="@AMP@" phase="@PHASE@"/>
			</coefficientSetFunctions>
			<outputVariable>
				<variableId>output</variableId>
			</outputVariable>
		</tidalConstituents>
	</generation>
</transformation>

...