1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <Dataset xmlns="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" xmlns:om="http://www.opengis.net/om" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:moles="http://ndg.nerc.ac.uk/moles" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://ndg.nerc.ac.uk/csml |
---|
3 | XMLSchemas/CSMLAppSchema.xsd" gml:id="TestDataset"> |
---|
4 | <gml:metaDataProperty xlink:href="http://ndg.nerc.ac.uk/Metadata/TestDataset"/> |
---|
5 | <gml:description>Test CSML Dataset.</gml:description> |
---|
6 | <gml:name codeSpace="http://ndg.nerc.ac.uk/NDGData">DataEntity0000001</gml:name> |
---|
7 | <!--===================================================================--> |
---|
8 | <!--===== NDG Security Access Control Policy. =====--> |
---|
9 | <!--===================================================================--> |
---|
10 | <AccessControlPolicy> |
---|
11 | <!-- |
---|
12 | also choice of: |
---|
13 | <moles:accessControlPolicyURL>http://test.security.url</moles:accessControlPolicyURL> |
---|
14 | <moles:accessControlPolicyText>test security text</moles:accessControlPolicyText> |
---|
15 | of moles:dgSecurityCondition(s) |
---|
16 | --> |
---|
17 | <moles:dgSecurityCondition> |
---|
18 | <moles:effect>deny</moles:effect> |
---|
19 | <moles:simpleCondition> |
---|
20 | <moles:dgAttributeAuthority>http://glue.badc.rl.ac.uk/attAuthority.wsdl</moles:dgAttributeAuthority> |
---|
21 | <moles:attrauthRole>acsoe</moles:attrauthRole> |
---|
22 | </moles:simpleCondition> |
---|
23 | <moles:conditionExplanationText> Dummy requirement for ACSOE group at BADC </moles:conditionExplanationText> |
---|
24 | </moles:dgSecurityCondition> |
---|
25 | </AccessControlPolicy> |
---|
26 | <!--===================================================================--> |
---|
27 | <!--===== Local unit definitions. =====--> |
---|
28 | <!--===================================================================--> |
---|
29 | <UnitDefinitions gml:id="UnitDefs"> |
---|
30 | <gml:name codeSpace="http://ndg.nerc.ac.uk">TestDatasetUnitDefs</gml:name> |
---|
31 | <gml:definitionMember> |
---|
32 | <gml:UnitDefinition gml:id="psu"> |
---|
33 | <gml:description>Conventional practical salinity units.</gml:description> |
---|
34 | <gml:name>practical salinity units</gml:name> |
---|
35 | <gml:quantityType>sea water salinity</gml:quantityType> |
---|
36 | <gml:catalogSymbol codeSpace="http://ndg.nerc.ac.uk/units">psu</gml:catalogSymbol> |
---|
37 | </gml:UnitDefinition> |
---|
38 | </gml:definitionMember> |
---|
39 | </UnitDefinitions> |
---|
40 | <!--===================================================================--> |
---|
41 | <!--===== Local reference system definitions. =====--> |
---|
42 | <!--===================================================================--> |
---|
43 | <ReferenceSystemDefinitions gml:id="RefSysDefs"> |
---|
44 | <gml:name codeSpace="http://ndg.nerc.ac.uk">TestDatasetRefSysDefs</gml:name> |
---|
45 | <gml:definitionMember> |
---|
46 | <TimeCoordinateSystem gml:id="RefSys01"> |
---|
47 | <gml:description>Temporal reference system representing hours since midnight January 1, 2000.</gml:description> |
---|
48 | <gml:name>RaingaugeTimeRefSys</gml:name> |
---|
49 | <gml:originPosition>2001-01-01T00:00:00</gml:originPosition> |
---|
50 | <gml:interval unit="hour">1</gml:interval> |
---|
51 | </TimeCoordinateSystem> |
---|
52 | </gml:definitionMember> |
---|
53 | <gml:definitionMember> |
---|
54 | <gml:EngineeringCRS gml:id="RefSys02"> |
---|
55 | <gml:remarks>A reference system representing linear distance in metres along some path.</gml:remarks> |
---|
56 | <gml:srsName>RangeRefSys</gml:srsName> |
---|
57 | <gml:usesCS> |
---|
58 | <gml:LinearCS gml:id="RefSys02Coords"> |
---|
59 | <gml:remarks>The coordinate system is linear with a single axis.</gml:remarks> |
---|
60 | <gml:csName>RangeCoords</gml:csName> |
---|
61 | <gml:usesAxis> |
---|
62 | <gml:CoordinateSystemAxis gml:id="RefSys02CoordAxis1" gml:uom="udunits.xml#m"> |
---|
63 | <gml:axisName>range</gml:axisName> |
---|
64 | <gml:axisAbbrev>r</gml:axisAbbrev> |
---|
65 | <gml:axisDirection>Positive away from origin.</gml:axisDirection> |
---|
66 | </gml:CoordinateSystemAxis> |
---|
67 | </gml:usesAxis> |
---|
68 | </gml:LinearCS> |
---|
69 | </gml:usesCS> |
---|
70 | <gml:usesEngineeringDatum> |
---|
71 | <gml:EngineeringDatum gml:id="RefSys02Datum"> |
---|
72 | <gml:remarks>Defines positions along profile relative to origin of profiling instrument (radar, CTD, etc).</gml:remarks> |
---|
73 | <gml:datumName>Profiler origin</gml:datumName> |
---|
74 | </gml:EngineeringDatum> |
---|
75 | </gml:usesEngineeringDatum> |
---|
76 | </gml:EngineeringCRS> |
---|
77 | </gml:definitionMember> |
---|
78 | <gml:definitionMember> |
---|
79 | <TimeCoordinateSystem gml:id="RefSys03"> |
---|
80 | <gml:description>Temporal reference system representing five minute intervals since 08:30, 2 June, 2001.</gml:description> |
---|
81 | <gml:name>RadarTimeRefSys</gml:name> |
---|
82 | <gml:originPosition>2001-06-02T08:30:00</gml:originPosition> |
---|
83 | <gml:interval unit="minute">5</gml:interval> |
---|
84 | </TimeCoordinateSystem> |
---|
85 | </gml:definitionMember> |
---|
86 | <gml:definitionMember> |
---|
87 | <TimeCoordinateSystem gml:id="RefSys04"> |
---|
88 | <gml:description>Temporal reference system representing day fractions since 12 May, 1999.</gml:description> |
---|
89 | <gml:name>CruiseTimeRefSys</gml:name> |
---|
90 | <gml:originPosition>1999-05-12</gml:originPosition> |
---|
91 | <gml:interval unit="day">1</gml:interval> |
---|
92 | </TimeCoordinateSystem> |
---|
93 | </gml:definitionMember> |
---|
94 | <gml:definitionMember> |
---|
95 | <gml:EngineeringCRS gml:id="RefSys05"> |
---|
96 | <gml:remarks>A reference system representing depth pressures in decibar</gml:remarks> |
---|
97 | <gml:srsName>OceanPressureRefSys</gml:srsName> |
---|
98 | <gml:usesCS> |
---|
99 | <gml:LinearCS gml:id="RefSys05Coords"> |
---|
100 | <gml:remarks>The coordinate system is linear with a single axis.</gml:remarks> |
---|
101 | <gml:csName>DepthCoords</gml:csName> |
---|
102 | <gml:usesAxis> |
---|
103 | <gml:CoordinateSystemAxis gml:id="RefSys05CoordAxis1" gml:uom="udunits.xml#dbar"> |
---|
104 | <gml:axisName>depth</gml:axisName> |
---|
105 | <gml:axisAbbrev>r</gml:axisAbbrev> |
---|
106 | <gml:axisDirection>Positive downwards.</gml:axisDirection> |
---|
107 | </gml:CoordinateSystemAxis> |
---|
108 | </gml:usesAxis> |
---|
109 | </gml:LinearCS> |
---|
110 | </gml:usesCS> |
---|
111 | <gml:usesEngineeringDatum> |
---|
112 | <gml:EngineeringDatum gml:id="RefSys05Datum"> |
---|
113 | <gml:remarks>Defines depths in pressure units from sea surface.</gml:remarks> |
---|
114 | <gml:datumName>Sea surface</gml:datumName> |
---|
115 | <gml:anchorPoint>0</gml:anchorPoint> |
---|
116 | </gml:EngineeringDatum> |
---|
117 | </gml:usesEngineeringDatum> |
---|
118 | </gml:EngineeringCRS> |
---|
119 | </gml:definitionMember> |
---|
120 | </ReferenceSystemDefinitions> |
---|
121 | <!--===================================================================--> |
---|
122 | <!--===== Local phenomenon definitions. =====--> |
---|
123 | <!--===================================================================--> |
---|
124 | <PhenomenonDefinitions gml:id="PhenDefs"> |
---|
125 | <gml:name>TestDatasetPhenDefs</gml:name> |
---|
126 | <gml:definitionMember> |
---|
127 | <om:Phenomenon gml:id="rainfall"> |
---|
128 | <gml:description>Liquid precipitation measured with raingauge.</gml:description> |
---|
129 | <gml:name codeSpace="http://ndg.nerc.ac.uk">rainfall</gml:name> |
---|
130 | </om:Phenomenon> |
---|
131 | </gml:definitionMember> |
---|
132 | </PhenomenonDefinitions> |
---|
133 | <!--===================================================================--> |
---|
134 | <!--===== Indirect value array definitions. =====--> |
---|
135 | <!--===================================================================--> |
---|
136 | <NetCDFExtract gml:id="feat04times"> |
---|
137 | <arraySize>10000</arraySize> |
---|
138 | <fileName>radar_data.nc</fileName> |
---|
139 | <variableName>time</variableName> |
---|
140 | </NetCDFExtract> |
---|
141 | <NetCDFExtract gml:id="feat04azimuth"> |
---|
142 | <arraySize>10000</arraySize> |
---|
143 | <fileName>radar_data.nc</fileName> |
---|
144 | <variableName>az</variableName> |
---|
145 | </NetCDFExtract> |
---|
146 | <AggregatedArray gml:id="feat05cruisetrack"> |
---|
147 | <arraySize>2 50</arraySize> |
---|
148 | <aggType>new</aggType> |
---|
149 | <aggIndex>1</aggIndex> |
---|
150 | <component> |
---|
151 | <NetCDFExtract> |
---|
152 | <arraySize>50</arraySize> |
---|
153 | <fileName>cruisetrack.nc</fileName> |
---|
154 | <variableName>alat</variableName> |
---|
155 | </NetCDFExtract> |
---|
156 | </component> |
---|
157 | <component> |
---|
158 | <NetCDFExtract> |
---|
159 | <arraySize>50</arraySize> |
---|
160 | <fileName>cruisetrack.nc</fileName> |
---|
161 | <variableName>alon</variableName> |
---|
162 | </NetCDFExtract> |
---|
163 | </component> |
---|
164 | </AggregatedArray> |
---|
165 | <NetCDFExtract gml:id="feat05times"> |
---|
166 | <arraySize>50</arraySize> |
---|
167 | <fileName>cruisetrack.nc</fileName> |
---|
168 | <variableName>atime</variableName> |
---|
169 | </NetCDFExtract> |
---|
170 | <ArrayGenerator gml:id="feat05depths"> |
---|
171 | <arraySize>3001</arraySize> |
---|
172 | <expression>0:2:6000</expression> |
---|
173 | </ArrayGenerator> |
---|
174 | <!--===================================================================--> |
---|
175 | <!--===== Feature instances =====--> |
---|
176 | <!--===================================================================--> |
---|
177 | <gml:FeatureCollection> |
---|
178 | <gml:boundedBy> |
---|
179 | <gml:EnvelopeWithTimePeriod srsName="urn:EPSG:geographicCRS:4326"> |
---|
180 | <gml:lowerCorner>-10 15</gml:lowerCorner> |
---|
181 | <gml:upperCorner>30 65</gml:upperCorner> |
---|
182 | <gml:timePosition>1998-01-01</gml:timePosition> |
---|
183 | <gml:timePosition>2003-12-31</gml:timePosition> |
---|
184 | </gml:EnvelopeWithTimePeriod> |
---|
185 | </gml:boundedBy> |
---|
186 | <gml:featureMember> |
---|
187 | <PointFeature gml:id="feat01"> |
---|
188 | <gml:description>Temperature reading from thermometer.</gml:description> |
---|
189 | <PointDomain> |
---|
190 | <domainReference> |
---|
191 | <Position srsName="urn:EPSG:geographicCRS:4979" axisLabels="Lat Long h" uomLabels="degree degree m'"> |
---|
192 | <location>0.1 1.5 25</location> |
---|
193 | <time>2000-08-13T13:51:10</time> |
---|
194 | </Position> |
---|
195 | </domainReference> |
---|
196 | </PointDomain> |
---|
197 | <gml:rangeSet> |
---|
198 | <gml:QuantityList uom="udunits.xml#degreesC">10</gml:QuantityList> |
---|
199 | </gml:rangeSet> |
---|
200 | <parameter xlink:href="CFStandardNames.xml#air_temperature"/> |
---|
201 | </PointFeature> |
---|
202 | </gml:featureMember> |
---|
203 | <gml:featureMember> |
---|
204 | <PointSeriesFeature gml:id="feat02"> |
---|
205 | <gml:description>January timeseries of raingauge measurements</gml:description> |
---|
206 | <PointSeriesDomain> |
---|
207 | <domainReference> |
---|
208 | <Trajectory srsName="urn:EPSG:geographicCRS:4979"> |
---|
209 | <locations>0.1 1.5 25</locations> |
---|
210 | <times frame="#RefSys01">0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 26 27 28 29 30 31</times> |
---|
211 | </Trajectory> |
---|
212 | </domainReference> |
---|
213 | </PointSeriesDomain> |
---|
214 | <gml:rangeSet> |
---|
215 | <gml:QuantityList uom="udunits.xml#mm">5 3 10 1 2 8 10 2 5 10 20 21 12 3 5 19 12 23 32 10 8 8 2 0 0 1 5 6 10 17 20</gml:QuantityList> |
---|
216 | </gml:rangeSet> |
---|
217 | <parameter xlink:href="#rainfall"/> |
---|
218 | </PointSeriesFeature> |
---|
219 | </gml:featureMember> |
---|
220 | <gml:featureMember> |
---|
221 | <ProfileFeature gml:id="feat03"> |
---|
222 | <gml:description>Vertical wInd profile</gml:description> |
---|
223 | <ProfileDomain> |
---|
224 | <domainReference> |
---|
225 | <OrientedPosition srsName="urn:EPSG:geographicCRS:4326"> |
---|
226 | <location>-1 3</location> |
---|
227 | <time>1999-07-21T10:00:00</time> |
---|
228 | <direction> |
---|
229 | <gml:horizontalAngle uom="udunits.xml#degrees">0</gml:horizontalAngle> |
---|
230 | <gml:verticalAngle uom="udunits.xml#degrees">90</gml:verticalAngle> |
---|
231 | </direction> |
---|
232 | </OrientedPosition> |
---|
233 | </domainReference> |
---|
234 | <domainComplement> |
---|
235 | <DirectPositionList srsName="#RefSys02">10 20 30 40 50 60 70 80 90 100</DirectPositionList> |
---|
236 | </domainComplement> |
---|
237 | </ProfileDomain> |
---|
238 | <gml:rangeSet> |
---|
239 | <gml:DataBlock> |
---|
240 | <gml:rangeParameters> |
---|
241 | <gml:CompositeValue> |
---|
242 | <gml:valueComponents> |
---|
243 | <gml:measure uom="udunits.xml#ms-1"/> |
---|
244 | <gml:measure uom="udunits.xml#ms-1"/> |
---|
245 | </gml:valueComponents> |
---|
246 | </gml:CompositeValue> |
---|
247 | </gml:rangeParameters> |
---|
248 | <gml:doubleOrNullTupleList>2.0 1.1 2.4 0.8 3.3 0.1 2.6 -0.2 5.6 0.1 4.5 1.3 6.3 0.1 5.7 0.9 4.2 1.1 3.2 -0.1</gml:doubleOrNullTupleList> |
---|
249 | </gml:DataBlock> |
---|
250 | </gml:rangeSet> |
---|
251 | <parameter> |
---|
252 | <om:CompositePhenomenon gml:id="wind"> |
---|
253 | <gml:name>Vector wind</gml:name> |
---|
254 | <om:componentPhenomenon xlink:href="CFStandardNames.xml#eastward_wind"/> |
---|
255 | <om:componentPhenomenon xlink:href="CFStandardNames.xml#northward_wind"/> |
---|
256 | </om:CompositePhenomenon> |
---|
257 | </parameter> |
---|
258 | </ProfileFeature> |
---|
259 | </gml:featureMember> |
---|
260 | <gml:featureMember> |
---|
261 | <ProfileSeriesFeature gml:id="feat04"> |
---|
262 | <gml:description>Scanning radar timeseries.</gml:description> |
---|
263 | <ProfileSeriesDomain> |
---|
264 | <domainReference> |
---|
265 | <OrientedTrajectory srsName="urn:EPSG:geographicCRS:4326"> |
---|
266 | <locations>-0.5 2.1</locations> |
---|
267 | <times xlink:href="#feat04times" frame="#RefSys03"/> |
---|
268 | <directions> |
---|
269 | <horizontalAngles uom="udunits.xml#degree" xlink:href="#feat04azimuth"/> |
---|
270 | <verticalAngles uom="udunits.xml#degree">23</verticalAngles> |
---|
271 | </directions> |
---|
272 | </OrientedTrajectory> |
---|
273 | </domainReference> |
---|
274 | <domainComplement> |
---|
275 | <DirectPositionList srsName="#RefSys02">100 200 300 400 500 600 700 800 900 1000</DirectPositionList> |
---|
276 | </domainComplement> |
---|
277 | </ProfileSeriesDomain> |
---|
278 | <gml:rangeSet> |
---|
279 | <NetCDFExtract> |
---|
280 | <arraySize>10 10000</arraySize> |
---|
281 | <uom>udunits.xml#percent</uom> |
---|
282 | <fileName>radar_data.nc</fileName> |
---|
283 | <variableName>hum</variableName> |
---|
284 | </NetCDFExtract> |
---|
285 | </gml:rangeSet> |
---|
286 | <gml:coverageFunction> |
---|
287 | <MappingRule scanOrder="+gridI +series"/> |
---|
288 | </gml:coverageFunction> |
---|
289 | <parameter xlink:href="XFStandardNames.xml#relative_humidity"/> |
---|
290 | </ProfileSeriesFeature> |
---|
291 | </gml:featureMember> |
---|
292 | <gml:featureMember> |
---|
293 | <ProfileSeriesFeature gml:id="feat05"> |
---|
294 | <gml:description>Cruise CTD salinity</gml:description> |
---|
295 | <ProfileSeriesDomain> |
---|
296 | <domainReference> |
---|
297 | <OrientedTrajectory srsName="urn:EPSG:geographicCRS:4326"> |
---|
298 | <locations order="byCoords" xlink:href="#feat05cruisetrack"/> |
---|
299 | <times xlink:href="#feat05times" frame="#RefSys04"/> |
---|
300 | <directions> |
---|
301 | <horizontalAngles uom="udunits.xml#degree">0</horizontalAngles> |
---|
302 | <verticalAngles uom="udunits.xml#degree">-90</verticalAngles> |
---|
303 | </directions> |
---|
304 | </OrientedTrajectory> |
---|
305 | </domainReference> |
---|
306 | <domainComplement> |
---|
307 | <DirectPositionList srsName="#RefSys05" xlink:href="#feat05depths"/> |
---|
308 | </domainComplement> |
---|
309 | </ProfileSeriesDomain> |
---|
310 | <gml:rangeSet> |
---|
311 | <AggregatedArray> |
---|
312 | <arraySize>3001 50</arraySize> |
---|
313 | <uom>#psu</uom> |
---|
314 | <aggType>new</aggType> |
---|
315 | <aggIndex>1</aggIndex> |
---|
316 | <component> |
---|
317 | <NetCDFExtract> |
---|
318 | <arraySize>50</arraySize> |
---|
319 | <fileName>cruisestation0??.nc</fileName> |
---|
320 | <variableName>ctdsal</variableName> |
---|
321 | </NetCDFExtract> |
---|
322 | </component> |
---|
323 | </AggregatedArray> |
---|
324 | </gml:rangeSet> |
---|
325 | <gml:coverageFunction> |
---|
326 | <MappingRule scanOrder="+gridI +series"/> |
---|
327 | </gml:coverageFunction> |
---|
328 | <parameter xlink:href="http://bodc.ac.uk/PSAL"/> |
---|
329 | </ProfileSeriesFeature> |
---|
330 | </gml:featureMember> |
---|
331 | <gml:featureMember> |
---|
332 | <GridFeature gml:id='feat06'> |
---|
333 | <GridDomain> |
---|
334 | <domainReference> |
---|
335 | <gml:TimeInstant> |
---|
336 | <gml:timePosition>2004-01-01T00:00:00</gml:timePosition> |
---|
337 | </gml:TimeInstant> |
---|
338 | </domainReference> |
---|
339 | <domainComplement> |
---|
340 | <Grid srsName="urn:EPSG:geographicCRS:23031" srsDimension="2" dimension="2"> |
---|
341 | <gml:limits> |
---|
342 | <gml:GridEnvelope> |
---|
343 | <gml:low>1 5</gml:low> |
---|
344 | <gml:high>1 3</gml:high> |
---|
345 | </gml:GridEnvelope> |
---|
346 | </gml:limits> |
---|
347 | <gml:axisName>gridI</gml:axisName> |
---|
348 | <gml:axisName>gridJ</gml:axisName> |
---|
349 | <ordinate> |
---|
350 | <gridAxesSpanned>gridI</gridAxesSpanned> |
---|
351 | <sequenceRule>Linear</sequenceRule> |
---|
352 | <definesAxis xlink:href="#eastingUTM"/> |
---|
353 | <axisValues>100000 100025 100050 100075 100100</axisValues> |
---|
354 | </ordinate> |
---|
355 | <ordinate> |
---|
356 | <gridAxesSpanned>gridJ</gridAxesSpanned> |
---|
357 | <sequenceRule>Linear</sequenceRule> |
---|
358 | <definesAxis xlink:href="#northingUTM"/> |
---|
359 | <axisValues>2000500 2000525 2000550</axisValues> |
---|
360 | </ordinate> |
---|
361 | </Grid> |
---|
362 | </domainComplement> |
---|
363 | </GridDomain> |
---|
364 | <gml:rangeSet> |
---|
365 | <gml:QuantityList uom="udunits.xml#m">10 9 9 8 9 10 8 9 8 7 9 10 11 10 10</gml:QuantityList> |
---|
366 | </gml:rangeSet> |
---|
367 | <parameter> |
---|
368 | <om:ParameterisedPhenomenon gml:id="sea_floor_depth_below_mean_sea_level"> |
---|
369 | <gml:name codeSpace="http://ndg.nerc.ac.uk/parameterDictionary">sea_floor_depth_below_mean_sea_level</gml:name> |
---|
370 | <om:basePhenomenon xlink:href="CFStandardNames.xml#sea_floor_depth"/> |
---|
371 | <om:constraint> |
---|
372 | <om:TypedCategory axis="#referenceCRS" codeSpace="http://ndg.nerc.ac.uk/parameterDictionary">Mean Sea Level</om:TypedCategory> |
---|
373 | </om:constraint> |
---|
374 | </om:ParameterisedPhenomenon> |
---|
375 | </parameter> |
---|
376 | </GridFeature> |
---|
377 | </gml:featureMember> |
---|
378 | <gml:featureMember> |
---|
379 | <TrajectoryFeature gml:id="testtraj"> |
---|
380 | <track> |
---|
381 | <Trajectory srsName="urn:EPSG:geographicCRS:4326"></Trajectory> |
---|
382 | <locations order="byCoords"> 41.4905 10.541 41.5012 9.4343 42.4344 9.5433 </locations> |
---|
383 | <times>1997-08-10T31:05 1997-08-10T34:84 1997-08-10T52:00 </times> |
---|
384 | </track> |
---|
385 | </TrajectoryFeature> |
---|
386 | </gml:featureMember> |
---|
387 | </gml:FeatureCollection> |
---|
388 | </Dataset> |
---|