Skip to content

Instantly share code, notes, and snippets.

@dstuebe
Last active December 16, 2015 22:09
Show Gist options
  • Save dstuebe/5505290 to your computer and use it in GitHub Desktop.
Save dstuebe/5505290 to your computer and use it in GitHub Desktop.
SOS responses
<?xml version="1.0" encoding="UTF-8"?>
<!-- Template Document for a generic (independant of feature type) Get Observation. -->
<!-- Specific feature types are referenced for example only. -->
<!-- -->
<!-- The GO contains one member observation per feature type in the response. -->
<!-- The result block in the template is empty. Examples of the result block are in the SWE -->
<!-- templates defined seperately for each strucutre and concept. Any of these SWE results could -->
<!-- be expressed in the result block of this document with the appropriate matching metadata. -->
<!-- -->
<om:ObservationCollection
xmlns:om="http://www.opengis.net/om/1.0"
xmlns:gml="http://www.opengis.net/gml"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:swe2="http://www.opengis.net/swe/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/om/1.0 http://schemas.opengis.net/om/1.0.0/om.xsd">
<!-- DISCLAIMER (optional) -->
<gml:metaDataProperty xlink:title="disclaimer">
<gml:GenericMetaData>
<gml:description>DISCLAIMER</gml:description>
</gml:GenericMetaData>
</gml:metaDataProperty>
<!-- IOOS SOS VERSION (optional) -->
<gml:metaDataProperty
xlink:title="ioosTemplateVersion"
xlink:href="http://code.google.com/p/ioostech/source/browse/#svn%2Ftrunk%2Ftemplates%2FMilestone1.0">
<gml:version>1.0</gml:version>
</gml:metaDataProperty>
<!-- =========================================================== -->
<!-- A GO response will contain at least one member observation. -->
<!-- Multiple stations and multiple sensors of the same feature -->
<!-- type may be expressed in a single observation result block. -->
<!-- -->
<!-- Separate member observations are used when the response -->
<!-- contains more than one feature type. Each feature type is -->
<!-- returned in a separate member observation. -->
<!-- =========================================================== -->
<om:member>
<om:Observation>
<!-- =========================================================== -->
<!-- gml:description -->
<!-- Intended as fairly free-form text for human eyeballs. -->
<!-- Should include station(s) name and location as well as -->
<!-- sensor or procedure information if possible -->
<!-- =========================================================== -->
<gml:description>Observations at point station urn:ioos:station:wmo:41001, 150 NM East of Cape
HATTERAS</gml:description>
<!-- =========================================================== -->
<!-- samplingTime -->
<!-- Time bounds of response data, encoded as an iso8601 string -->
<!-- or using a GML attribute expressions (e.g. 'now'). -->
<!-- Currently only UTC (Z) is supported/advocated. -->
<!-- =========================================================== -->
<om:samplingTime>
<gml:TimePeriod>
<gml:beginPosition>2009-05-23T00:00:00Z</gml:beginPosition>
<gml:endPosition>2009-05-23T02:00:00Z</gml:endPosition>
</gml:TimePeriod>
</om:samplingTime>
<!-- =========================================================== -->
<!-- procedure -->
<!-- Each station is listed as a process member -->
<!-- =========================================================== -->
<om:procedure>
<om:Process>
<gml:member xlink:href="urn:ioos:station:wmo:41001" />
<gml:member xlink:href="urn:ioos:station:wmo:41002" />
</om:Process>
</om:procedure>
<!-- =========================================================== -->
<!-- observedProperty -->
<!-- This block contains a list of *scalar* properties only, -->
<!-- referencing the MMI CF or IOOS parameter vocabularies; see -->
<!-- the wiki documentation on the topic for the choice of -->
<!-- vocabularies. Requests constructed using composite (vector) -->
<!-- phenomena such as "winds" will return the scalar components -->
<!-- only.This scheme accommodates both true composite phenomena -->
<!-- like winds, and ad-hoc requests for multiple properties -->
<!-- (eg, water and air temperature). The general -->
<!-- swe:CompositePhenomenon element is used even when the -->
<!-- response returns a single observed property. -->
<!-- =========================================================== -->
<om:observedProperty>
<swe:CompositePhenomenon dimension="5"
gml:id="observedproperties1">
<gml:name>Response Observed Properties</gml:name>
<swe:component xlink:href="http://mmisw.org/ont/cf/parameter/air_temperature" />
<swe:component xlink:href="http://mmisw.org/ont/cf/parameter/wind_speed" />
<swe:component xlink:href="http://mmisw.org/ont/cf/parameter/wind_direction" />
<swe:component xlink:href="http://mmisw.org/ont/cf/parameter/sea_water_temperature" />
<swe:component xlink:href="http://mmisw.org/ont/ioos/parameter/dissolved_oxygen" />
</swe:CompositePhenomenon>
</om:observedProperty>
<!-- =========================================================== -->
<!-- featureOfInterest -->
<!-- Encompasses all spatial and feature-type response metadata. -->
<!-- =========================================================== -->
<om:featureOfInterest>
<gml:FeatureCollection>
<!-- CF Feature Type (discrete-sampling-geometry). -->
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeries</gml:name>
</gml:metaDataProperty>
<!-- Geographic (lat lon) Bounding Box of this feature -->
<gml:boundedBy>
<gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:lowerCorner>34.7 -72.73</gml:lowerCorner>
<gml:upperCorner>34.7 -72.73</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<!-- =========================================================== -->
<!-- location -->
<!-- Feature geographic location (lat & lon only, no z) -->
<!-- Always use epsg 4326. -->
<!-- This example includes one point for one station. -->
<!-- Several gml feature types are available to describe the -->
<!-- location of the data in the response. See the IoosTech wiki -->
<!-- for documentation on what GML type to use for each IoosTech -->
<!-- feature type. -->
<!-- =========================================================== -->
<gml:location>
<!-- For a station with timeSeries or timeSeriesProfile data -->
<!-- use gml:MultiPoint -->
<gml:MultiPoint
srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:pointMembers>
<!-- For each station in the result add an additional point -->
<gml:Point>
<gml:name>urn:ioos:station:wmo:41001</gml:name>
<gml:pos>34.7 -72.73</gml:pos>
</gml:Point>
</gml:pointMembers>
</gml:MultiPoint>
</gml:location>
</gml:FeatureCollection>
</om:featureOfInterest>
<!-- =========================================================== -->
<!-- result -->
<!-- (THE "DATA" BLOCK) -->
<!-- =========================================================== -->
<om:result>
<!-- This block contains a SWE Data Record conforming to the -->
<!-- appropriate result block template in Milestone 1.0. -->
</om:result>
</om:Observation>
</om:member>
<om:member>
<!-- A different feature type may be returned in this member -->
</om:member>
</om:ObservationCollection>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Template document for a generic (independant of feature type) Describe Sensor Network -->
<!-- Each member system in the template includes: -->
<!-- Name & Description -->
<!-- Temporal & Spatial Bounds -->
<!-- Identifiers -->
<!-- Classifiers -->
<!-- Contacts -->
<!-- Components -->
<!-- -->
<!-- The SML document is designed to present useful metadata about the sensor network -->
<!-- sufficient to determine which additional descriptions or observations are needed. -->
<!-- -->
<sml:SensorML
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sensorML/1.0.1 http://schemas.opengis.net/sensorML/1.0.1/sensorML.xsd"
version="1.0.1">
<!-- SERVICE VERSION METADATA -->
<sml:capabilities name="ioosServiceMetadata">
<swe:SimpleDataRecord>
<gml:metaDataProperty xlink:title="ioosTemplateVersion" xlink:href="http://code.google.com/p/ioostech/source/browse/#svn/trunk/templates/Milestone1.0">
<gml:version>1.0</gml:version>
</gml:metaDataProperty>
</swe:SimpleDataRecord>
</sml:capabilities>
<sml:member>
<sml:System>
<gml:description>Collection of all station assets available via the NANOOS SOS service</gml:description>
<gml:name>urn:ioos:network:nanoos:all</gml:name>
<!-- Spatial bounds of the content described by this network -->
<gml:boundedBy>
<gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:lowerCorner>32.7 -75.0</gml:lowerCorner>
<gml:upperCorner>34.7 -72.0</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<!-- =============================================================== -->
<!-- IDENTIFIERS -->
<!-- The networkID, shortName and longName are manditory -->
<!-- list all that are appropriate -->
<!-- =============================================================== -->
<sml:identification>
<sml:IdentifierList>
<sml:identifier name="networkID">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/networkID">
<sml:value>urn:ioos:network:nanoos:all</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="shortName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/shortName">
<sml:value>NANOOS SOS station assets collection</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="longName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/longName">
<sml:value>urn:ioos:network:nanoos:all Collection of all station assets available via the NANOOS SOS service</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<!-- =============================================================== -->
<!-- CLASSIFIERS -->
<!-- List any classifiers that apply to this network offering -->
<!-- =============================================================== -->
<sml:classification>
<sml:ClassifierList>
<!-- List as many as needed to describe the content of the network offering -->
<sml:classifier name="publisher">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/publisher">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/organization"/>
<sml:value>NANOOS</sml:value>
</sml:Term>
</sml:classifier>
<!-- At least one parent network must reference an IOOS codespace and list the RA Acronym -->
<sml:classifier name="parentNetwork">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/parentNetwork">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/organization"/>
<sml:value>NANOOS</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="platformType">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/platformType">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/platform"/>
<sml:value>buoy</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="platformType">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/platformType">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/platform"/>
<sml:value>dock</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="platformType">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/platformType">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/platform"/>
<sml:value>boat</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="operatorSector">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/operatorSector">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/sector"/>
<sml:value>academic</sml:value>
</sml:Term>
</sml:classifier>
</sml:ClassifierList>
</sml:classification>
<!-- sml:validTime represents the date range of the validity of this document -->
<sml:validTime>
<gml:TimePeriod>
<gml:beginPosition>2008-04-28T08:00:00.000Z</gml:beginPosition>
<gml:endPosition>2012-12-27T19:00:00.000Z</gml:endPosition>
</gml:TimePeriod>
</sml:validTime>
<!-- =============================================================== -->
<!-- CONTACTS -->
<!-- List all publisher and operator contacts that apply to this -->
<!-- network offering. -->
<!-- Consider using xlink:href to external document for concision -->
<!-- =============================================================== -->
<sml:contact>
<sml:ContactList>
<sml:member xlink:role="http://mmisw.org/ont/ioos/definition/operator">
<sml:ResponsibleParty>
<sml:organizationName>PNW Buoys</sml:organizationName>
<sml:contactInfo>
<sml:address>
<sml:deliveryPoint>1007 Balch Blvd.</sml:deliveryPoint>
<!-- Optional: City; but strongly encouraged -->
<sml:city>Fremont</sml:city>
<sml:administrativeArea>WA</sml:administrativeArea>
<sml:postalCode>98195</sml:postalCode>
<!-- Required: country [Values: USA|<COUNTRY NAME>|NON-USA] -->
<sml:country>USA</sml:country>
<!-- Required: electronicMailAddress -->
<sml:electronicMailAddress>[email protected]</sml:electronicMailAddress>
</sml:address>
<!-- Optional: onlineResource; but strongly encouraged for operator -->
<sml:onlineResource xlink:href="http://pnw.buoyoperator.org"/>
</sml:contactInfo>
</sml:ResponsibleParty>
</sml:member>
<sml:member xlink:role="http://mmisw.org/ont/ioos/definition/publisher">
<sml:ResponsibleParty>
<sml:organizationName>NANOOS</sml:organizationName>
<sml:contactInfo>
<sml:address>
<sml:country>USA</sml:country>
<sml:electronicMailAddress>[email protected]</sml:electronicMailAddress>
</sml:address>
<sml:onlineResource xlink:href="http://nanoos.org"/>
</sml:contactInfo>
</sml:ResponsibleParty>
</sml:member>
</sml:ContactList>
</sml:contact>
<!-- =============================================================== -->
<!-- COMPONENTS -->
<!-- List all component platforms in the network offering -->
<!-- Manditory Elements: -->
<!-- identification - the names by with the platform is called -->
<!-- validTime - the time bounds of the platform data -->
<!-- location* - the location of the platform -->
<!-- outputs - the quantities observed by this platform -->
<!-- *location may be large but useful for platforms which move -->
<!-- =============================================================== -->
<sml:components>
<sml:ComponentList>
<sml:component name='wmo_41001'>
<sml:System>
<!-- Include name & description only if they have some useful human readable purpose -->
<!-- ==================================================================== -->
<!-- PLATFORM IDENTIFIERS -->
<!-- Gives ability to platforms by name -->
<!-- ==================================================================== -->
<sml:identification>
<sml:IdentifierList>
<!-- The 3 identifiers listed below are MANDATORY -->
<sml:identifier name="stationID">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/stationID">
<sml:value>urn:ioos:station:wmo:41001</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="shortName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/shortName">
<sml:value>WMO 41001 Buoy, Cape Hatteras</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="longName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/longName">
<sml:value>urn:ioos:station:wmo:41001 buoy station, 150 NM East of Cape HATTERAS</sml:value>
</sml:Term>
</sml:identifier>
<!-- Optional WMO and/or NDBC/CMAN? ID -->
<sml:identifier name="wmoID">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/wmoID">
<sml:value>41001</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<!-- Time range for this platform -->
<sml:validTime>
<gml:TimePeriod>
<gml:beginPosition>2008-04-28T08:00:00.000Z</gml:beginPosition>
<gml:endPosition>2012-12-27T19:00:00.000Z</gml:endPosition>
</gml:TimePeriod>
</sml:validTime>
<!-- =============================================================== -->
<!-- LOCATION -->
<!-- Station geographic location (lat & lon only, no z) -->
<!-- Always use epsg 4326. -->
<!-- For moving platforms use <gml:LineString> -->
<!-- =============================================================== -->
<sml:location>
<gml:Point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:pos>34.7 -72.73</gml:pos>
</gml:Point>
</sml:location>
<!-- =============================================================== -->
<!-- OUTPUTS -->
<!-- A list of the quantities observed by this platform -->
<!-- =============================================================== -->
<sml:outputs>
<sml:OutputList>
<!-- Use of title attribute for URN is a stretch -->
<sml:output name="Sea Water Temperature"
xlink:title="urn:ioos:station:wmo:41001:sea_water_temperature" >
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_temperature">
<gml:metaDataProperty >
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeries</gml:name>
</gml:metaDataProperty>
<swe:uom code="Cel" />
</swe:Quantity>
</sml:output>
<sml:output name="Dissolved Oxygen"
xlink:title="urn:ioos:station:wmo:41001:dissolved_oxygen">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/dissolved_oxygen">
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeries</gml:name>
</gml:metaDataProperty>
<swe:uom code="mg/L" />
</swe:Quantity>
</sml:output>
<sml:output name="direction_of_sea_water_velocity"
xlink:title="urn:ioos:station:wmo:41001:direction_of_sea_water_velocity">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/direction_of_sea_water_velocity">
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeriesProfile</gml:name>
</gml:metaDataProperty>
<swe:uom code="deg" />
</swe:Quantity>
</sml:output>
<sml:output name="sea_water_speed"
xlink:title="urn:ioos:station:wmo:41001:sea_water_speed">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_speed">
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeriesProfile</gml:name>
</gml:metaDataProperty>
<swe:uom code="cm/s" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
<!-- Compact form -->
<sml:component name='wmo_41002'>
<sml:System>
<sml:identification>
<sml:IdentifierList>
<!-- The 3 identifiers listed below are MANDATORY -->
<sml:identifier name="stationID">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/stationID">
<sml:value>urn:ioos:station:wmo:41002</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="shortName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/shortName">
<sml:value>WMO 41002 Buoy, Cape Hatteras</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="longName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/longName">
<sml:value>urn:ioos:station:wmo:41002 buoy station, 150 SE East of Cape HATTERAS</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<sml:validTime>
<gml:TimePeriod>
<gml:beginPosition>2008-04-28T08:00:00.000Z</gml:beginPosition>
<gml:endPosition>2012-12-27T19:00:00.000Z</gml:endPosition>
</gml:TimePeriod>
</sml:validTime>
<sml:location>
<gml:Point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:pos>34.7 -72.73</gml:pos>
</gml:Point>
</sml:location>
<sml:outputs>
<sml:OutputList>
<sml:output name="Sea Water Temperature"
xlink:title="urn:ioos:station:wmo:41002:sea_water_temperature" >
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_temperature">
<gml:metaDataProperty >
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeries</gml:name>
</gml:metaDataProperty>
<swe:uom code="Cel" />
</swe:Quantity>
</sml:output>
<sml:output name="Dissolved Oxygen"
xlink:title="urn:ioos:station:wmo:41002:dissolved_oxygen">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/dissolved_oxygen">
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeries</gml:name>
</gml:metaDataProperty>
<swe:uom code="mg/L" />
</swe:Quantity>
</sml:output>
<sml:output name="direction_of_sea_water_velocity"
xlink:title="urn:ioos:station:wmo:41002:direction_of_sea_water_velocity">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/direction_of_sea_water_velocity">
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeriesProfile</gml:name>
</gml:metaDataProperty>
<swe:uom code="deg" />
</swe:Quantity>
</sml:output>
<sml:output name="sea_water_speed"
xlink:title="urn:ioos:station:wmo:41002:sea_water_speed">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_speed">
<gml:metaDataProperty>
<gml:name codeSpace="http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.6/cf-conventions.html#discrete-sampling-geometries">timeSeriesProfile</gml:name>
</gml:metaDataProperty>
<swe:uom code="cm/s" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
</sml:ComponentList>
</sml:components>
</sml:System>
</sml:member>
<!-- No additional members are expected because SOS DescribeSensor only allows a request for a single procedure-->
</sml:SensorML>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Template document for a generic (independant of feature type) Describe Sensor Platform -->
<!-- -->
<!-- Since Milestone 1.0 really only addresses timeSeries and timeSeriesProfile, station -->
<!-- is the default platform. In Milestone1.0 everything included here should be formally -->
<!-- generalized to platform or this example should be broken into multiple platforms. -->
<!-- -->
<!-- -->
<sml:SensorML
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sensorML/1.0.1 http://schemas.opengis.net/sensorML/1.0.1/sensorML.xsd"
version="1.0.1">
<!-- SERVICE VERSION METADATA -->
<sml:capabilities name="ioosServiceMetadata">
<swe:SimpleDataRecord>
<gml:metaDataProperty xlink:title="ioosTemplateVersion" xlink:href="http://code.google.com/p/ioostech/source/browse/#svn%2Ftrunk%2Ftemplates%2FMilestone1.0">
<gml:version>1.0</gml:version>
</gml:metaDataProperty>
</swe:SimpleDataRecord>
</sml:capabilities>
<sml:member>
<sml:System>
<gml:description>Observations at urn:ioos:station:wmo:41001 buoy station,
150 NM East of Cape HATTERAS</gml:description>
<gml:name>urn:ioos:station:wmo:41001</gml:name>
<!-- ==================================================================== -->
<!-- PLATFORM IDENTIFIERS -->
<!-- ==================================================================== -->
<sml:identification>
<sml:IdentifierList>
<!-- The 3 identifiers listed below are MANDATORY -->
<sml:identifier name="stationID">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/stationID">
<sml:value>urn:ioos:station:wmo:41001</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="shortName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/shortName">
<sml:value>WMO 41001 Buoy, Cape Hatteras</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="longName">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/longName">
<sml:value>urn:ioos:station:wmo:41001 buoy station, 150 NM East of Cape HATTERAS</sml:value>
</sml:Term>
</sml:identifier>
<!-- Optional WMO and/or NDBC/CMAN? ID -->
<sml:identifier name="wmoID">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/wmoID">
<sml:value>41001</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<!-- ==================================================================== -->
<!-- PLATFORM CLASSIFIERS -->
<!-- Manditory classifiers for all platforms: -->
<!-- platformType -->
<!-- operatorSector -->
<!-- publisher -->
<!-- parentNetwork -->
<!-- List as many as needed for the platform -->
<!-- ==================================================================== -->
<sml:classification>
<sml:ClassifierList>
<!-- At least one parent network must reference an IOOS codespace and list the RA Acronym -->
<sml:classifier name="parentNetwork">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/parentNetwork">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/organization"/>
<sml:value>NANOOS</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="platformType">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/platformType">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/platform"/>
<sml:value>buoy</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="operatorSector">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/operatorSector">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/sector"/>
<sml:value>academic</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="publisher">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/publisher">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/organization"/>
<sml:value>NANOOS</sml:value>
</sml:Term>
</sml:classifier>
<sml:classifier name="sponsor">
<sml:Term definition="http://mmisw.org/ont/ioos/definition/sponsor">
<sml:codeSpace xlink:href="http://mmisw.org/ont/ioos/organization"/>
<sml:value>ACE</sml:value>
</sml:Term>
</sml:classifier>
</sml:ClassifierList>
</sml:classification>
<!-- sml:validTime represents the date range of the validity of this document -->
<sml:validTime>
<gml:TimePeriod>
<gml:beginPosition>2010-07-14T10:00:00.000Z</gml:beginPosition>
<gml:endPosition>2012-12-27T19:00:00.000Z</gml:endPosition>
</gml:TimePeriod>
</sml:validTime>
<!-- MANDATORY IF NETWORK OFFERINGS ARE AVAILABLE -->
<!-- COMMENT: SHANE'S PROPOSAL FOR NETWORK OFFERING, INSTEAD OF USING sml:classifier
possible alternate sml:capabilities name attribute values:
networkOfferings, parentProcedures, networkProcedures -->
<!-- ??????? WHY IS THIS HERE - Why is it useful? ?????? -->
<sml:capabilities name="networkProcedures">
<swe:SimpleDataRecord>
<gml:metaDataProperty xlink:href="urn:ioos:network:nanoos:all" />
</swe:SimpleDataRecord>
</sml:capabilities>
<!-- =============================================================== -->
<!-- CONTACTS -->
<!-- List all publisher and operator contacts that apply to this -->
<!-- platform -->
<!-- Mandatory contacts for all platforms: -->
<!-- operator -->
<!-- publisher -->
<!-- Consider using xlink:href to external document for concision -->
<!-- =============================================================== -->
<sml:contact>
<sml:ContactList>
<sml:member xlink:role="http://mmisw.org/ont/ioos/definition/operator">
<sml:ResponsibleParty>
<sml:organizationName>PNW Buoys</sml:organizationName>
<sml:contactInfo>
<sml:address>
<sml:deliveryPoint>1007 Balch Blvd.</sml:deliveryPoint>
<!-- Optional: City; but strongly encouraged -->
<sml:city>Fremont</sml:city>
<sml:administrativeArea>WA</sml:administrativeArea>
<sml:postalCode>98195</sml:postalCode>
<!-- Required: country [Values: USA|<COUNTRY NAME>|NON-USA] -->
<sml:country>USA</sml:country>
<!-- Required: electronicMailAddress -->
<sml:electronicMailAddress>[email protected]</sml:electronicMailAddress>
</sml:address>
<!-- Optional: onlineResource; but strongly encouraged for operator -->
<sml:onlineResource xlink:href="http://pnw.buoyoperator.org"/>
</sml:contactInfo>
</sml:ResponsibleParty>
</sml:member>
<sml:member xlink:role="http://mmisw.org/ont/ioos/definition/publisher">
<sml:ResponsibleParty>
<sml:organizationName>NANOOS</sml:organizationName>
<sml:contactInfo>
<sml:address>
<sml:country>USA</sml:country>
<sml:electronicMailAddress>[email protected]</sml:electronicMailAddress>
</sml:address>
<sml:onlineResource xlink:href="http://nanoos.org"/>
</sml:contactInfo>
</sml:ResponsibleParty>
</sml:member>
</sml:ContactList>
</sml:contact>
<!-- =============================================================== -->
<!-- DOCUMENTATION (Optional: experimental in Milestone1.0) -->
<!-- External resources for human consumption about this platform -->
<!-- and the observation data it produces -->
<!-- =============================================================== -->
<sml:documentation>
<sml:DocumentList>
<sml:member name="qc" xlink:arcrole="qualityControlDocument">
<sml:Document>
<gml:description>Handbook of Automated Data Quality Control Checks and Procedures, National Data Buoy Center, August 2009</gml:description>
<sml:format>pdf</sml:format>
<sml:onlineResource xlink:href="http://www.ndbc.noaa.gov/NDBCHandbookofAutomatedDataQualityControl2009.pdf"/>
</sml:Document>
</sml:member>
<sml:member name="wp1" xlink:arcrole="urn:ogc:def:role:webPage">
<sml:Document>
<gml:description>Station web page from provider</gml:description>
<sml:format>text/html</sml:format>
<sml:onlineResource xlink:href="STATION_WEBPAGE"/>
</sml:Document>
</sml:member>
<sml:member name="wp2" xlink:arcrole="urn:ogc:def:role:webPage">
<sml:Document>
<gml:description>Station web page from operator</gml:description>
<sml:format>text/html</sml:format>
<sml:onlineResource xlink:href="STATION_WEBPAGE"/>
</sml:Document>
</sml:member>
</sml:DocumentList>
</sml:documentation>
<!-- =============================================================== -->
<!-- HISTORY (Optional: experimental in Milestone1.0) -->
<!-- Events and status changes of the platform such as deployment -->
<!-- and recovery -->
<!-- =============================================================== -->
<sml:history>
<sml:EventList>
<sml:member name="deployment_start">
<sml:Event>
<sml:date>2010-01-12</sml:date>
<gml:description>Deployment start event</gml:description>
<sml:documentation xlink:href="http://sdftest.ndbc.noaa.gov/sos/server.php?service=SOS&amp;request=DescribeSensor&amp;version=1.0.0&amp;outputformat=text/xml;subtype=&quot;sensorML/1.0.1&quot;&amp;procedure=urn:ioos:station:wmo:41001:20100112"/>
</sml:Event>
</sml:member>
<sml:member name="deployment_stop">
<sml:Event>
<sml:date>2011-02-06</sml:date>
<gml:description>Deployment stop event</gml:description>
<sml:documentation xlink:href="http://sdftest.ndbc.noaa.gov/sos/server.php?service=SOS&amp;request=DescribeSensor&amp;version=1.0.0&amp;outputformat=text/xml;subtype=&quot;sensorML/1.0.1&quot;&amp;procedure=urn:ioos:station:wmo:41001:20100112"/>
</sml:Event>
</sml:member>
<sml:member name="deployment_start">
<sml:Event>
<sml:date>2011-02-07</sml:date>
<gml:description>Deployment start event</gml:description>
<sml:documentation xlink:href="http://sdftest.ndbc.noaa.gov/sos/server.php?service=SOS&amp;request=DescribeSensor&amp;version=1.0.0&amp;outputformat=text/xml;subtype=&quot;sensorML/1.0.1&quot;&amp;procedure=urn:ioos:station:wmo:41001:20110207"/>
</sml:Event>
</sml:member>
</sml:EventList>
</sml:history>
<!-- =============================================================== -->
<!-- LOCATION -->
<!-- Station geographic location (lat & lon only, no z) -->
<!-- Always use epsg 4326. -->
<!-- For moving platforms use <gml:LineString> -->
<!-- =============================================================== -->
<sml:location>
<gml:Point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:pos>34.7 -72.73</gml:pos>
</gml:Point>
</sml:location>
<!-- =============================================================== -->
<!-- COMPONENTS -->
<!-- List all component platforms in the network offering -->
<!-- Manditory Elements: -->
<!-- identification - the names by with the platform is called -->
<!-- validTime - the time bounds of the platform data -->
<!-- location* - the location of the platform -->
<!-- outputs - the quantities observed by this platform -->
<!-- *location may be large but useful for platforms which move -->
<!-- =============================================================== -->
<sml:components>
<sml:ComponentList>
<!-- name should be a human readable label -->
<sml:component name="WatertempSensor1">
<sml:System >
<!-- Description is strongly suggested, but if it will not be useful omit it. -->
<gml:description>Surface water temperature sensor on WMO platform 41001</gml:description>
<sml:identification xlink:href="urn:ioos:sensor:wmo:41001:watertemp1"/>
<sml:documentation xlink:href="http://sdftest.ndbc.noaa.gov/sos/server.php?service=SOS&amp;request=DescribeSensor&amp;version=1.0.0&amp;outputformat=text/xml;subtype=&quot;sensorML/1.0.1&quot;&amp;procedure=urn:ioos:sensor:wmo:41001:watertemp1"/>
<sml:outputs>
<sml:OutputList>
<sml:output name="Water Temperature">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_temperature">
<swe:uom code="degC" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
<sml:component name="Sensor ct1">
<sml:System gml:id="sensor-ct1">
<gml:description/>
<sml:identification xlink:href="urn:ioos:sensor:wmo:41001:ct1"/>
<sml:documentation xlink:href="http://sdftest.ndbc.noaa.gov/sos/server.php?service=SOS&amp;request=DescribeSensor&amp;version=1.0.0&amp;outputformat=text/xml;subtype=&quot;sensorML/1.0.1&quot;&amp;procedure=urn:ioos:sensor:wmo:41001:ct1"/>
<sml:outputs>
<sml:OutputList>
<sml:output name="Water Temperature">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_temperature">
<swe:uom code="degC" />
</swe:Quantity>
</sml:output>
<sml:output name="Salinity">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_salinity">
<swe:uom code="PSU" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
<sml:component name="Sensor baro1">
<sml:System>
<gml:description/>
<sml:identification xlink:href="urn:ioos:sensor:wmo:41001:baro1"/>
<sml:documentation xlink:href="http://sdftest.ndbc.noaa.gov/sos/server.php?service=SOS&amp;request=DescribeSensor&amp;version=1.0.0&amp;outputformat=text/xml;subtype=&quot;sensorML/1.0.1&quot;&amp;procedure=urn:ioos:sensor:wmo:41001:baro1"/>
<sml:outputs>
<sml:OutputList>
<sml:output name="Barometric Pressure">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/air_pressure">
<swe:uom code="mb" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
<sml:component name="Sensor airtemp1">
<sml:System gml:id="sensor-airtemp1">
<gml:description/>
<sml:identification xlink:href="urn:ioos:sensor:wmo:41001:airtemp1"/>
<sml:outputs>
<sml:OutputList>
<sml:output name="Air Temperature">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/air_temperature">
<swe:uom code="degC" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
</sml:ComponentList>
</sml:components>
<!-- ============================================================================= -->
</sml:System>
</sml:member>
</sml:SensorML>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Template Document for a generic (independant of feature type) Get Capabilites -->
<!-- -->
<!-- Template includes the following required metadata elements: -->
<!-- ServiceIdentification -->
<!-- ServiceProvider -->
<!-- OperationMetadata -->
<!-- Contents - specifically the network offerings-->
<!-- -->
<sos:Capabilities
xmlns:sos="http://www.opengis.net/sos/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:om="http://www.opengis.net/om/1.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sos/1.0
http://schemas.opengis.net/sos/1.0.0/sosAll.xsd" version="1.0.0">
<ows:ServiceIdentification>
<ows:Title>TITLE</ows:Title>
<!-- Note to implementer: if any metadata value is missing for a data source use "UNKNOWN" -->
<!-- Missing values should be logged and reported so that the provider fix it. -->
<ows:Abstract>ABSTRACT</ows:Abstract>
<ows:Keywords>
<ows:Keyword>KEYWORD 1</ows:Keyword>
<ows:Keyword>KEYWORD 2</ows:Keyword>
</ows:Keywords>
<ows:ServiceType codeSpace="http://opengeospatial.net">OGC:SOS</ows:ServiceType>
<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
<ows:Fees>NONE</ows:Fees>
<ows:AccessConstraints>NONE</ows:AccessConstraints>
</ows:ServiceIdentification>
<ows:ServiceProvider>
<ows:ProviderName>PROVIDER</ows:ProviderName>
<ows:ProviderSite xlink:href="PROVIDER_LINK"/>
<ows:ServiceContact>
<ows:IndividualName>CONTACT NAME</ows:IndividualName>
<ows:ContactInfo>
<ows:Phone>
<ows:Voice>PHONE</ows:Voice>
</ows:Phone>
<ows:Address>
<ows:DeliveryPoint>foo</ows:DeliveryPoint>
<ows:City>foo</ows:City>
<ows:AdministrativeArea>foo</ows:AdministrativeArea>
<ows:PostalCode>foo</ows:PostalCode>
<ows:Country>foo</ows:Country>
<ows:ElectronicMailAddress>foo@bar</ows:ElectronicMailAddress>
</ows:Address>
</ows:ContactInfo>
</ows:ServiceContact>
</ows:ServiceProvider>
<ows:OperationsMetadata>
<ows:Operation name="GetCapabilities">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="SOS_SERVER"/>
<ows:Post xlink:href="SOS_SERVER"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="Sections">
<ows:AllowedValues>
<ows:Value>ServiceIdentification</ows:Value>
<ows:Value>ServiceProvider</ows:Value>
<ows:Value>OperationsMetadata</ows:Value>
<ows:Value>Contents</ows:Value>
<ows:Value>All</ows:Value>
</ows:AllowedValues>
</ows:Parameter>
</ows:Operation>
<ows:Operation name="GetObservation">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="SOS_SERVER"/>
<ows:Post xlink:href="SOS_SERVER"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="observedProperty">
<ows:AllowedValues>
<ows:Value>VALUE</ows:Value>
<ows:Value>COMPOSITE_VALUE</ows:Value>
</ows:AllowedValues>
</ows:Parameter>
</ows:Operation>
<ows:Operation name="DescribeSensor">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="SOS_SERVER"/>
<ows:Post xlink:href="SOS_SERVER"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="outputFormat">
<ows:AllowedValues>
<ows:Value>text/xml;subtype="sensorML/1.0.0"</ows:Value>
</ows:AllowedValues>
</ows:Parameter>
</ows:Operation>
<ows:Parameter name="service">
<ows:AllowedValues>
<ows:Value>SOS</ows:Value>
</ows:AllowedValues>
</ows:Parameter>
<ows:Parameter name="version">
<ows:AllowedValues>
<ows:Value>1.0.0</ows:Value>
</ows:AllowedValues>
</ows:Parameter>
<ows:ExtendedCapabilities>
<gml:metaDataProperty xlink:title="ioosTemplateVersion"
xlink:href="http://code.google.com/p/ioostech/source/browse/#svn%2Ftrunk%2Ftemplates%2FMilestone1.0">
<gml:version>1.0</gml:version>
</gml:metaDataProperty>
</ows:ExtendedCapabilities>
</ows:OperationsMetadata>
<sos:Contents>
<sos:ObservationOfferingList>
<!-- NETWORK_ALL -->
<sos:ObservationOffering gml:id="network-all">
<gml:description>All stations</gml:description>
<gml:name>urn:ioos:network:AUTHORITY:all</gml:name>
<gml:srsName>EPSG:4326</gml:srsName>
<!-- Always use EPSG:4326 as CRS for 2D coordinates -->
<gml:boundedBy>
<gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:lowerCorner>-90 -180</gml:lowerCorner>
<gml:upperCorner>90 180</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<sos:time>
<gml:TimePeriod>
<!-- Time period allows a variety of fixed (ISO 8601) and evaluated (now) expressions -->
<gml:beginPosition>BEGINNING</gml:beginPosition>
<gml:endPosition indeterminatePosition="now"/>
</gml:TimePeriod>
</sos:time>
<sos:procedure xlink:href="urn:ioos:network:AUTHORITY:all"/>
<sos:observedProperty xlink:href="http://mmisw.org/ont/cf/parameter/VALUE"/>
<sos:observedProperty xlink:href="http://mmisw.org/ont/cf/parameter/COMPOSITE_VALUE"/>
<sos:featureOfInterest xlink:href="FEATURE"/>
<sos:responseFormat>text/xml;schema="om/1.0.0"</sos:responseFormat>
<sos:responseFormat>text/csv</sos:responseFormat>
<sos:resultModel>om:ObservationCollection</sos:resultModel>
<sos:responseMode>inline</sos:responseMode>
</sos:ObservationOffering>
<!-- NETWORK_FAVORITES -->
<!-- It is not scalable to list individual platforms or sensors here however -->
<!-- listing additional logical groupings by provide, region, measurement type etc -->
<!-- is encouraged! -->
<sos:ObservationOffering gml:id="network-favorites">
<gml:description>All stations</gml:description>
<gml:name>urn:ioos:network:AUTHORITY:favorites</gml:name>
<gml:srsName>EPSG:4326</gml:srsName>
<!-- Always use EPSG:4326 as CRS for 2D coordinates -->
<gml:boundedBy>
<gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:lowerCorner>30 -130</gml:lowerCorner>
<gml:upperCorner>45 -110</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<sos:time>
<gml:TimePeriod>
<!-- Time period allows a variety of fixed (ISO 8601) and evaluated (now) expressions -->
<gml:beginPosition>BEGINNING</gml:beginPosition>
<gml:endPosition indeterminatePosition="now"/>
</gml:TimePeriod>
</sos:time>
<sos:procedure xlink:href="urn:ioos:network:AUTHORITY:favorites"/>
<sos:observedProperty xlink:href="http://mmisw.org/ont/cf/parameter/VALUE"/>
<sos:observedProperty xlink:href="http://mmisw.org/ont/cf/parameter/COMPOSITE_VALUE"/>
<sos:featureOfInterest xlink:href="FEATURE"/>
<sos:responseFormat>text/xml;schema="om/1.0.0"</sos:responseFormat>
<sos:responseFormat>text/csv</sos:responseFormat>
<sos:resultModel>om:ObservationCollection</sos:resultModel>
<sos:responseMode>inline</sos:responseMode>
</sos:ObservationOffering>
</sos:ObservationOfferingList>
</sos:Contents>
</sos:Capabilities>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment