ogc.tsml.1.0.examples.measurement-timeseries-min-daily-discharge-monthly.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <tsml:Collection xmlns:tsml="http://www.opengis.net/tsml/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:om="http://www.opengis.net/om/2.0" xmlns:sa="http://www.opengis.net/sampling/2.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sf="http://www.opengis.net/sampling/2.0" xmlns:sams="http://www.opengis.net/samplingSpatial/2.0" xsi:schemaLocation="http://www.opengis.net/tsml/1.0 http://schemas.opengis.net/tsml/1.0/timeseriesML.xsd" gml:id="observation_example_use_case"> <gml:description>This is an example TimeSeriesML encoding of the minimum daily discharge for each month for a site (Nile River at Deddington in Tasmania, Australia). This is actual data. </gml:description> <tsml:generationDate>2011-10-25T15:39:00+10:00</tsml:generationDate> <tsml:generationSystem>Handcrafted</tsml:generationSystem> <tsml:version xlink:href="http://www.opengis.net/waterml/2.0"/> <tsml:samplingFeatureMember> <tsml:MonitoringFeature gml:id="monitoring_point_llewellyn_continuous"> <gml:description>Nile river at Deddington, South Esk catchment, Tasmania</gml:description> <gml:name codeSpace="http://www.csiro.au/">Deddington</gml:name> <sf:sampledFeature xlink:href="http://csiro.au/features/rivers/south_esk/deddington"/> <sams:shape> <gml:Point gml:id="location_deddington"> <gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">-41.814935 147.568517 </gml:pos> </gml:Point> </sams:shape> <tsml:verticalDatum xlink:href="http://www.opengis.net/def/crs/EPSG/0/5711" xlink:title="Australian height datum"/> <tsml:timeZone> <tsml:TimeZone> <tsml:zoneOffset>+11:00</tsml:zoneOffset> <tsml:zoneAbbreviation>AEDT</tsml:zoneAbbreviation> </tsml:TimeZone> </tsml:timeZone> </tsml:MonitoringFeature> </tsml:samplingFeatureMember> <tsml:observationMember> <om:OM_Observation gml:id="series_1"> <om:phenomenonTime> <gml:TimePeriod gml:id="period_of_rec"> <!-- Note that the period of record is the start of October, but the actual first point is the end of October as the data describes the min value for a previous period --> <gml:beginPosition>2010-10-01T00:00:00</gml:beginPosition> <gml:endPosition>2011-10-31T00:00:00</gml:endPosition> </gml:TimePeriod> </om:phenomenonTime> <om:resultTime/> <om:procedure> <tsml:ObservationProcess gml:id="long_term_average"> <tsml:processType xlink:href="http://www.opengis.net/def/waterml/2.0/processType/Algorithm"/> <tsml:aggregationDuration>P1D</tsml:aggregationDuration> <tsml:processReference xlink:href="http://kisters.de/tsm_agent/min_daily_mean_monthly"/> </tsml:ObservationProcess> </om:procedure> <om:observedProperty xlink:href="http://sweet.jpl.nasa.gov/2.2/phenHydro.owl#StreamDischarge"/> <om:featureOfInterest xlink:href="#monitoring_point_llewellyn_continuous"/> <om:result> <tsml:TimeseriesTVP gml:id="timeseries_1"> <tsml:metadata> <tsml:TimeseriesMetadata> <tsml:temporalExtent xlink:href="#period_of_rec"/> <tsml:baseTime>2010-11-01T00:00:00</tsml:baseTime> <tsml:spacing>P1M</tsml:spacing> <!-- Anchor point to indicate where the previous minimum is calculated to --> <tsml:startAnchorPoint>2010-10-01T00:00:00</tsml:startAnchorPoint> </tsml:TimeseriesMetadata> </tsml:metadata> <tsml:defaultPointMetadata> <tsml:PointMetadata> <tsml:uom code="m3/s"/> <tsml:interpolationType xlink:href="http://www.opengis.net/def/waterml/2.0/interpolationType/MinPrec" xlink:title="Minimum in preceeding interval"/> <tsml:aggregationDuration>P1D</tsml:aggregationDuration> </tsml:PointMetadata> </tsml:defaultPointMetadata> <!-- November but data describes October --> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.72</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.588</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.506</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.298</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.209</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value xsi:nil="true"/> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.529</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.524</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.791</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>1.102</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>2.901</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:value>0.827</tsml:value> </tsml:MeasurementTVP> </tsml:point> <tsml:point> <tsml:MeasurementTVP> <tsml:metadata> <tsml:PointMetadata> <tsml:comment>Only partial for this month - 5 days remain</tsml:comment> <tsml:qualifier xlink:href="http://youragency.example.com/yourvocabularies/qualifier/partial_statistic" xlink:title="partial statistic"/> </tsml:PointMetadata> </tsml:metadata> <tsml:value>0.625</tsml:value> </tsml:MeasurementTVP> </tsml:point> </tsml:TimeseriesTVP> </om:result> </om:OM_Observation> </tsml:observationMember> </tsml:Collection>