...
Note |
---|
This import is available in DELFT-FEWS versions after 28-10-2009 (FEWS version 2009.02) Since FEWS 20172016.01 the import requires a client.trusstoretruststore. The SSLv3 SIP server is no longer supported. The serverUrl should be set to the modern tls v1.2 sip server. |
Imports time series data directly from the Dutch Water Authorities' data centre (Landelijk Meetnet Water). The FEWS LMW import function uses the SIP protocol to import the data directly from a remote database, it is therefore required to have an internet connection. In the FEWS import configuration file a username and password have to be entered, these can be requested from the LMW data centre directly and not through Deltares. Without an appropriat eusernameusername/password combination it is not possible to import data. Currently the import only works on Windows computers as there is no LINUX library available to access the LMW database. Since FEWS 2017.01 the LMW import can be used on both Windows and Linux.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<import> <general> <importType>LMW</importType> <serverUrl>http<serverUrl>https://wwwsip-lmw.rws.nl/</serverUrl> <user>......<<user>dummy_username</user> <password>.......<<password>dummy_password</password> <relativeViewPeriod unit="hour" start="-24" end="1" startOverrulable="true" endOverrulable="true"/> <idMapId>IdImportLMW</idMapId> <unitConversionsId>ImportUnitConversions</unitConversionsId> <flagConversionsId>ImportMSWFlagConversions</flagConversionsId> <missingValue>-1000000000</missingValue> <missingValue>99999</missingValue> <importTimeZone> <timeZoneOffset>+01:00</timeZoneOffset> </importTimeZone> <dataFeedId>LMW</dataFeedId> </general> <timeSeriesSet> <moduleInstanceId>ImportLMW</moduleInstanceId> <valueType>scalar</valueType> <parameterId>H.meting</parameterId> <locationSetId>LMW_h</locationSetId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="minute" multiplier="10"/> <readWriteMode>add originals</readWriteMode> <synchLevel>1</synchLevel> </timeSeriesSet> .... <externUnit parameterId="H.meting" unit="cm"/> <externUnit parameterId="Q.meting" unit="0.01 m3/s"/> </import> |
...
- Most parameters will be observation data, but some, like the astronomic tide or forecast data, are predictions. If the data are not observation data, you must use the qualifier to the parameter to indicate the SIP command to be used.
- For observation data the external qualifier is "WN"
- For forecast data the external qualifier is "VW"
- For astronomical data the external qualifier is "AS"
- The data in the LMW database cover a period of one month only and the data are retrieved per day.
...
The JAVA source code from the LMW parser can be found here