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

root/q2o/sos_adcp/trunk/sos_adcp/Velocity_QC_Chain_Values_2.0.xml

Revision 435 (checked in by jfredericks, 13 years ago)

--

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 xlink:href="">
9         <sml:ProcessChain gml:id="Vel_QC_Chain_Values">
10             <gml:description>Specific Specific Process Chain for ADCP Velocity measurements with MVCO parameters embedded inline</gml:description>
11             <gml:name>Velocity QC Chain Values</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:elementCount>
75                             <swe:elementType name="Velocity">
76                                 <swe:Quantity definition="urn:ogc:property:OGC:velocity">
77                                     <swe:uom code="cm/s"></swe:uom>
78                                 </swe:Quantity>
79                             </swe:elementType>
80                         </swe:DataArray>
81                     </sml:output>
82                     <sml:output name="topBinHeight">
83                         <swe:Quantity definition="urn:MVCO:property:topBinHeight">
84                             <swe:uom code="cm"/>
85                         </swe:Quantity>
86                     </sml:output>
87                     <sml:output name="aggregateVelocityFlag">
88                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/aggregateVelocityFlag">
89                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
90                         </swe:Category>
91                     </sml:output>
92                     <sml:output name="echoIntensityFlag">
93                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/echoIntensityFlag">
94                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
95                         </swe:Category>
96                     </sml:output>
97                     <sml:output name="coorelationCoeffFlag">
98                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/coorelationCoeffecientFlag">
99                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
100                         </swe:Category>
101                     </sml:output>
102                 </sml:OutputList>
103             </sml:outputs>
104            
105             <sml:parameters>
106                 <sml:ParameterList>
107                     <sml:parameter name="minIntensity">
108                         <swe:Quantity definition="urn:_:::beamIntensity">
109                             <swe:value>4.44</swe:value>
110                         </swe:Quantity>
111                     </sml:parameter>
112                     <sml:parameter name="minCorrelationCoeff"> <!-- This is a precentage BAD, must be less than 12% -->
113                         <swe:field name="minPercentage">
114                             <swe:Quantity>
115                                 <swe:uom code="%"/>
116                                 <swe:value>0.0</swe:value>
117                             </swe:Quantity>   
118                         </swe:field>
119                         <swe:field name="maxPercentage">
120                             <swe:Quantity>
121                                 <swe:uom code="%"/>
122                                 <swe:value>12.0</swe:value>
123                             </swe:Quantity>   
124                         </swe:field>
125                     </sml:parameter>
126                     <!-- Remainder of outputs are identical to PressureSeriesParams, and this may be expressable in a more compact form -->
127                     <parameter name="timeContinuityParams">
128                         <swe:DataRecord>
129                             <swe:field name="frequency">
130                                 <swe:Quantity definition="...">
131                                     <swe:uom code="mm"/>
132                                     <swe:value>4.44</swe:value>
133                                 </swe:Quantity>
134                             </swe:field>
135                             <swe:field name="maxGap">
136                                 <swe:Quantity definition="...">
137                                     <swe:uom code="s"/>
138                                     <swe:value>4.44</swe:value>
139                                 </swe:Quantity>
140                             </swe:field>
141                             <swe:field name="startTime">
142                                 <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
143                             </swe:field>
144                             <swe:field name="endTime">
145                                 <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
146                             </swe:field>
147                         </swe:DataRecord>
148                     </parameter>
149                    
150                     <sml:parameter name="rangeParams">
151                         <swe:DataRecord>
152                             <swe:field name="minimum">
153                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimum">
154                                     <swe:uom code="m"></swe:uom>
155                                     <swe:value>9.0</swe:value>
156                                 </swe:Quantity>                           
157                             </swe:field>
158                             <swe:field name="maximum">
159                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/maximum">
160                                     <swe:uom code="m"></swe:uom>
161                                     <swe:value>12.0</swe:value>
162                                 </swe:Quantity>
163                             </swe:field>
164                         </swe:DataRecord>
165                     </sml:parameter>
166                    
167                     <sml:parameter name="spikeParams">
168                         <swe:DataRecord>
169                             <swe:field name="numIterations">
170                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/iterations">
171                                     <swe:value>4</swe:value>
172                                 </swe:Count>
173                             </swe:field>
174                             <swe:field name="numStdDeviations">
175                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/numberOfSigma">
176                                     <swe:value>3</swe:value>
177                                 </swe:Count>
178                             </swe:field>
179                         </swe:DataRecord>
180                     </sml:parameter>
181                    
182                     <sml:parameter name="minimumPercent">
183                         <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimumPercentage"/>
184                     </sml:parameter>
185                    
186                     <sml:parameter name="InterpParams"/> <!-- TODO -->
187                    
188                 </sml:ParameterList>
189             </sml:parameters>
190            
191             <sml:components>
192                 <sml:ComponentList>
193                     <sml:component name="BeamIntensityCheck" xlink:href="http://mvcodata.whoi.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/MinThresholdSeriesTest.xml"/>
194                     <sml:component name="CorrelationCoeffCheck" xlink:href="http://mvcodata.whoi.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/RangeSeriesTest_1.xml"/>
195                     <sml:component name="TimeSeriesChain" xlink:href="http://mvcodata.whoi.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/TimeSeriesChain.xml"/>
196                 </sml:ComponentList>
197             </sml:components>
198            
199             <sml:connections>
200                 <sml:ConnectionList>
201                     <!--  Input connections -->
202                     <sml:connection>
203                         <sml:Link>
204                             <sml:source ref="this/inputs/velocityTimeSeries"/>
205                             <sml:destination ref="BeamIntensityCheck/inputs/timeSeriesData"/>
206                         </sml:Link>
207                     </sml:connection>
208                     <sml:connection>
209                         <sml:Link>
210                             <sml:source ref="this/inputs/intensityTimeSeries"/>
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/correlationCoeffTimeSeries"/>
217                             <sml:destination ref="CorrelationCoeffCheck/inputs/timeSeriesData"/>
218                         </sml:Link>
219                     </sml:connection>
220                    
221                     <!--  Time Series connections -->
222                     <sml:connection>
223                         <sml:Link>
224                             <sml:source ref="BeamIntensityCheck/outputs/timeSeriesData"/>
225                             <sml:destination ref="CorrelationCoeffCheck/inputs/timeSeriesData"/>
226                         </sml:Link>
227                     </sml:connection>
228                     <sml:connection>
229                         <sml:Link>
230                             <sml:source ref="CorrelationCoeffCheck/outputs/timeSeriesData"/>
231                             <sml:destination ref="TimeSeriesChain/inputs/timeSeriesData"/>
232                         </sml:Link>
233                     </sml:connection>
234                    
235                     <!--  Parameter connections -->
236                     <sml:connection>
237                         <sml:Link>
238                             <sml:source ref="this/parameters/timeContinuityParams"/>
239                             <sml:destination ref="TimeSeriesChain/parameters/timeContinuityParams"/>
240                         </sml:Link>
241                     </sml:connection>
242                    
243                     <sml:connection>
244                         <sml:Link>
245                             <sml:source ref="this/parameters/rangeParams"/>
246                             <sml:destination ref="TimeSeriesChain/parameters/rangeParams"/>
247                         </sml:Link>
248                     </sml:connection>
249                    
250                     <sml:connection>
251                         <sml:Link>
252                             <sml:source ref="this/parameters/spikeParams"/>
253                             <sml:destination ref="TimeSeriesChain/parameters/spikeParams"/>
254                         </sml:Link>
255                     </sml:connection>
256                    
257                     <sml:connection>
258                         <sml:Link>
259                             <sml:source ref="this/parameters/minimumPercent"/>
260                             <sml:destination ref="TimeSeriesChain/parameters/minimumPercent"/>
261                         </sml:Link>
262                     </sml:connection>
263                    
264                     <sml:connection>
265                         <sml:Link>
266                             <sml:source ref="this/parameters/interpolationParams"/>
267                             <sml:destination ref="TimeSeriesChain/parameters/interpolationParams"/>
268                         </sml:Link>
269                     </sml:connection>
270                    
271                 </sml:ConnectionList>
272             </sml:connections>
273         </sml:ProcessChain>
274     </sml:member>
275 </sml:SensorML>
Note: See TracBrowser for help on using the browser.