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