Skip to content

Instantly share code, notes, and snippets.

@srstsavage
Forked from dstuebe/components.xml
Last active December 17, 2015 06:28
Show Gist options
  • Save srstsavage/5565241 to your computer and use it in GitHub Desktop.
Save srstsavage/5565241 to your computer and use it in GitHub Desktop.
<sml:components>
<sml:ComponentList>
<sml:component name='wmo_41001'>
<sml:System>
<!-- ==================================================================== -->
<!-- PLATFORM IDENTIFIERS -->
<!-- Gives ability to platforms by name -->
<!-- ==================================================================== -->
<sml:identification>
<sml:IdentifierList>
<!-- The two 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>
<!-- ====================================================================== -->
<!-- OBSERVATION TIME RANGE -->
<!-- Indicates the minimum and maximum observation times for this procedure -->
<!-- ====================================================================== -->
<sml:capabilities name="observationTimeRange">
<swe:DataRecord>
<swe:field name="observationTimeRange">
<swe:TimeRange definition="DEFINE_ME_http://mmisw.org/ont/ioos/definition/observationTimeRange">
<swe:value>2008-04-28T08:00:00.000Z 2012-12-27T19:00:00.000Z</swe:value>
</swe:TimeRange>
</swe:field>
</swe:DataRecord>
</sml:capabilities>
<!-- =============================================================== -->
<!-- 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>
<sml:component name='wmo_41002'>
<sml:System>
<sml:identification>
<sml:IdentifierList>
<!-- The two 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:capabilities name="observationTimeRange">
<swe:DataRecord>
<swe:field name="observationTimeRange">
<swe:TimeRange definition="DEFINE_ME_http://mmisw.org/ont/ioos/definition/observationTimeRange">
<swe:value>2006-02-12T00:00:00.000Z 2013-04-21T00:00:00.000Z</swe:value>
</swe:TimeRange>
</swe:field>
</swe:DataRecord>
</sml:capabilities>
<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