...
The following example of an Import Module Instance will import the time series as non-equidistant series.
Code Block |
---|
| xml | xml |
---|
title | ImportDINOService.xml |
---|
| xml |
---|
|
<?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>dinoservice</importType>
<serverUrl>http://nit.dinoservices.nl:80/gws-v10/gws-v10</serverUrl>
<relativeViewPeriod unit="day" start="-365" end="0" />
<idMapId>IdImportDino</idMapId>
<unitConversionsId>ImportUnitConversions</unitConversionsId>
<importTimeZone>
<timeZoneOffset>+00:00</timeZoneOffset>
<!-- <timeZoneOffset>+01:00</timeZoneOffset>-->
</importTimeZone>
<dataFeedId>tnonitg</dataFeedId>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportDinoService</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>G.m</parameterId>
<locationId>NL-B32C0677-001</locationId>
<!-- <locationSetId>TNO-sensors(SWE)</locationSetId> -->
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant" />
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
<expiryTime unit="day" multiplier="365"/>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportDinoService</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>G.stat.gem</parameterId>
<locationId>NL-B32C0677-001</locationId>
<!-- <locationSetId>TNO-sensors(SWE)</locationSetId> -->
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant" />
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
<expiryTime unit="day" multiplier="365"/>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportDinoService</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>G.stat.min</parameterId>
<locationId>NL-B32C0677-001</locationId>
<!-- <locationSetId>TNO-sensors(SWE)</locationSetId> -->
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant" />
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
<expiryTime unit="day" multiplier="365"/>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportDinoService</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>G.stat.max</parameterId>
<locationId>NL-B32C0677-001</locationId>
<!-- <locationSetId>TNO-sensors(SWE)</locationSetId> -->
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant" />
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
<expiryTime unit="day" multiplier="365"/>
</timeSeriesSet>
</import>
</timeSeriesImportRun>
|
...
Info |
---|
Defines mappings between DINO and FEWS parameters and locations. |
Code Block |
xml |
---|
| xml |
---|
title | MapIdDinoService.xml |
---|
| xml |
---|
|
<?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="G.m" external="findMeetreeks" externalQualifier="SFL"></parameter>
<parameter internal="G.stat.max" external="findGrondwaterStatistiek" externalQualifier="SFL" externalQualifier1="MAX_LEVEL"></parameter>
<parameter internal="G.stat.min" external="findGrondwaterStatistiek" externalQualifier="SFL" externalQualifier1="MIN_LEVEL"></parameter>
<parameter internal="G.stat.gem" external="findGrondwaterStatistiek" externalQualifier="SFL" externalQualifier1="MEAN_LEVEL"></parameter>
<!--data reeksen voor grondwatergegevens: level-->
<location internal="NL-B01D0040-001" external="B01D0040-001"/>
<location internal="NL-B03D0308-001" external="B03D0308-001"/>
<location internal="NL-B03G0080-001" external="B03G0080-001"/>
<location internal="NL-B03G0080-002" external="B03G0080-002"/>
<location internal="NL-B06F0094-001" external="B06F0094-001"/>
<location internal="NL-B06F0094-002" external="B06F0094-002"/>
<location internal="NL-B06F0094-003" external="B06F0094-003"/>
...
</idMap>
|
...
Example SOAP request and response/
Code Block |
xml |
---|
| xml |
---|
title | Ground Water Levels - Request |
---|
| xml |
---|
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.gws.dino.tno.nl/">
<soapenv:Header/>
<soapenv:Body>
<ws:findMeetreeks>
<WELL_NITG_NR>B14G0057</WELL_NITG_NR>
<WELL_TUBE_NR>002</WELL_TUBE_NR>
<START_DATE>2007-01-01</START_DATE>
<END_DATE>2008-12-31</END_DATE>
<UNIT>SFL</UNIT>
</ws:findMeetreeks>
</soapenv:Body>
</soapenv:Envelope>
|
Code Block |
xml |
---|
| xml |
---|
title | Ground Water Levels - Response |
---|
| xml |
---|
|
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:findMeetreeksResponse xmlns:ns2="http://ws.gws.dino.tno.nl/">
<GROUND_WATER_LEVELS>
<LEVELS>
<DATE>2007-01-01+01:00</DATE>
<LEVEL>187.0</LEVEL>
<REMARK/>
</LEVELS>
<LEVELS>
<DATE>2007-01-02+01:00</DATE>
<LEVEL>190.0</LEVEL>
<REMARK/>
</LEVELS>
<LEVELS>
<DATE>2007-01-03+01:00</DATE>
<LEVEL>193.0</LEVEL>
<REMARK/>
</LEVELS>
<LEVELS>
<DATE>2007-01-04+01:00</DATE>
<LEVEL>188.0</LEVEL>
<REMARK/>
</LEVELS>
<LEVELS>
<DATE>2007-01-05+01:00</DATE>
<LEVEL>190.0</LEVEL>
<REMARK/>
</LEVELS>
<LEVELS>
<DATE>2007-01-05+01:00</DATE>
<LEVEL>189.0</LEVEL>
<REMARK/>
</LEVELS>
</GROUND_WATER_LEVELS>
</ns2:findMeetreeksResponse>
</S:Body>
</S:Envelope>
|
...