WaterML2 is a new data exchange standard in Hydrology which can
basically be used to exchange many kinds of hydro-meteorological
observations and measurements. WaterML2 has been initiated and
designed over a period of several years by a group of major
national and international organizations from public and private
sector, such as
CSIRO,
CUAHSI,
USGS,
BOM,
NOAA,
KISTERS
and
others. WaterML2 has been developed within the OGC Hydrology
Domain Working group which has a mandate by the WMO, too.
Objectives of WaterML2:
- provide a common exchange format for hydrological time-series
- build on existing standards like GML and Observations & Measurements
- provide the option to fully store information including information regarding quality, validity/interpolation, and remarks
- currently it is NOT an objective to provide a comprehensive format with a minimum of characters
|
Download PDF
Examples:
example.wml
example.wmz
Related links:
WaterML2 @ OGC
HydroDWG
SWG
GML
O&M
|
Small code example with explanations:
- <wml2:Collection xsi:schemaLocation="http://www.opengis.net/waterml/2.0 http://www.opengis.net/waterml/2.0/waterml2.xsd" gml:id="Ki.Col.1">
- <gml:description>KISTERS KiWIS WaterML2.0</gml:description>
- <wml2:metadata>
- <wml2:DocumentMetadata gml:id="Ki.DocMD.1">
- <wml2:generationDate>2012-06-12T12:10:12.670+00:00</wml2:generationDate>
- <wml2:generationSystem>KISTERS KiWIS</wml2:generationSystem>
- </wml2:DocumentMetadata>
- </wml2:metadata>
- <wml2:temporalExtent>
- <gml:TimePeriod gml:id="Ki.TempExt.1">
- <gml:beginPosition>1990-09-01T00:00:00.000+01:00</gml:beginPosition>
- <gml:endPosition>1990-09-30T00:00:00.000+01:00</gml:endPosition>
- </gml:TimePeriod>
- </wml2:temporalExtent>
- <wml2:observationMember>
- <om:OM_Observation gml:id="Ki.OM_Obs.1">
- <om:phenomenonTime>
- <gml:TimePeriod gml:id="Ki.ObsTime.1">
- <gml:beginPosition>1990-09-01T00:00:00.000+01:00</gml:beginPosition>
- <gml:endPosition>1990-09-30T00:00:00.000+01:00</gml:endPosition>
- </gml:TimePeriod>
- </om:phenomenonTime>
- <om:resultTime>
- <gml:TimeInstant gml:id="Ki.resTime.1">
- <gml:timePosition>1990-09-30T00:00:00.000+01:00</gml:timePosition>
- </gml:TimeInstant>
- </om:resultTime>
- <om:procedure xlink:href="http://kiwis.kisters.de/ts/Day.Cmd" xlink:title="10 - DailyMean"/>
- <om:observedProperty xlink:href="http://kiwis.kisters.de/parameters/557" xlink:title="Q"/>
- <om:featureOfInterest xlink:href="http://kiwis.kisters.de/stations/1732100" xlink:title="ATHIEME"/>
- <om:result>
- <wml2:MeasurementTimeseries gml:id="Ki.Ts.132042">
- <wml2:temporalExtent>
- <gml:TimePeriod gml:id="Ki.TsTime.1">
- <gml:beginPosition>1990-09-01T00:00:00.000+01:00</gml:beginPosition>
- <gml:endPosition>1990-09-30T00:00:00.000+01:00</gml:endPosition>
- </gml:TimePeriod>
- </wml2:temporalExtent>
- <wml2:defaultPointMetadata>
- <wml2:DefaultTVPMeasurementMetadata>
- <wml2:interpolationType xlink:href="http://www.opengis.net/def/waterml/2.0/interpolationType/ConstPrec" xlink:title="Constant in preceding interval"/>
- <wml2:qualifier xlink:href="http://kiwis.kisters.de/statusCodes/40" xlink:title="40"/>
- <wml2:uom uom="cumec"/>
- </wml2:DefaultTVPMeasurementMetadata>
- </wml2:defaultPointMetadata>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-01T00:00:00.000+01:00</wml2:time>
- <wml2:value>193.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-02T00:00:00.000+01:00</wml2:time>
- <wml2:value>182.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-03T00:00:00.000+01:00</wml2:time>
- <wml2:value>171.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-04T00:00:00.000+01:00</wml2:time>
- <wml2:value>119.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-05T00:00:00.000+01:00</wml2:time>
- <wml2:value>129.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-06T00:00:00.000+01:00</wml2:time>
- <wml2:value>125.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-07T00:00:00.000+01:00</wml2:time>
- <wml2:value>130.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-08T00:00:00.000+01:00</wml2:time>
- <wml2:value>108.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-09T00:00:00.000+01:00</wml2:time>
- <wml2:value>100.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-10T00:00:00.000+01:00</wml2:time>
- <wml2:value>89.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-11T00:00:00.000+01:00</wml2:time>
- <wml2:value>89.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-12T00:00:00.000+01:00</wml2:time>
- <wml2:value>106.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-13T00:00:00.000+01:00</wml2:time>
- <wml2:value>132.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-14T00:00:00.000+01:00</wml2:time>
- <wml2:value>145.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-15T00:00:00.000+01:00</wml2:time>
- <wml2:value>150.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-16T00:00:00.000+01:00</wml2:time>
- <wml2:value>152.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-17T00:00:00.000+01:00</wml2:time>
- <wml2:value>118.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-18T00:00:00.000+01:00</wml2:time>
- <wml2:value>92.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-19T00:00:00.000+01:00</wml2:time>
- <wml2:value>106.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-20T00:00:00.000+01:00</wml2:time>
- <wml2:value>129.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-21T00:00:00.000+01:00</wml2:time>
- <wml2:value>125.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-22T00:00:00.000+01:00</wml2:time>
- <wml2:value>152.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-23T00:00:00.000+01:00</wml2:time>
- <wml2:value>152.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-24T00:00:00.000+01:00</wml2:time>
- <wml2:value>120.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-25T00:00:00.000+01:00</wml2:time>
- <wml2:value>96.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-26T00:00:00.000+01:00</wml2:time>
- <wml2:value>123.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-27T00:00:00.000+01:00</wml2:time>
- <wml2:value>127.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-28T00:00:00.000+01:00</wml2:time>
- <wml2:value>130.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-29T00:00:00.000+01:00</wml2:time>
- <wml2:value>141.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- <wml2:point>
- <wml2:MeasurementTVP>
- <wml2:time>1990-09-30T00:00:00.000+01:00</wml2:time>
- <wml2:value>139.0</wml2:value>
- </wml2:MeasurementTVP>
- </wml2:point>
- </wml2:MeasurementTimeseries>
- </om:result>
- </om:OM_Observation>
- </wml2:observationMember>
- </wml2:Collection>
File extensions
- XML: the typical file extension of an XML file
- WML: the wml-extension is a typical abbreviation of WaterML2 and can be used as a file-extension as well
- WMZ: similar to KML/KMZ we suggest to use the file extension "WMZ" to indicate that the file has been zipped
How to transport WaterML2
- email, ftp, file-copy
- any arbitrary http-transfer, or via standardized http transfer mechanism (e.g. OGC: SOS)
- any other transfer option (the above just focus to internet use-cases)
|