...
First put the qualifiers in Config/RegionConfigFiles/Qualifiers.xml
No Format | ||
---|---|---|
| ||
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 |
...
"> |
...
<allowReferencingUndefinedQualifiers>false</allowReferencingUndefinedQualifiers> |
...
... |
...
<qualifier id="BAFU" name="BAFU"/> |
...
<qualifier id="Abbreviation1" name="Abbreviation1"/> |
...
</qualifiers> |
...
Code Block | |
---|---|
xml | xml
|
The following code shows a sample output file:
No Format | ||
---|---|---|
| ||
Code Block | ||
xml | xml | <?xml version="1.0" encoding="UTF-8"?> |
...
<Collection datasourceName="loc1" datasourceProvider="BAFU1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
...
<prediction abbreviation="Abbreviation1" datasourceName="loc1" datasourceProvider="BAFU"> |
...
<run> <inittime>2003-11-05T00:00:00.000+0100</inittime><!-- init time hydrological model--> |
...
<inittime2>2003-11-05T00:00:00.000+0100</inittime2><!-- init time meteorological model--> |
...
</run> |
...
<member>3</member> |
...
<preddata> <predtime>2003-10-05T13:45:00.000+0100</predtime> |
...
<par1>0.5161157</par1> |
...
</preddata> |
...
<preddata> <predtime>2003-10-05T14:00:00.000+0100</predtime> |
...
<par1>0.749531</par1> |
...
</preddata> |
...
<preddata> <predtime>2003-10-05T14:15:00.000+0100</predtime> |
...
<par1>0.35472012</par1> |
...
</preddata> |
...
<preddata> <predtime>2003-10-05T14:30:00.000+0100</predtime> |
...
<par1>0.91763437</par1> |
...
</preddata> |
...
<preddata> <predtime>2003-10-05T14:45:00.000+0100</predtime> |
...
<par1>0.29822087</par1> |
...
</preddata> |
...
<preddata> <predtime>2003-10-05T15:00:00.000+0100</predtime> |
...
<par1>0.038461924</par1> |
...
</preddata> |
...
<preddata> <predtime>2003-10-05T15:15:00.000+0100</predtime> |
...
<par1>0.94585866</par1> |
...
</preddata> |
...
</prediction> |
...
</Collection> |
...
Code Block | |
---|---|
xml | xml
|