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

Compare with Current View Page History

« Previous Version 2 Next »

GIN stands for 'Gemeinsame Informationsplattform Naturgefahren' and will be the central information hub for natural hazards events in Switzerland.

The configuration of GIN export module follows the normal pattern, except that two qualifiers are necessary to get the proper values for the attributes 'datasourceProvider' and 'abbreviation'.

First put the qualifiers in Config/RegionConfigFiles/Qualifiers.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>


The following code shows a sample output file:


<?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>


  • No labels