This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAggregateProcess-Weather.xml
350 lines (343 loc) · 21.2 KB
/
AggregateProcess-Weather.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2018-2019 52°North Initiative for Geospatial Open Source
Software GmbH
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as published
by the Free Software Foundation.
If the program is linked with libraries which are licensed under one of
the following licenses, the combination of the program with the linked
library is not considered a "derivative work" of the program:
- Apache License, version 2.0
- Apache Software License, version 1.0
- GNU Lesser General Public License, version 3
- Mozilla Public License, versions 1.0, 1.1 and 2.0
- Common Development and Distribution License (CDDL), version 1.0
Therefore the distribution of the program linked with libraries licensed
under the aforementioned licenses, is permitted by the copyright holders
if the distribution is compliant with both the GNU General Public
License version 2 and the aforementioned licenses.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
-->
<sml:AggregateProcess gml:id="sdc"
xmlns:swe="http://www.opengis.net/swe/2.0"
xmlns:sml="http://www.opengis.net/sensorml/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
xmlns:sf="http://www.opengis.net/sampling/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xsi:schemaLocation="http://www.opengis.net/sensorml/2.0 http://schemas.opengis.net/sensorML/2.0/sensorML.xsd http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
<sml:components>
<sml:ComponentList>
<sml:component name="source_output">
<sml:PhysicalSystem gml:id="marine-weather">
<gml:identifier codeSpace="uniqueID">AIRMAR-RINVILLE-1</gml:identifier>
<sml:identification>
<sml:IdentifierList>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0002/">
<sml:label>Long name</sml:label>
<sml:value>Marine Institute - AIRMAR Weather Station</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0006/">
<sml:label>Short name</sml:label>
<sml:value>Marine Institute - AIRMAR WX Series WeatherStation</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0012/">
<sml:label>Manufacturer</sml:label>
<sml:value>AIRMAR</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0003/">
<sml:label>Model name</sml:label>
<sml:value>300WX</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0005/">
<sml:label>Serial number</sml:label>
<sml:value>4252</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<sml:featuresOfInterest>
<sml:FeatureList>
<sml:feature xlink:href="Marine Institute" xlink:title="Marine Institute Ireland" />
</sml:FeatureList>
</sml:featuresOfInterest>
<sml:outputs>
<sml:OutputList>
<sml:output name="streamOutput">
<sml:DataInterface>
<sml:data>
<swe:DataStream>
<swe:elementType name="weatherOutputStream">
<swe:DataRecord>
<swe:field name="datetime">
<swe:Time definition="http://www.opengis.net/def/property/OGC/0/PhenomenonTime">
<swe:label>Date and time</swe:label>
<swe:description>Date-time is a time stamp from a Global Positioning System receiver at the cable observatory shore station in the format YYYY-MM-DDThh:mm:ss.sss .</swe:description>
<swe:uom/>
</swe:Time>
</swe:field>
<swe:field name="instrument_id">
<swe:Text>
<swe:label>Instrument ID</swe:label>
<swe:description>Instrument-ID is a unique identifier for the instrument based on its manufacturer, model number and serial number</swe:description>
</swe:Text>
</swe:field>
<swe:field name="AirTemperature">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/airtemp/">
<swe:label>air temperature</swe:label>
<swe:description>Air temperature is the bulk temperature of the air, not the surface (skin) temperature.
</swe:description>
<swe:uom code="degC" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UPAA/" xlink:title="Degrees Celsius" />
</swe:Quantity>
</swe:field>
<swe:field name="RelativeHumidity">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/humidity/">
<swe:label>relative_humidity</swe:label>
<swe:description>The ratio of the amount of water vapour in the air compared to the maximum amount of water vapour that can theoretically be held at the air's temperature
</swe:description>
<swe:uom code="%" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UPCT/" xlink:title="Percent" />
</swe:Quantity>
</swe:field>
<swe:field name="DewPoint">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/P01/current/CDEWZZ01/">
<swe:label>DewPoint</swe:label>
<swe:description>The temperature to which air must cool to
become saturated with water vapour</swe:description>
<swe:uom code="degC" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UPAA/" xlink:title="Degrees Celsius" />
</swe:Quantity>
</swe:field>
<swe:field name="WindDirection">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/truewinddir/">
<swe:label>earthrelativewinddirection</swe:label>
<swe:description>Direction from of wind relative to True North {wind direction} in the atmosphere by in-situ anemometer</swe:description>
<swe:uom code="degT" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UABB/" xlink:title="Degrees True" />
</swe:Quantity>
</swe:field>
<swe:field name="WindSpeed">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/truewindspeed/">
<swe:label> earth relative wind speed</swe:label>
<swe:description>Speed of wind {wind speed} in the atmosphere by in-situ anemometer</swe:description>
<swe:uom code="m/s" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UVAA/" xlink:title="Metres per second" />
</swe:Quantity>
</swe:field>
</swe:DataRecord>
</swe:elementType>
<swe:encoding>
<!-- Abhängig vom EncodingTypen den Processor wählen.-->
<!-- Es gibt \{TextEncoding} auch: {XmlEncoding, BinaryEncoding}-->
<swe:TextEncoding tokenSeparator=";" blockSeparator="\n"/>
</swe:encoding>
<swe:values/>
</swe:DataStream>
</sml:data>
<sml:interfaceParameters>
<swe:DataRecord definition="https://52north.org/swe-ingestion/mqtt/3.1">
<swe:field name="mqtt_broker_url">
<swe:Text definition="https://52north.org/swe-ingestion/mqtt/3.1#url">
<swe:value>mqtt://mosca</swe:value>
</swe:Text>
</swe:field>
<swe:field name="mqtt_broker_password">
<swe:Text definition="https://52north.org/swe-ingestion/mqtt/3.1#password">
<swe:value>password</swe:value>
</swe:Text>
</swe:field>
<swe:field name="mqtt_broker_username">
<swe:Text definition="https://52north.org/swe-ingestion/mqtt/3.1#username">
<swe:value>username</swe:value>
</swe:Text>
</swe:field>
<swe:field name="mqtt_broker_topics">
<swe:Text definition="https://52north.org/swe-ingestion/mqtt/3.1#topics">
<swe:value>airmar-rinville-1</swe:value>
</swe:Text>
</swe:field>
</swe:DataRecord>
</sml:interfaceParameters>
</sml:DataInterface>
</sml:output>
</sml:OutputList>
</sml:outputs>
<sml:position>
<swe:Vector referenceFrame="urn:ogc:def:crs:EPSG::4326">
<swe:coordinate name="easting">
<swe:Quantity axisID="x">
<swe:uom code="degree"/>
<swe:value>-8.977098</swe:value>
</swe:Quantity>
</swe:coordinate>
<swe:coordinate name="northing">
<swe:Quantity axisID="y">
<swe:uom code="degree"/>
<swe:value>53.247642</swe:value>
</swe:Quantity>
</swe:coordinate>
<swe:coordinate name="altitude">
<swe:Quantity axisID="z">
<swe:uom code="m"/>
<swe:value>17.0</swe:value>
</swe:Quantity>
</swe:coordinate>
</swe:Vector>
</sml:position>
</sml:PhysicalSystem>
</sml:component>
<sml:component name="sos_input">
<sml:PhysicalSystem gml:id="marine-weather-sos">
<gml:identifier codeSpace="uniqueID">AIRMAR-RINVILLE-1</gml:identifier>
<sml:identification>
<sml:IdentifierList>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0002/">
<sml:label>Long name</sml:label>
<sml:value>Marine Institute - AIRMAR Weather Station</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0006/">
<sml:label>Short name</sml:label>
<sml:value>Marine Institute - AIRMAR WX Series WeatherStation</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0012/">
<sml:label>Manufacturer</sml:label>
<sml:value>AIRMAR</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0003/">
<sml:label>Model name</sml:label>
<sml:value>300WX</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier>
<sml:Term definition="http://vocab.nerc.ac.uk/collection/W07/current/IDEN0005/">
<sml:label>Serial number</sml:label>
<sml:value>4252</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<sml:featuresOfInterest>
<sml:FeatureList>
<sml:feature xlink:href="Marine Institute" xlink:title="Marine Institute Ireland" />
</sml:FeatureList>
</sml:featuresOfInterest>
<sml:outputs>
<sml:OutputList>
<sml:output name="AirTemperature">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/airtemp/">
<swe:label>air temperature</swe:label>
<swe:description>Air temperature is the bulk temperature of the air, not the surface (skin) temperature.</swe:description>
<swe:uom code="degC" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UPAA/" xlink:title="Degrees Celsius"/>
</swe:Quantity>
</sml:output>
<sml:output name="RelativeHumidity">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/humidity/">
<swe:label>relative_humidity</swe:label>
<swe:description>The ratio of the amount of water vapour in the air compared to the maximum amount of water vapour that can theoretically be held at the air's temperature</swe:description>
<swe:uom code="%" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UPCT/" xlink:title="Percent" />
</swe:Quantity>
</sml:output>
<sml:output name="DewPoint">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/P01/current/CDEWZZ01/">
<swe:label>DewPoint</swe:label>
<swe:description>The temperature to which air must cool to become saturated with water vapour</swe:description>
<swe:uom code="degC" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UPAA/" xlink:title="Degrees Celsius"/>
</swe:Quantity>
</sml:output>
<sml:output name="WindDirection">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/truewinddir/">
<swe:label>earthrelativewinddirection</swe:label>
<swe:description>Direction from of wind relative to True North {wind direction} in the atmosphere by in-situ anemometer</swe:description>
<swe:uom code="degT" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UABB/" xlink:title="Degrees True" />
</swe:Quantity>
</sml:output>
<sml:output name="WindSpeed">
<swe:Quantity definition="http://vocab.nerc.ac.uk/collection/B39/current/truewindspeed/">
<swe:label> earth relative wind speed</swe:label>
<swe:description>Speed of wind {wind speed} in the atmosphere by in-situ anemometer</swe:description>
<swe:uom code="m/s" xlink:href="http://vocab.nerc.ac.uk/collection/P06/current/UVAA/" xlink:title="Metres per second" />
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
<sml:position>
<swe:Vector referenceFrame="urn:ogc:def:crs:EPSG::4326">
<swe:coordinate name="easting">
<swe:Quantity axisID="x">
<swe:uom code="degree"/>
<swe:value>-8.977098</swe:value>
</swe:Quantity>
</swe:coordinate>
<swe:coordinate name="northing">
<swe:Quantity axisID="y">
<swe:uom code="degree"/>
<swe:value>53.247642</swe:value>
</swe:Quantity>
</swe:coordinate>
<swe:coordinate name="altitude">
<swe:Quantity axisID="z">
<swe:uom code="m"/>
<swe:value>17.0</swe:value>
</swe:Quantity>
</swe:coordinate>
</swe:Vector>
</sml:position>
</sml:PhysicalSystem>
</sml:component>
</sml:ComponentList>
</sml:components>
<sml:connections>
<sml:ConnectionList>
<sml:connection>
<sml:Link>
<sml:source ref="components/marine-weather/outputs/AirTemperature"/>
<sml:destination ref="components/marine-weather-sos/outputs/AirTemperature"/>
</sml:Link>
</sml:connection>
<sml:connection>
<sml:Link>
<sml:source ref="components/marine-weather/outputs/RelativeHumidity"/>
<sml:destination ref="components/marine-weather-sos/outputs/RelativeHumidity"/>
</sml:Link>
</sml:connection>
<sml:connection>
<sml:Link>
<sml:source ref="components/marine-weather/outputs/DewPoint"/>
<sml:destination ref="components/marine-weather-sos/outputs/DewPoint"/>
</sml:Link>
</sml:connection>
<sml:connection>
<sml:Link>
<sml:source ref="components/marine-weather/outputs/WindDirection"/>
<sml:destination ref="components/marine-weather-sos/outputs/WindDirection"/>
</sml:Link>
</sml:connection>
<sml:connection>
<sml:Link>
<sml:source ref="components/marine-weather/outputs/WindSpeed"/>
<sml:destination ref="components/marine-weather-sos/outputs/WindSpeed"/>
</sml:Link>
</sml:connection>
</sml:ConnectionList>
</sml:connections>
</sml:AggregateProcess>