NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/q2o/sos_adcp/trunk/sos_adcp/TimeSeriesChain.xml

Revision 424 (checked in by tcook, 13 years ago)

Multiple updates for IOOS DIF demo

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <sml:SensorML version="1.0.1" xmlns:gml="http://www.opengis.net/gml" xmlns:sml="http://www.opengis.net/sensorML/1.0.1" 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">
3     <sml:member>
4         <sml:ProcessChain gml:id="TimeSeriesChain">
5             <gml:description>Process Chain for MVCO TimeSeries data.  Can be used for both Velocity and pressure, depending on inputs</gml:description>
6             <gml:name>TimeSeriesChain</gml:name>
7             <sml:classification>
8                 <sml:ClassifierList>
9                     <sml:classifier name="processType">
10                         <sml:Term definition="http://mmisw.org/ont/MVCO/...">
11                             <sml:codeSpace xlink:href="http://mmisw.org/ont/MVCO/..."/>
12                             <sml:value>http://mmisw.org/ont/MVCO/...</sml:value>
13                         </sml:Term>
14                     </sml:classifier>
15                 </sml:ClassifierList>
16             </sml:classification>
17            
18             <sml:inputs>
19                 <sml:InputList>
20                     <sml:input name="timeSeriesData">
21                         <swe:DataArray>
22                             <swe:elementCount>
23                                 <swe:Count/>
24                             </swe:elementCount>
25                             <swe:elementType name="data"> 
26                                 <swe:Quantity/>
27                             </swe:elementType>
28                         </swe:DataArray>
29                     </sml:input>
30                 </sml:InputList>
31             </sml:inputs>
32            
33             <sml:outputs>
34                 <sml:OutputList>
35                     <sml:output name="cleanedTimeSeries">
36                         <swe:DataArray>
37                             <swe:elementCount>
38                                 <swe:Count/>
39                             </swe:elementCount>
40                             <swe:elementType name="data">
41                                 <swe:Quantity/>
42                             </swe:elementType>
43                         </swe:DataArray>
44                     </sml:output>
45                     <!-- agFlag can either be pressure or velocity -->
46                     <sml:output name="aggregateFlag">
47                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/aggregateFlag">
48                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
49                         </swe:Category>
50                     </sml:output>
51                 </sml:OutputList>
52             </sml:outputs>
53            
54             <sml:parameters>
55                 <!-- 5 parameter groups for the TimeSeriesChain -->
56                 <sml:ParameterList>
57                     <sml:parameter name="dataGapParams">
58                         <swe:DataRecord>
59                             <swe:field name="maxGap">
60                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/numberOfPoints"/>
61                             </swe:field>
62                             <swe:field name="maxNumberOfGaps">
63                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/numberOfGaps"/>
64                             </swe:field>
65                         </swe:DataRecord>
66                     </sml:parameter>
67                    
68                     <sml:parameter name="rangeParams">
69                         <swe:DataRecord>
70                             <swe:field name="minimum">
71                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimum"/>
72                             </swe:field>
73                             <swe:field name="maximum">
74                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/maximum"/>
75                             </swe:field>
76                         </swe:DataRecord>
77                     </sml:parameter>
78                    
79                     <sml:parameter name="spikeParams">
80                         <swe:DataRecord>
81                             <swe:field name="numIterations">
82                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/iterations"/>
83                             </swe:field>
84                             <swe:field name="numStdDeviations">  <!-- Ch. 4 has this as tolerance, check with Janet -->
85                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/numberOfSigma"/>                           
86                             </swe:field>
87                         </swe:DataRecord>
88                     </sml:parameter>
89                    
90                     <sml:parameter name="minimumPercent">
91                         <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimumPercentage"/>
92                     </sml:parameter>
93                     <sml:parameter name="InterpParams">
94                         <!--  TODO  -->
95                     </sml:parameter>
96                 </sml:ParameterList>
97             </sml:parameters>
98            
99             <sml:components>
100                 <sml:ComponentList>
101                     <sml:component name="MinRecordLengthTest" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/MinThresholdTest.xml"/>
102                     <sml:component name="DataGapTest" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/DataGapTest.xml"/>
103                     <sml:component name="RangeSeriesTest" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/RangeSeriesTest.xml"/>
104                     <sml:component name="SpikeTest" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/SpikeTest.xml"/>
105                     <sml:component name="PercentPassed" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/PointsGoodTest.xml"/>
106                     <sml:component name="Interpolation" xlink:href="..."/> <!-- TODO -->
107                 </sml:ComponentList>
108             </sml:components>
109            
110             <sml:connections>
111                 <sml:ConnectionList>
112                     <!-- add params!!! -->
113                     <sml:connection>
114                         <sml:Link>
115                             <sml:source ref="this/inputs/timeSeriesData"/>
116                             <sml:destination ref="MinRecordLengthTest/inputs/timeSeriesData"/>
117                         </sml:Link>
118                     </sml:connection>
119                     <sml:connection>
120                         <sml:Link>
121                             <sml:source ref="this/parameters/timeContinuityParams/numberOfPoints"/>
122                             <sml:destination ref="MinRecordLengthTest/parameters/numberOfPoints"/>
123                         </sml:Link>
124                     </sml:connection>
125                     <sml:connection>
126                         <sml:Link>
127                             <sml:source ref="MinRecordLengthTest/outputs/timeSeriesData"/>
128                             <sml:destination ref="DataGapTest/inputs/timeSeriesData"/>
129                         </sml:Link>
130                     </sml:connection>
131                     <sml:connection>
132                         <sml:Link>
133                             <sml:source ref="this/parameters/dataGapParams/maxGap"/>
134                             <sml:destination ref="DataGapTest/parameters/maxGap"/>
135                         </sml:Link>
136                     </sml:connection>
137                     <sml:connection>
138                         <sml:Link>
139                             <sml:source ref="this/parameters/dataGapParams/maxNumberOfGaps"/>
140                             <sml:destination ref="DataGapTest/parameters/maxNumberOfGaps"/>
141                         </sml:Link>
142                     </sml:connection>
143                     <sml:connection>
144                         <sml:Link>
145                             <sml:source ref="DataGapTest/outputs/timeSeriesData"/>
146                             <sml:destination ref="RangeSeriesTest/inputs/timeSeriesData"/>
147                         </sml:Link>
148                     </sml:connection>
149                     <sml:connection>
150                         <sml:Link>
151                             <sml:source ref="this/parameters/rangeParams/minimum"/>
152                             <sml:destination ref="RangeSeriesTest/parameters/minimum"/>
153                         </sml:Link>
154                     </sml:connection>
155                     <sml:connection>
156                         <sml:Link>
157                             <sml:source ref="this/parameters/rangeParams/maximum"/>
158                             <sml:destination ref="RangeSeriesTest/parameters/maximum"/>
159                         </sml:Link>
160                     </sml:connection>
161                     <sml:connection>
162                         <sml:Link>
163                             <sml:source ref="RangeSeriesTest/outputs/timeSeriesData"/>
164                             <sml:destination ref="SpikeTest/inputs/timeSeriesData"/>
165                         </sml:Link>
166                     </sml:connection>
167                     <sml:connection>
168                         <sml:Link>
169                             <sml:source ref="this/parameters/spikeParams/iterations"/>
170                             <sml:destination ref="SpikeTest/parameters/iterations"/>
171                         </sml:Link>
172                     </sml:connection>
173                     <sml:connection>
174                         <sml:Link>
175                             <sml:source ref="this/parameters/spikeParams/numStdDeviations"/>
176                             <sml:destination ref="SpikeTest/parameters/numStdDeviations"/>
177                         </sml:Link>
178                     </sml:connection>
179                     <sml:connection>
180                         <sml:Link>
181                             <sml:source ref="SpikeTest/outputs/flaggedTimeSeriesData"/>
182                             <sml:destination ref="PercentPassed/inputs/flaggedTimeSeriesData"/>
183                         </sml:Link>
184                     </sml:connection>
185                     <sml:connection>
186                         <sml:Link>
187                             <sml:source ref="this/parameters/minimumPercent"/>
188                             <sml:destination ref="PercentPassed/parameters/minimumPercent"/>
189                         </sml:Link>
190                     </sml:connection>
191                     <sml:connection>
192                         <sml:Link>
193                             <sml:source ref="PercentPassed/outputs/flaggedTimeSeriesDataray"/>
194                             <sml:destination ref="Interpolation/inputs/cleanedTimeSeries"/>
195                         </sml:Link>
196                     </sml:connection>
197                     <sml:connection>
198                         <sml:Link>
199                             <sml:source ref="Interpolation/outputs/cleanedTimeSeries"/>
200                             <sml:destination ref="this/outputs/cleanedTimeSeries"/>
201                         </sml:Link>
202                     </sml:connection>
203                 </sml:ConnectionList>
204             </sml:connections>
205         </sml:ProcessChain>
206        
207     </sml:member>
208 </sml:SensorML>
Note: See TracBrowser for help on using the browser.