...
The url can be configured in the moduleConfigFile for the desires SWE import. Use the serverUrl tag in the general section as described in the following example:
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun 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/timeSeriesImportRun.xsd"> <import> <general> <importType>SWE</importType> <serverUrl>http://swe.knmi.nl:8080/52nSOSv2kmds/sos</serverUrl> <relativeViewPeriod unit="week" start="-100" end="0" /> <idMapId>IdImportKNMI_SWE</idMapId> <unitConversionsId>ImportUnitConversions</unitConversionsId> <importTimeZone> <timeZoneOffset>+01:00</timeZoneOffset> </importTimeZone> <dataFeedId>tnonitg</dataFeedId> </general> <timeSeriesSet> <moduleInstanceId>ImportKNMI_SWE</moduleInstanceId> <valueType>scalar</valueType> <parameterId>P.meting</parameterId> <locationSetId>KNMI-sensors(SWE)</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <relativeViewPeriod unit="day" start="-5" end="0" startOverrulable="true"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportKNMI_SWE</moduleInstanceId> <valueType>scalar</valueType> <parameterId>LV.meting</parameterId> <locationSetId>KNMI-sensors(SWE)</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <relativeViewPeriod unit="day" start="-5" end="0" startOverrulable="true"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportKNMI_SWE</moduleInstanceId> <valueType>scalar</valueType> <parameterId>WS.meting</parameterId> <locationSetId>KNMI-sensors(SWE)</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <relativeViewPeriod unit="day" start="-5" end="0" startOverrulable="true"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportKNMI_SWE</moduleInstanceId> <valueType>scalar</valueType> <parameterId>T.meting</parameterId> <locationSetId>KNMI-sensors(SWE)</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="nonequidistant" /> <relativeViewPeriod unit="day" start="-5" end="0" startOverrulable="true"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> </import> </timeSeriesImportRun> |
The offerings, procedures and observedProperties are mapped in the idMap file for the swe import. See next example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <idMap 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/idMap.xsd]"> <parameter internal="P.meting" external="urn:ogc:def:phenomenon:precipitationIntensity" externalQualifier="weatherNL" /> <parameter internal="WS.meting" external="urn:ogc:def:phenomenon:windSpeed" externalQualifier="weatherNL"/> <parameter internal="T.meting" external="urn:ogc:def:phenomenon:airTemperature" externalQualifier="weatherNL"/> <parameter internal="LV.meting" external="urn:ogc:def:phenomenon:relativeHumidity" externalQualifier="weatherNL"/> <\!\--locaties voor KNMI gegevens: level-\-> <location internal="KNMI-6235" external="urn:ogc:object:sensor:KNMI:procedure06235"/> <location internal="KNMI-6239" external="urn:ogc:object:sensor:KNMI:procedure06239"/> <location internal="KNMI-6240" external="urn:ogc:object:sensor:KNMI:procedure06240"/> <location internal="KNMI-6251" external="urn:ogc:object:sensor:KNMI:procedure06251"/> <location internal="KNMI-6260" external="urn:ogc:object:sensor:KNMI:procedure06260"/> <location internal="KNMI-6269" external="urn:ogc:object:sensor:KNMI:procedure06269"/> <location internal="KNMI-6270" external="urn:ogc:object:sensor:KNMI:procedure06270"/> <location internal="KNMI-6275" external="urn:ogc:object:sensor:KNMI:procedure06275"/> <location internal="KNMI-6280" external="urn:ogc:object:sensor:KNMI:procedure06280"/> <location internal="KNMI-6283" external="urn:ogc:object:sensor:KNMI:procedure06283"/> <location internal="KNMI-6290" external="urn:ogc:object:sensor:KNMI:procedure06290"/> <location internal="KNMI-6310" external="urn:ogc:object:sensor:KNMI:procedure06310"/> <location internal="KNMI-6344" external="urn:ogc:object:sensor:KNMI:procedure06344"/> <location internal="KNMI-6356" external="urn:ogc:object:sensor:KNMI:procedure06356"/> <location internal="KNMI-6370" external="urn:ogc:object:sensor:KNMI:procedure06370"/> <location internal="KNMI-6375" external="urn:ogc:object:sensor:KNMI:procedure06375"/> <location internal="KNMI-6380" external="urn:ogc:object:sensor:KNMI:procedure06380"/> <location internal="KNMI-6391" external="urn:ogc:object:sensor:KNMI:procedure06391"/> </idMap> |
...