Versions Compared

Key

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

...

 An example looks like:

Code Block
xml
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<qualifiers 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/qualifiers.xsd">
  	<qualifier id="min" name="min">
    		<description>minimum</description>
  	</qualifier>
  	<qualifier id="max" name="max">
    		<description>maximum</description>
	</qualifier>
	<qualifier  </qualifier>
</qualifiers>
id="dag" name="dag">
		<shortName>dag</shortName>
		<group>tijdstap</group>
	</qualifier>
	<qualifier id="maand" name="maand">
		<shortName>maand</shortName>
		<group>tijdstap</group>
	</qualifier>
	<qualifier id="jaar" name="jaar">
		<shortName>jaar</shortName>
		<group>tijdstap</group>
	</qualifier>
</qualifiers>
Qualifier group

A qualifierGroup is a set qualifiers from which only 1 can be assigned to a time series at a time.
Qualifiers not belonging to a group can be combined multiple times but qualifiers within a group cannot.

Qualifiers groups also determine which time series can be combined in the Time Series Dialog. Time series with different qualifiers belonging to the same group can be summed and replaced with a time series without those qualifiers but with all other identical charateristics.

Csv

Qualifiers Qualifiers can also be defined by referring to a csv file in the configuration. For that the <file> and <id> are required. By using %% can be referred to the content of columns in the csv file. So the next example below the columns "qualifierId" and "qualifierName" determine the id and name of all qualifiers present in the csv file. The columns can be used multiple times also in combination with other text as is done for the definition of the attribute "ExternalQualifierId" which will start with "LNG_KLAS_" for all qualifiers followed by the content in the "qualifierId" column. The <group> elements determines to which group of qualifiers a qualifier belongs, this is used to determine whether timeseries can be summed. Time series with different qualifiers of the same group can be summed. 

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<qualifiers 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/qualifiers.xsd">
	<csvFile>
		<file>vissen_lengteklasse.csv</file>
		<id>%qualifierId%</id>
		<name>%qualifierName%</name>
		<group>Vissen lengteklasse</group>
		<attribute id="ExternalQualifierId">
			<text>LNG_KLAS_%qualifierId%</text>
		</attribute>
	</csvFile>
</qualifiers>

...