Versions Compared

Key

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

...

  • csv - new file with Booleans to enable/disable
  • LocationSets.xml
  • ModifierTypes.xml

Image Modified

Image Modified

Code Block
languagexml
titleLocationSets.xml
linenumberstrue
collapsetrue
<locationSets version="1.1" 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/locationSets.xsd">
	<locationSet id="SystemSettings">
		<csvFile>
			<file>SystemSettings.csv</file>
			<geoDatum>WGS 1984</geoDatum>
			<id>%ID%</id>
			<name>%Name%</name>
			<x>0</x>
			<y>0</y>
			<attribute id="URBS_Deploy" name="URBS - Deploy Model">
				<boolean>%URBS_Deploy%</boolean>
			</attribute>
			<attribute id="URBS_Merge" name="URBS - Merge Rainfall">
				<boolean>%URBS_Merge%</boolean>
			</attribute>
			<attribute id="URBS_Fcst" name="URBS Forecast">
				<boolean>%URBS_Fcst%</boolean>
			</attribute>
			<attribute id="Archive" name="Archive">
				<boolean>%Archive%</boolean>
			</attribute>
		</csvFile>
	</locationSet>
	<locationSet id="SystemSettings_Tweed">
		<locationId>Burringbar_System</locationId>
		<locationId>Crabbes_System</locationId>
		<locationId>TweedR_System</locationId>
		<locationId>Tweed_System</locationId>
	</locationSet>
</locationSets>
Code Block
languagexml
titleModifierTypes.xml
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>
<modifierTypes 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/modifierTypes.xsd">
	<attributeModifiers>
		<locationAttributeModifier id="RunProcess" name="Run Process">
			<expiryTime unit="day" multiplier="36500"/>
			<modifiableGroup name="Enable/Disable Modules and Workflows">
				<locationSetId>SystemSettings</locationSetId>
				<attribute id="URBS_Deploy"/>
				<attribute id="URBS_Merge"/>
				<attribute id="URBS_Fcst"/>
				<attribute id="Archive"/>
				<panelLayout>
					<tableLayout id="Process_Table" height="100" width="100">
						<title>Run Process</title>
						<defaultColumnWidth>50</defaultColumnWidth>
						<attributeId width="50">URBS_Deploy</attributeId>
						<attributeId width="50">URBS_Merge</attributeId>
						<attributeId width="50">URBS_Fcst</attributeId>
						<locationOrientation>row</locationOrientation>
					</tableLayout>
					<tableLayout id="Archive_Table" height="100" width="100">
						<title>Archive</title>
						<defaultColumnWidth>50</defaultColumnWidth>
						<attributeId width="50">Archive</attributeId>
						<locationOrientation>row</locationOrientation>
					</tableLayout>
				</panelLayout>
			</modifiableGroup>
		</locationAttributeModifier>
	</attributeModifiers>
</modifierTypes>

 


The example below has been configured for an Operator Client, using a workflow for URBS model runs within the Tweed region, consisting of three catchments. The workflow consists of pre/post-processing modules, rainfall merge modules, general adapters for model deployment and model simulation, and an archiving module. 

...