valentinedwv / ioostech

Automatically exported from code.google.com/p/ioostech
0 stars 0 forks source link

DataRecord definition and IOOS vocabulary for definition of SOS SWE element types #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In SWE-TimeseriesProfile template, all <swe2:DataRecord> elements but one 
contain definition attributes as required by IOOS Convention. That single 
DataRecord that lacks definition is the one enclosed into profileBins 
DataArray, and elementType name is 'profileBinDescription':

<swe2:field name="profileBins">
  <swe2:DataArray definition="http://mmisw.org/ont/ioos/swe_element_type/profileBins">
     <swe2:description>Array of synchronous observation locations in a profile</swe2:description>
     <swe2:elementCount>
         <swe2:Count>
             <swe2:value>5</swe2:value>
         </swe2:Count>
     </swe2:elementCount>
     <swe2:elementType name="profileBinDescription">
         <swe2:DataRecord>
             <swe2:field name="binCenter"/>
             <swe2:field name="binEdges"/>
         </swe2:DataRecord>
     </swe2:elementType>

It seems that there are 2 options of adding the definition to that DataRecord:

1. re-use the DataArray definition, i.e.

<swe2:elementType name="profileBinDescription">
  <swe2:DataRecord definition="http://mmisw.org/ont/ioos/swe_element_type/profileBins">

2. put a new record in the vocabulary for 'profileBinDescription', and make a 
corresponding definition, i.e.

<swe2:elementType name="profileBinDescription">
  <swe2:DataRecord definition="http://mmisw.org/ont/ioos/swe_element_type/profileBinDescription">

Which way should we go? Option 1 seems to be kind of quick and dirty 
corner-cutting, while option 2 may take too much updates.

Original issue reported on code.google.com by abir...@gmail.com on 3 Jun 2014 at 4:10

GoogleCodeExporter commented 8 years ago

Original comment by abir...@gmail.com on 5 Jun 2014 at 4:42

GoogleCodeExporter commented 8 years ago
The issue was tracked on GitHub, fixed, and closed. See 
https://github.com/asascience-open/ncSOS/issues/137 for details. I am closing 
the issue here as well.

Original comment by abir...@gmail.com on 8 Aug 2014 at 5:02