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

root/q2o/sos_adcp/trunk/sos_adcp/Velocity_QC_Chain.xml

Revision 428 (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>
16                             <sml:codeSpace xlink:href="http://mmisw.org/ont/mvco/test"/>
17                             <sml:value>http://mmisw.org/ont/mvco/test/velocityQCchain.xml</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:elementCount>
30                             <swe:elementType name="Velocity">
31                                 <swe:Quantity definition="urn:ogc:property:OGC:velocity">
32                                     <swe:uom code="cm/s"></swe:uom>
33                                 </swe:Quantity>
34                             </swe:elementType>
35                         </swe:DataArray>
36                     </sml:input>
37                     <sml:input name="intensityTimeSeries">
38                         <swe:DataArray>
39                             <swe:elementCount>
40                                 <swe:Count/>
41                             </swe:elementCount>
42                             <swe:elementType name="beamIntensity">
43                                 <swe:Quantity definition="...">
44                                     <swe:uom code="..."></swe:uom>
45                                 </swe:Quantity>
46                             </swe:elementType>
47                         </swe:DataArray>
48                     </sml:input>
49                     <sml:input name="correlationCoeffTimeSeries">
50                         <swe:DataArray>
51                             <swe:elementCount>
52                                 <swe:Count/>
53                             </swe:elementCount>
54                             <swe:elementType name="correlationCoeff">
55                                 <swe:Quantity definition="..."/>
56                             </swe:elementType>
57                         </swe:DataArray>
58                     </sml:input>
59                 </sml:InputList>
60             </sml:inputs>
61            
62             <sml:outputs>
63                 <sml:OutputList>
64                     <sml:output name="interpolatedVelocityTimeSeries">
65                         <swe:DataArray>
66                             <swe:elementCount>
67                                 <swe:Count/>
68                             </swe:elementCount>
69                             <swe:elementType name="Velocity">
70                                 <swe:Quantity definition="urn:ogc:property:OGC:velocity">
71                                     <swe:uom code="cm/s"></swe:uom>
72                                 </swe:Quantity>
73                             </swe:elementType>
74                         </swe:DataArray>
75                     </sml:output>
76                     <sml:output name="topBinHeight">
77                         <swe:Quantity definition="http://mmisw.org/ont/mvco/properties/topBinHeight">
78                             <swe:uom code="cm"/>
79                         </swe:Quantity>
80                     </sml:output>
81                     <sml:output name="aggregateVelocityFlag">
82                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/aggregateVelocityFlag">
83                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
84                         </swe:Category>
85                     </sml:output>
86                     <sml:output name="echoIntensityFlag">
87                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/echoIntensityFlag">
88                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
89                         </swe:Category>
90                     </sml:output>
91                     <sml:output name="cMFlag">
92                         <swe:Category definition="http://mmisw.org/ont/mvco/qcflag/cMFlag">
93                             <swe:codeSpace xlink:href="http://mmisw.org/ont/mvco/flag"/>
94                         </swe:Category>
95                     </sml:output>
96                    
97                 </sml:OutputList>
98             </sml:outputs>
99            
100             <sml:parameters>
101                 <sml:ParameterList>
102                     <sml:parameter name="minIntensity">
103                         <swe:Quantity definition=""/>
104                     </sml:parameter>
105                     <sml:parameter name="minCorrelationCoeff">
106                         <swe:DataRecord>
107                             <swe:field name="minPercentage">
108                                 <swe:Quantity>
109                                     <swe:uom code="%"/>
110                                 </swe:Quantity>   
111                             </swe:field>
112                             <swe:field name="maxPercentage">
113                                 <swe:Quantity>
114                                     <swe:uom code="%"/>
115                                 </swe:Quantity>   
116                             </swe:field>
117                         </swe:DataRecord>
118                     </sml:parameter>
119                     <!-- Remainder of outputs are identical to PressureSeriesParams -->
120                     <sml:parameter name="timeContinuityParams">
121                         <swe:DataRecord>
122                             <swe:field name="frequency">
123                                 <swe:Quantity definition="..."/>
124                             </swe:field>
125                             <swe:field name="maxGap">
126                                 <swe:Quantity definition="..."/>
127                             </swe:field>
128                             <swe:field name="startTime">
129                                 <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
130                             </swe:field>
131                             <swe:field name="endTime">
132                                 <swe:Time definition="urn:ogc:phenomenon:time:iso8601"/>
133                             </swe:field>
134                         </swe:DataRecord>
135                     </sml:parameter>
136                    
137                     <sml:parameter name="rangeParams">
138                         <swe:DataRecord>
139                             <swe:field name="minimum">
140                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimum">
141                                     <swe:uom code="m"></swe:uom>
142                                 </swe:Quantity>                           
143                             </swe:field>
144                             <swe:field name="maximum">
145                                 <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/maximum">
146                                     <swe:uom code="m"></swe:uom>
147                                 </swe:Quantity>
148                             </swe:field>
149                         </swe:DataRecord>
150                     </sml:parameter>
151                    
152                     <sml:parameter name="spikeParams">
153                         <swe:DataRecord>
154                             <swe:field name="numIterations">
155                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/iterations"/>
156                             </swe:field>
157                             <swe:field name="numStdDeviations">  <!-- Ch. 4 has this as tolerance, check with Julie -->
158                                 <swe:Count definition="http://mmisw.org/ont/q2o/parameter/numberOfSigma"/>
159                             </swe:field>
160                         </swe:DataRecord>
161                     </sml:parameter>
162                    
163                     <sml:parameter name="minimumPercent">
164                         <swe:Quantity definition="http://mmisw.org/ont/q2o/parameter/minimumPercentage"/>
165                     </sml:parameter>
166                    
167                     <sml:parameter name="InterpParams"/> <!-- TODO -->
168                    
169                 </sml:ParameterList>
170             </sml:parameters>
171            
172             <sml:components>
173                 <sml:ComponentList>
174                     <sml:component name="BeamIntensityCheck" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/MinThresholdSeriesTest.xml"/>
175                     <sml:component name="CorrelationCoeffCheck" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/RangeSeriesTest.xml"/>
176                     <sml:component name="TimeSeriesChain" xlink:href="http://vast.uah.edu/downloads/sensorML/v1.0/examples/sensors/ADCP_2.1/TimeSeriesChain.xml"/>
177                 </sml:ComponentList>
178             </sml:components>
179            
180             <sml:connections>
181                 <sml:ConnectionList>
182                     <!--  Input connections -->
183                     <sml:connection>
184                         <sml:Link>
185                             <sml:source ref="this/inputs/velocityTimeSeries"/>
186                             <sml:destination ref="BeamIntensityCheck/inputs/timeSeriesData"/>
187                         </sml:Link>
188                     </sml:connection>
189                     <sml:connection>
190                         <sml:Link>
191                             <sml:source ref="this/inputs/intensityTimeSeries"/>
192                             <sml:destination ref="BeamIntensityCheck/inputs/timeSeriesData"/>
193                         </sml:Link>
194                     </sml:connection>
195                     <sml:connection>
196                         <sml:Link>
197                             <sml:source ref="this/inputs/correlationCoeffTimeSeries"/>
198                             <sml:destination ref="CorrelationCoeffCheck/inputs/timeSeriesData"/>
199                         </sml:Link>
200                     </sml:connection>
201                    
202                     <!--  Time Series connections -->
203                     <sml:connection>
204                         <sml:Link>
205                             <sml:source ref="BeamIntensityCheck/outputs/timeSeriesData"/>
206                             <sml:destination ref="CorrelationCoeffCheck/inputs/timeSeriesData"/>
207                         </sml:Link>
208                     </sml:connection>
209                     <sml:connection>
210                         <sml:Link>
211                             <sml:source ref="CorrelationCoeffCheck/outputs/timeSeriesData"/>
212                             <sml:destination ref="TimeSeriesChain/inputs/timeSeriesData"/>
213                         </sml:Link>
214                     </sml:connection>
215                    
216                     <!--  Parameter connections -->
217                     <sml:connection>
218                         <sml:Link>
219                             <sml:source ref="this/parameters/timeContinuityParams"/>
220                             <sml:destination ref="TimeSeriesChain/parameters/timeContinuityParams"/>
221                         </sml:Link>
222                     </sml:connection>
223                    
224                     <sml:connection>
225                         <sml:Link>
226                             <sml:source ref="this/parameters/rangeParams"/>
227                             <sml:destination ref="TimeSeriesChain/parameters/rangeParams"/>
228                         </sml:Link>
229                     </sml:connection>
230                    
231                     <sml:connection>
232                         <sml:Link>
233                             <sml:source ref="this/parameters/spikeParams"/>
234                             <sml:destination ref="TimeSeriesChain/parameters/spikeParams"/>
235                         </sml:Link>
236                     </sml:connection>
237                    
238                     <sml:connection>
239                         <sml:Link>
240                             <sml:source ref="this/parameters/minimumPercent"/>
241                             <sml:destination ref="TimeSeriesChain/parameters/minimumPercent"/>
242                         </sml:Link>
243                     </sml:connection>
244                    
245                     <sml:connection>
246                         <sml:Link>
247                             <sml:source ref="this/parameters/interpolationParams"/>
248                             <sml:destination ref="TimeSeriesChain/parameters/interpolationParams"/>
249                         </sml:Link>
250                     </sml:connection>
251                    
252                 </sml:ConnectionList>
253             </sml:connections>
254         </sml:ProcessChain>
255     </sml:member>
256 </sml:SensorML>
Note: See TracBrowser for help on using the browser.