You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Since release 2007.02, the Data/TimeSeries Display can display longitudinal profiles in graph and table format. It therefore has become the preferred way to show longitudinal profiles and overtakes the functionality of the separate Longitudinal Display.

There are three files which are required:

1. Firstly you need to generate the long profile using a transformation module instance (converting from point data to long profile) or import the long profile from an external model (see example of how to generate a long profile in Sobek). When using a transformation

	<variable>
		<variableId>Model_Output</variableId>
		<timeSeriesSet>
			<moduleInstanceId>Your_Module</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>Q.simulated.forecast</parameterId>
			<locationSetId>River1_Outputs</locationSetId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="minute" multiplier="15"/>
			<relativeViewPeriod unit="day" start="-10" end="24"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
	</variable>
	<variable>
		<variableId>Profile</variableId>
		<timeSeriesSet>
			<moduleInstanceId>CreateLongProfile</moduleInstanceId>
			<valueType>longitudinalprofile</valueType>
			<parameterId>Long.profile</parameterId>
			<locationId>River1</locationId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="minute" multiplier="15"/>
			<relativeViewPeriod unit="day" start="-10" end="24"/>
			<readWriteMode>read complete forecast</readWriteMode>
		</timeSeriesSet>
	</variable>
	<transformation id="InterpolationSpatialClosestDistanceTest">
		<interpolationSpatial>
			<closestDistance>
				<inputVariable>
					<variableId>Model_Output</variableId>
				</inputVariable>
				<searchRadius>0</searchRadius>
				<outputVariable>
					<variableId>Profile</variableId>
				</outputVariable>
			</closestDistance>
		</interpolationSpatial>
	</transformation>

2. Secondly you need a branch file which tells Fews how to display this river or long-sectional branch. The branch is linked to the long profile via the location.

3. Thirdly you need to add the series (generated in step 1) to the display groups as a long profile.

Please find some template files attached, which need to be modified for your own configuration. Locations and module instances should be correctly added and registered.

  • No labels