Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
titleImportLMW.xml
<import>
	<general>
		<importType>LMW</importType>
		<serverUrl>https://sip-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