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

root/q2o/sos_adcp/trunk/sos_adcp/Velocity_QC_Chain_Values.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 xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xmlns:swe="http://www.opengis.net/swe/1.0.1" xmlns:gml="http://www.opengis.net/gml"
5     xmlns:xlink="http://www.w3.org/1999/xlink"
6     xsi:schemaLocation="http://www.opengis.net/sensorML/1.0.1 http://schemas.opengis.net/sensorML/1.0.1/sensorML.xsd"
7     version="1.0.1">
8     <sml:member>
9         <sml:ProcessChain gml:id="Vel_QC_Chain">
10             <gml:description>General Process Chain for ADCP data</gml:description>
11             <gml:name>Velocity QC Chain</gml:name>
12             <sml:classification>
13                 <sml:ClassifierList>
14                     <sml:classifier name="processType">
15                         <sml:Term definition="http://mmisw.org/ont/MVCO/test/QcCategory">
16                             <sml:codeSpace xlink:href="http://mmisw.org/ont/MVCO/test/QcCategory"/>
17                             <sml:value>http://mmisw.org/ont/MVCO/process/Velocity_QC_Chain</sml:value>
18                         </sml:Term>
19                     </sml:classifier>
20                 </sml:ClassifierList>
21             </sml:classification>
22            
23             <sml:inputs>
24                 <sml:InputList>
25                     <sml:input name="velocityTimeSeries">
26                         <swe:DataArray>
27                             <swe:elementCount>
28                                 <swe:Count>
29                                     <swe:value>2400</swe:value>
30                                 </swe:Count>
31                             </swe:elementCount>
32                             <swe:elementType name="Velocity">
33                                 <swe:Quantity definition="urn:ogc:property:OGC:velocity">
34                                     <swe:uom code="cm/s"></swe:uom>
35                                 </swe:Quantity>
36                             </swe:elementType>
37                         </swe:DataArray>
38                     </sml:input>
39                     <sml:input name="intensityTimeSeries">
40                         <swe:DataArray>
41                             <swe:elementCount>
42                                 <swe:Count>
43                                     <swe:value>2400</swe:value>
44                                 </swe:Count>
45                             </swe:elementCount>
46                             <swe:elementType name="beamIntensity">
47                                 <swe:Quantity definition="...">
48                                     <swe:uom code="..."></swe:uom>
49                                 </swe:Quantity>
50                             </swe:elementType>
51                         </swe:DataArray>
52                     </sml:input>
53                     <sml:input name="correlationCoeffTimeSeries">
54                         <swe:DataArray>
55                             <swe:elementCount>
56                                 <swe:Count>
57                                     <swe:value>2400</swe:value>
58                                 </swe:Count>
59                             </swe:elementCount>
60                             <swe:elementType name="correlationCoeff">
61                                 <swe:Quantity definition="..."/>
62                             </swe:elementType>
63                         </swe:DataArray>
64                     </sml:input>
65                 </sml:InputList>
66             </sml:inputs>
67            
68             <sml:outputs>
69                 <sml:OutputList>
70                     <sml:output name="interpolatedVelocityTimeSeries">
71                         <swe:DataArray>
72                             <swe:elementCount>
73                                 <swe:Count>
74                                     <swe:value>2400</swe:value>
75                                 </swe:Count>
76                             </swe:elementCount>
77                             <swe:elementType name="Velocity">
78                                 <swe:Quantity definition="urn:ogc:property:OGC:velocity">
79                                     <swe:uom code="cm/s"></swe:uom>
80                                 </swe:Quantity>
81                             </swe:elementType>
82                         </swe:DataArray>
83                     </sml:output>
84                     <sml:output name="topBinHeight">
85                         <swe:Quantity definition="http://mmisw.org/ont/mvco/properties/topBinHeight">
86                             <swe:uom code="cm"/>
87                         </swe:Quantity>
88                     </sml:output>
89                     <sml:output name="aggregateVelocityFlag">
90                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/aggregateVelocityFlag">
91                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
92                         </swe:Category>
93                     </sml:output>
94                     <sml:output name="echoIntensityFlag">
95                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/echoIntensityFlag">
96                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
97                         </swe:Category>
98                     </sml:output>
99                     <sml:output name="cMFlag">
100                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/cMFlag">
101                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
102                         </swe:Category>
103                     </sml:output>
104                    
105                 </sml:OutputList>
106             </sml:outputs>
107            
108             <sml:parameters>
109                 <sml:ParameterList>
110                     <sml:parameter name="minIntensity">
111                         <swe:Quantity definition="urn:_:::beamIntensity">
112                             <swe:value>4.44</swe:value>
113                         </swe:Quantity>
114                     </sml:parameter>
115                     <sml:parameter name="minCorrelationCoeff"> <!-- This is a precentage BAD, must be less than 12% -->
116                         <swe:DataRecord>
117                             <swe:field name="minPercentage">
118                                 <swe:Quantity>
119                                     <swe:uom code="%"/>
120                                     <swe:value>0.0</swe:value>
121                                 </swe:Quantity>
122                             </swe:field>
123                             <swe:field name="maxPercentage">
124                                 <swe:Quantity>
125                                     <swe:uom code="%"/>
126                                     <swe:value>12.0</swe:value>
127                                 </swe:Quantity>   
128                             </swe:field>
129                         </swe:DataRecord>
130                     </sml:parameter>
131                     <!-- Remainder of outputs are identical to PressureSeriesParams, and this may be expressable in a more compact form -->
132                     <sml:parameter name="timeContinuityParams">
133                         <swe:DataRecord>
134                             <swe:field name="frequency">
135                                 <swe:Quantity definition="...">
136                                     <swe:uom code="mm"/>
137                                     <swe:value>4.44</swe:value>
138                                 </swe:Quantity>
139                             </swe:field>
140                             <swe:field name="maxGap">
141                                 <swe:Quantity definition="...">
142                                     <swe:uom code="s"/>
143                                     <swe:value>4.44</swe:value>
144                                 </swe:Quantity>
145                             </swe:field>
146                             <swe:field name="startTime">
147                                 <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
148                             </swe:field>
149                             <swe:field name="endTime">
150                                 <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
151                             </swe:field>
152                         </swe:DataRecord>
153                     </sml:parameter>
154                    
155                     <sml:parameter name="rangeParams">
156                         <swe:DataRecord>
157                             <swe:field name="minimum">
158                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimum">
159                                     <swe:uom code="m"></swe:uom>
160                                     <swe:value>9.0</swe:value>
161                                 </swe:Quantity>                           
162                             </swe:field>
163                             <swe:field name="maximum">
164                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/maximum">
165                                     <swe:uom code="m"></swe:uom>
166                                     <swe:value>12.0</swe:value>
167                                 </swe:Quantity>
168                             </swe:field>
169                         </swe:DataRecord>
170                     </sml:parameter>
171                    
172                     <sml:parameter name="spikeParams">
173                         <swe:DataRecord>
174                             <swe:field name="numIterations">
175                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/iterations">
176                                     <swe:value>4</swe:value>
177                                 </swe:Count>
178                             </swe:field>
179                             <swe:field name="numStdDeviations">
180                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/numberOfSigma">
181                                     <swe:value>3</swe:value>
182                                 </swe:Count>
183                             </swe:field>
184                         </swe:DataRecord>
185                     </sml:parameter>
186                    
187                    
188                     <sml:parameter name="minimumPercent">
189                         <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimumPercentage"/>
190                     </sml:parameter>
191                    
192                     <sml:parameter name="InterpParams"/> <!-- TODO -->
193                    
194                 </sml:ParameterList>
195             </sml:parameters>
196            
197             <sml:components>
198                 <sml:ComponentList>
199                     <sml:component name="BeamIntensityCheck" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/MinThresholdSeriesTest.xml"/>
200                     <sml:component name="CorrelationCoeffCheck" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/RangeSeriesTest_1.xml"/>
201                     <sml:component name="TimeSeriesChain" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/TimeSeriesChain.xml"/>
202                 </sml:ComponentList>
203             </sml:components>
204            
205             <sml:connections>
206                 <sml:ConnectionList>
207                     <!--  Input connections -->
208                     <sml:connection>
209                         <sml:Link>
210                             <sml:source ref="this/inputs/velocityTimeSeries"/>
211                             <sml:destination ref="BeamIntensityCheck/inputs/timeSeriesData"/>
212                         </sml:Link>
213                     </sml:connection>
214                     <sml:connection>
215                         <sml:Link>
216                             <sml:source ref="this/inputs/intensityTimeSeries"/>
217                             <sml:destination ref="BeamIntensityCheck/inputs/timeSeriesData"/>
218                         </sml:Link>
219                     </sml:connection>
220                     <sml:connection>
221                         <sml:Link>
222                             <sml:source ref="this/inputs/correlationCoeffTimeSeries"/>
223                             <sml:destination ref="CorrelationCoeffCheck/inputs/timeSeriesData"/>
224                         </sml:Link>
225                     </sml:connection>
226                    
227                     <!--  Time Series connections -->
228                     <sml:connection>
229                         <sml:Link>
230                             <sml:source ref="BeamIntensityCheck/outputs/timeSeriesData"/>
231                             <sml:destination ref="CorrelationCoeffCheck/inputs/timeSeriesData"/>
232                         </sml:Link>
233                     </sml:connection>
234                     <sml:connection>
235                         <sml:Link>
236                             <sml:source ref="CorrelationCoeffCheck/outputs/timeSeriesData"/>
237                             <sml:destination ref="TimeSeriesChain/inputs/timeSeriesData"/>
238                         </sml:Link>
239                     </sml:connection>
240                    
241                     <!--  Parameter connections -->
242                     <sml:connection>
243                         <sml:Link>
244                             <sml:source ref="this/parameters/timeContinuityParams"/>
245                             <sml:destination ref="TimeSeriesChain/parameters/timeContinuityParams"/>
246                         </sml:Link>
247                     </sml:connection>
248                    
249                     <sml:connection>
250                         <sml:Link>
251                             <sml:source ref="this/parameters/rangeParams"/>
252                             <sml:destination ref="TimeSeriesChain/parameters/rangeParams"/>
253                         </sml:Link>
254                     </sml:connection>
255                    
256                     <sml:connection>
257                         <sml:Link>
258                             <sml:source ref="this/parameters/spikeParams"/>
259                             <sml:destination ref="TimeSeriesChain/parameters/spikeParams"/>
260                         </sml:Link>
261                     </sml:connection>
262                    
263                     <sml:connection>
264                         <sml:Link>
265                             <sml:source ref="this/parameters/minimumPercent"/>
266                             <sml:destination ref="TimeSeriesChain/parameters/minimumPercent"/>
267                         </sml:Link>
268                     </sml:connection>
269                    
270                     <sml:connection>
271                         <sml:Link>
272                             <sml:source ref="this/parameters/interpolationParams"/>
273                             <sml:destination ref="TimeSeriesChain/parameters/interpolationParams"/>
274                         </sml:Link>
275                     </sml:connection>
276                    
277                 </sml:ConnectionList>
278             </sml:connections>
279         </sml:ProcessChain>
280     </sml:member>
281 </sml:SensorML>
Note: See TracBrowser for help on using the browser.