Skip to content

Instantly share code, notes, and snippets.

@dstuebe
Created May 12, 2013 00:32
Show Gist options
  • Save dstuebe/5561927 to your computer and use it in GitHub Desktop.
Save dstuebe/5561927 to your computer and use it in GitHub Desktop.
components of DescribeSensor-Network
<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: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>
<sml:output name="Sea Water Temperature">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_temperature"/>
</sml:output>
<sml:output name="Dissolved Oxygen">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/dissolved_oxygen"/>
</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: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">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/sea_water_temperature"/>
</sml:output>
<sml:output name="Dissolved Oxygen">
<swe:Quantity definition="http://mmisw.org/ont/cf/parameter/dissolved_oxygen"/>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:component>
</sml:ComponentList>
</sml:components>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment