Versions Compared

Key

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

...

Below an example of the definition of a locationSet with attributes.

Code Block
languagexml

	<locationSet id="exampleMultiVariateThresholdsHyFS">
   <csvFile>
      <file>multi_variate_thresholds		<csvFile>
			<file>MultiVariateThresholdsHyFS.csv</file>
      			<id>%id%</id>
      			<x>%x%</x>
      			<y>%y%</y>
			<attribute id="thv0">
				<number>%thv0%</number>
			</attribute>
			<attribute id="thv1">
				<number>%thv1%</number>
			</attribute>
			<attribute id="thv2">
				<number>%thv2%</number>
			</attribute>
			<attribute id="thv3">
				<number>%thv3%</number>
			</attribute>
			<attribute  <attributeFile>
         <csvFile>multi_variate_thresholds_attribute.csv</csvFile>
         <id>%id%</id>
         <attribute id="inputLocationId">
            <text>%inputLocationId%</text>
         </attribute>
         <attribute id="inputVariable">
            <text>%inputVariable%</text>
         </attribute>
         id="thv4">
				<number>%thv4%</number>
			</attribute>
			<attribute id="thv5a">
				<number>%thv5a%</number>
			</attribute>
			<attribute id="thv5b">
				<number>%thv5b%</number>
			</attribute>
			<attribute id="thv6a">
				<number>%thv6a%</number>
			</attribute>
			<attribute id="thv6b">
				<number>%thv6b%</number>
			</attribute>
			<attribute id="thv7">
				<number>%thv7%</number>
			</attribute>
			<attribute id="thv8a">
				<number>%thv8a%</number>
			</attribute>
			<attribute id="thv8b">
				<number>%thv8b%</number>
			</attribute>
			<attribute id="thv9">
				<number>%thv9%</number>
			</attribute>
			<attributeFile>
				<csvFile>MultiVariateThresholdsAttributesHyFS.csv</csvFile>
				<id>%id%</id>
				<attribute id="inputLocationSetId">
					<text>%inputLocationSetId%</text>
				</attribute>
				<attribute id="variable">
					<text>%variable%</text>
				</attribute>
				<attribute id="ruleId">
            					<text>%ruleId%</text>
         </attribute>
         				</attribute>
				<attribute id="lowerBoundInputAttributeId">
					<text>%lowerBoundInputAttributeId%</text>
				</attribute>
				<attribute id="lowerBound">
            					<number>%lowerBound%</number>
         				</attribute>
         				<attribute id="upperBoundruleOutcome">
            <number>%upperBound%</number>
         </attribute>
         					<number>%ruleOutcome%</number>
				</attribute>
				<attribute id="ruleOutcomenumberOfTimeSeries">
            <number>%ruleOutcome%</number>
         					<number>%numberOfTimeSeries%</number>
				</attribute>
      			</attributeFile>
   		</csvFile>
	</locationSet>

 

In the example above the thresholds are defined for output location H4301. The variable defines the id of a variable in the transformation module.

...