forked from ES-DOC/esdoc-cim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrids.xsd
More file actions
780 lines (774 loc) · 51 KB
/
grids.xsd
File metadata and controls
780 lines (774 loc) · 51 KB
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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
<?xml version="1.0" encoding="UTF-8"?>
<!-- grids.xsd -->
<!-- generated: 20 March 2014, 8:43 -->
<xs:schema
elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns="http://www.purl.org/org/esmetadata/cim/1.8.2/schemas"
targetNamespace="http://www.purl.org/org/esmetadata/cim/1.8.2/schemas">
<!-- previously, these were relative pathnames; as of v1.5.1 they are external URLs -->
<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
namespace="http://www.w3.org/1999/xlink"
schemaLocation="http://www.w3.org/1999/xlink.xsd"/>
<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
namespace="http://www.opengis.net/gml/3.2"
schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
namespace="http://www.isotc211.org/2005/gmd"
schemaLocation="http://www.isotc211.org/2005/gmd/gmd.xsd"/>
<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="activity.xsd"/>
<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="data.xsd"/>
<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="quality.xsd"/>
<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="shared.xsd"/>
<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="software.xsd"/>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CustomGridGeometry">
<xs:annotation>
<xs:documentation>This class may be used to provide a custom, i.e. local and non-standard, description of the grid geometry associated with a geophysical dataset. Use-cases for such a class have, however, yet to be identified and elaborated.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml:AbstractGeometryType">
<xs:sequence>
<xs:element name="geometrySpec" minOccurs="1" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>This attribute is used to provide a free-text description of a locally-defined custom grid geometry. If serialised in XML format this attribute might contain either plain text, a nested hierarchy of XML elements, or possibly both.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="optional" type="Identifier">
<xs:annotation>
<xs:documentation>The optional id attribute may be used to specify a CIM-specific identifier. Note, however, that this would be in addition to the mandatory gml:id attribute which is required for all GML-style geometry objects. The two attributes may of course be the same, though that would represent redundant usage.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridCellArray">
<xs:annotation>
<xs:documentation>Simple data type for encapsulating an array of grid cell definitions.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="gridCell" minOccurs="1" maxOccurs="unbounded" type="GridCell"/>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridMosaic">
<xs:annotation>
<xs:documentation>The GridMosaic class is used to define the geometry properties of an earth system model grid or an exchange grid. Such a grid definition may then be referenced by any number of earth system models. A GridMosaic object consists either of 1 or more child GridMosaics, or one or more child GridTiles, but not both. In the latter case the isLeaf property should be set to true, indicating that the mosaic is a leaf mosaic.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="citationList" minOccurs="0" maxOccurs="1" type="CitationList">
<xs:annotation>
<xs:documentation>Optional container element for specifying a list of references that describe the grid.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>A free-text description of a grid mosaic.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="extent" minOccurs="0" maxOccurs="1" type="GridExtent"/>
<xs:element name="longName" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the long name associated with a grid mosaic. The long name will typically be a human-readable string, with acronyms expanded, used for labelling purposes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mnemonic" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="shortName" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the short name associated with a grid mosaic. The short name will typically be a convenient abbreviation used to refer to a grid mosaic, e.g. 'UM ATM N96'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gridTile" minOccurs="0" maxOccurs="unbounded" type="GridTile"><!--I am looking at: UML:AssociationEnd--><!--And the class is: GridTile--><!--Whose id is: EAID_EF21E721_0E27_4bbc_9A25_B8D1F876F3BC--><!--And there were this many specialisations: 0--></xs:element>
<xs:element name="gridMosaic" minOccurs="0" maxOccurs="unbounded" type="GridMosaic"><!--I am looking at: UML:AssociationEnd--><!--And the class is: GridMosaic--><!--Whose id is: EAID_18E90B49_E375_4a4f_A8EC_1801422E6E3B--><!--And there were this many specialisations: 0--></xs:element>
</xs:sequence>
<xs:attribute name="congruentTiles" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether or not all the tiles contained within a grid mosaic are congruent, that is, of the same size and shape.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="gridType" use="required" type="GridTypeEnum">
<xs:annotation>
<xs:documentation>Specifies the type of all the grid tiles contained in a grid mosaic. It is assumed that all of the tiles comprising a given grid mosaic are of the same type. The value domain is as per the specified enumeration list.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="id" use="required" type="Identifier">
<xs:annotation>
<xs:documentation>Specifies a globally unique identifier for a grid mosaic instance. By globally we mean across all GridSpec instances/records within a given modelling activity (such as CMIP5).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isLeaf" use="required" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether or not a grid mosaic is a leaf mosaic, that is, it only contains child grid tiles not further mosaics.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="numMosaics" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the number of mosaics associated with a non-leaf grid mosaic. Set to zero if the grid mosaic is a leaf mosaic, i.e. it contains child grid tiles not mosaics.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="numTiles" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the number of tiles associated with a leaf grid mosaic. Set to zero if the grid mosaic is not a leaf mosaic, i.e. it contains child grid mosaics rather than tiles. (Added to align with equivalent ESG/Curator property.)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="refinementScheme" use="optional" type="RefinementTypeEnum"/>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SimpleGridGeometry">
<xs:annotation>
<xs:documentation>This class may be used to encode the parameters needed to define a simple grid, i.e. a grid based on repeating square or rectangular grid cells.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="xcoords" minOccurs="1" maxOccurs="1" type="CoordList">
<xs:annotation>
<xs:documentation>Specifies the X (or i) coordinate of each 'vertical' grid line making up the grid mesh. For uniform grids (square or rectangular cells), only two X coordinates are required: the X coordinate of the initial grid node, plus the offset or spacing between successive grid nodes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ycoords" minOccurs="1" maxOccurs="1" type="CoordList">
<xs:annotation>
<xs:documentation>Specifies the Y (or j) coordinate of each 'horizontal' grid line making up the grid mesh. For uniform grids (square or rectangular cells), only two Y coordinates are required: the Y coordinate of the initial grid node, plus the offset or spacing between successive grid nodes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="zcoords" minOccurs="0" maxOccurs="1" type="CoordList">
<xs:annotation>
<xs:documentation>For 3D grids, specifies the Z coordinates of the grid.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="dimOrder" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Text string specifying the order in which the coordinate dimensions are traversed. This determines the ordering of grid cells defined by the grid parameters, e.g. row order or column order. The default is "yx" ("zyx" for 3D grids), i.e. row order for logically rectangular grids. This syntax follows CF conventions.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isMesh" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Set to True if the grid geometry defines a grid mesh that fully partitions a 2D or 3D space. Set to false (the default) if the grid geometry simply defines the locations of grid nodes, making no statement about the shape or extent of surrounding grid cells.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="numDims" use="required" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the number of dimensions (i.e. the rank) of the grid, e.g. 2 for 2D grids, 3 for 3D grids.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="UnstructuredGridCell">
<xs:annotation>
<xs:documentation>This class is used to define grid cells that form the basis of unstructured triangular or polygonal grids, as per the gridspec paper. The grid cell boundary is defined by specifying three or more edges via the edgeArray property. Each edge member of this array is defined by specifying references to the start and end points of the edge.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="GridCell">
<xs:sequence>
<xs:element name="edgeArray" minOccurs="1" maxOccurs="1" type="EdgeArray">
<xs:annotation>
<xs:documentation>The edgeArray attribute is used to specify three or more edges that define the boundary of the grid cell. Each edge member is specified by reference to two remotely-defined grid points. The latter may, for instance, have been defined as part of a SimpleGridCell definition.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ArcTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="geodesic"/>
<xs:enumeration value="great_circle"/>
<xs:enumeration value="small_circle"/>
<xs:enumeration value="complex"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridExtent">
<xs:annotation>
<xs:documentation>DataType for recording the geographic extent of a gridMosaic or gridTile.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="latMax" minOccurs="1" maxOccurs="1" type="xs:integer"/>
<xs:element name="latMin" minOccurs="1" maxOccurs="1" type="xs:integer"/>
<xs:element name="lonMax" minOccurs="1" maxOccurs="1" type="xs:integer"/>
<xs:element name="lonMin" minOccurs="1" maxOccurs="1" type="xs:integer"/>
<xs:element name="units" minOccurs="0" maxOccurs="1" type="UnitType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CustomFeatureGeometry">
<xs:annotation>
<xs:documentation>This class may be used to provide a custom, i.e. local and non-standard, description of the feature geometry associated with a geophysical dataset. Use-cases for such a class have, however, yet to be identified and elaborated.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml:AbstractGeometryType">
<xs:sequence>
<xs:element name="geometrySpec" minOccurs="1" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>This attribute is used to provide a free-text description of a locally-defined custom feature geometry. If serialised in XML format this attribute might contain either plain text, a nested hierarchy of XML elements, or possibly both.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>The optional id attribute may be used to specify a CIM-specific identifier. Note, however, that this would be in addition to the mandatory gml:id attribute which is required for all GML-style geometry objects. The two attributes may of course be the same, though that would represent redundant usage.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ExchangeGridCell">
<xs:annotation>
<xs:documentation>Intended usage is for defining cells in exchange grids. Such cells reference 'parent' grid cells in the two grids partaking in an exchange. The association isn't really a parent-child one, but the name seems to have stuck.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="GridCell">
<xs:sequence>
<xs:element name="parentCell" minOccurs="2" maxOccurs="2" type="GridCellRef"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Identification">
<xs:sequence>
<xs:element name="description" minOccurs="1" maxOccurs="1" type="xs:string"/>
<xs:element name="id" minOccurs="1" maxOccurs="1" type="xs:integer"/>
<xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="EdgeArray">
<xs:annotation>
<xs:documentation>Simple data type for encapsulating an array of grid cell edge definitions.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="edge" minOccurs="3" maxOccurs="unbounded" type="Edge"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GeometryTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="ellipsoid"/>
<xs:enumeration value="plane"/>
<xs:enumeration value="sphere"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VertexArray">
<xs:sequence>
<xs:element name="vertex" minOccurs="3" maxOccurs="unbounded" type="gml:PointType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridCellRef">
<xs:annotation>
<xs:documentation>This data type is used to encode a reference to a grid cell defined as part of some other grid tile, which itself may be part of the same or an entirely separate grid mosaic.
A GridCellRef object consists of a reference to a cell in a separately-defined grid tile, together with an optional fractional area that indicates the portion of the target cell 'occupied' by the referring cell. If this area is not specified, a default value of 1.0 is assumed. A cell reference can be specified either as a sequence of mosaic, tile and cell ID elements, or as a text string attribute (idPath) containing colon-separated ID values terminated with a number representing the fractional area (e.g. "m1:m2:m3:t1:c1:0.5").</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="cellID" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the ID of a remotely-defined grid cell object</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="fractionalArea" minOccurs="0" maxOccurs="1" type="xs:double">
<xs:annotation>
<xs:documentation>This property is used to indicate that a fractional area of the referenced grid cell is to be used in computations using that grid cell. The actual geometry of the fractional part is not defined. If this property is not specified a default value of 1 is assumed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mosaicID" minOccurs="0" maxOccurs="unbounded" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the ID of a remotely-defined grid mosaic object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tileID" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the ID of a remotely-defined grid tile object</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="idPath" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>The idPath property may be used as a more compact alternative to specifying a grid cell reference. The value of an idPath string is a colon-separated list comprising 1 or more mosaic IDs, a tile ID, a cell ID, and, optionally, a number representing the fractional part.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Edge">
<xs:annotation>
<xs:documentation>The Edge data type is used to define the topological edge between adjacent (touching) grid cells. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="arrivalAngle" minOccurs="0" maxOccurs="1" type="gml:MeasureType"/>
<xs:element name="departureAngle" minOccurs="0" maxOccurs="1" type="gml:MeasureType"/>
<xs:element name="length" minOccurs="0" maxOccurs="1" type="gml:MeasureType">
<xs:annotation>
<xs:documentation>Specifies the length of the edge in the units defined using the 'uom' attribute that is attached to the GML MeasureType data type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vertex1" minOccurs="1" maxOccurs="1" type="gml:PointType">
<xs:annotation>
<xs:documentation>Specifies the position of the first (start) point of the edge.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vertex2" minOccurs="1" maxOccurs="1" type="gml:PointType">
<xs:annotation>
<xs:documentation>Specifies the position of the second (end) point of the edge.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="arcType" use="required" type="ArcTypeEnum"/>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VerticalCSEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="mass-based"/>
<xs:enumeration value="space-based"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridCellRefArray">
<xs:annotation>
<xs:documentation>Simple data type for encapsulating an array of grid cell reference definitions.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="gridCellRef" minOccurs="1" maxOccurs="unbounded" type="GridCellRef"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="cubed_sphere"/>
<xs:enumeration value="displaced_pole"/>
<xs:enumeration value="icosahedral_geodesic"/>
<xs:enumeration value="reduced_gaussian"/>
<xs:enumeration value="regular_lat_lon"/>
<xs:enumeration value="spectral_gaussian"/>
<xs:enumeration value="tripolar"/>
<xs:enumeration value="yin_yang"/>
<xs:enumeration value="composite"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="HorizontalCSEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="cartesian"/>
<xs:enumeration value="ellipsoidal"/>
<xs:enumeration value="polar"/>
<xs:enumeration value="spherical"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CitationList">
<xs:annotation>
<xs:documentation>Simple data type for specifying a list of references.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="citation" minOccurs="0" maxOccurs="unbounded" type="gmd:CI_Citation_Type">
<xs:annotation>
<xs:documentation>A detailed description of a citation</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridProperty">
<xs:complexContent>
<xs:extension base="Property">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridTileResolutionType">
<xs:annotation>
<xs:documentation>Provides a description and set of named properties for the horizontal or vertical resolution.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="property" minOccurs="0" maxOccurs="unbounded" type="GridProperty"/>
</xs:sequence>
<xs:attribute name="description" use="optional">
<xs:annotation>
<xs:documentation>A description of the resolution.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridNodePositionEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="centre"/>
<xs:enumeration value="north"/>
<xs:enumeration value="northeast"/>
<xs:enumeration value="east"/>
<xs:enumeration value="southeast"/>
<xs:enumeration value="south"/>
<xs:enumeration value="southwest"/>
<xs:enumeration value="west"/>
<xs:enumeration value="northwest"/>
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SimpleGridCell">
<xs:annotation>
<xs:documentation>The SimpleGridCell class is intended to be used to specify a grid cell of arbitrary polygonal shape. The vertices of the grid cell are specified using the vertexArray property, which contains three or more vertex definitions. Since a vertex is declared to be of type GML PointPropertyType, each vertex may be specified either as a coordinate tuple or as an xlink reference to a vertex defined elsewhere. Vertices should be specified as an ordered sequence, i.e. proceeding clockwise or counterclockwise around the perimeter of the grid cell. Clockwise vertex ordering is a common convention.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="GridCell">
<xs:sequence>
<xs:element name="vertexArray" minOccurs="1" maxOccurs="1" type="VertexArray">
<xs:annotation>
<xs:documentation>The vertexArray attribute is used to specify an array of three or more vertices that define the perimeter of the grid cell. Each vertex member of the array may be specified either as a coordinate tuple or as a reference to a vertex defined remotely.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridTileRef">
<xs:annotation>
<xs:documentation>This data type is used to encode a reference to a grid tile defined as part of some other grid mosaic, which may itself be part of the same hierarchy of grid mosaics or else part of an entirely separate mosaic (possibly even in a separate physical realisation, e.g. XML file or database table).
A grid tile reference is a list of ID references from the top-level mosaic down to the grid tile itself. A tile reference can be specified either as a sequence of mosaic ID elements and a tile ID element, or as a text string attribute (idPath) containing colon-separated ID values (e.g. "m1:m2:m3:t1").</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="mosaicID" minOccurs="0" maxOccurs="unbounded" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the ID of a remotely-defined grid mosaic object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tileID" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the ID of a remotely-defined grid tile object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="idPath" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>The idPath property may be used as a more compact alternative to specifying a grid tile reference. The value of an idPath string is a colon-separated list comprising 1 or more mosaic IDs, and a tile ID.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DiscretizationEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="logically_rectangular"/>
<xs:enumeration value="structured_triangular"/>
<xs:enumeration value="unstructured_triangular"/>
<xs:enumeration value="pixel-based_catchment"/>
<xs:enumeration value="unstructured_polygonal"/>
<xs:enumeration value="spherical_harmonics"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VerticalCoordList" mixed="true">
<xs:annotation>
<xs:documentation>There are some specific attributes that are associated with vertical coordinates.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="CoordList">
<xs:sequence>
<xs:element name="property" minOccurs="0" maxOccurs="unbounded" type="GridProperty"/>
</xs:sequence>
<xs:attribute name="coordinateForm" use="optional" type="VerticalCoordinateFormTypeEnum"/>
<xs:attribute name="coordinateType" use="optional" type="VerticalCoordinateTypeEnum"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridSpec">
<xs:annotation>
<xs:documentation>This is a container class for GridSpec objects. A GridSpec object can contain one or more esmModelGrid objects, and one or more esmExchangeGrid objects. These objects may be serialised to one or possibly several files according to taste. Since GridSpec is sub-typed from GML's AbstractGeometryType it can, and should, be identified using a gml:id attribute.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="gml:AbstractGeometryType">
<xs:sequence><!--id is not used -->
<!--version is not used -->
<xs:element name="esmExchangeGrid" minOccurs="0" maxOccurs="unbounded" type="GridMosaic"><!--I am looking at: UML:AssociationEnd--><!--And the class is: GridMosaic--><!--Whose id is: EAID_18E90B49_E375_4a4f_A8EC_1801422E6E3B--><!--And there were this many specialisations: 0--></xs:element>
<xs:element name="esmModelGrid" minOccurs="0" maxOccurs="unbounded" type="GridMosaic"><!--I am looking at: UML:AssociationEnd--><!--And the class is: GridMosaic--><!--Whose id is: EAID_18E90B49_E375_4a4f_A8EC_1801422E6E3B--><!--And there were this many specialisations: 0--></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="gridSpec">
<xs:annotation>
<xs:documentation>This is a container class for GridSpec objects. A GridSpec object can contain one or more esmModelGrid objects, and one or more esmExchangeGrid objects. These objects may be serialised to one or possibly several files according to taste. Since GridSpec is sub-typed from GML's AbstractGeometryType it can, and should, be identified using a gml:id attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="GridSpec">
<xs:sequence>
<xs:element name="documentAuthor" minOccurs="0" maxOccurs="1" type="ResponsibleParty">
<xs:annotation>
<xs:documentation>A contact for the author of this <i>document </i>(as opposed to the author of the artifact being described by this document; ie: the simulation or component or whatever).
This includes information about the authoring institution.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentCreationDate" minOccurs="1" maxOccurs="1" type="dateTime">
<xs:annotation>
<xs:documentation>The date the <i>document </i>was created.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentGenealogy" minOccurs="0" maxOccurs="1" type="Genealogy">
<xs:annotation>
<xs:documentation>Specifies the relationship of this document with another document. Various relationship types (depending on the type of document; ie: simulation, component, etc.) are supported.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentID" minOccurs="1" maxOccurs="1" type="guid">
<xs:annotation>
<xs:documentation>a unique indentifier for this document</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="documentVersion" minOccurs="1" maxOccurs="1" type="version"/>
<xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
<xs:annotation>
<xs:documentation>The id of this document as referenced by an external body (ie: DOI, or even IPSL)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="metadataID" minOccurs="0" maxOccurs="1" type="xs:anyURI"/>
<xs:element name="metadataVersion" minOccurs="0" maxOccurs="1" type="version"/>
<xs:element name="quality" minOccurs="0" maxOccurs="unbounded" type="CIM_Quality">
<xs:annotation>
<xs:documentation>a (set of) quality record(s) for this document.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="documentStatus" use="optional" type="DocumentStatusType"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CoordList" mixed="true">
<xs:annotation>
<xs:documentation>The CoordList type may be used to specify a list of coordinates, typically for the purpose of defining coordinates along the X, Y or Z axes. The length of the coordinate list is given by the attribute of that name. This may be used by software to allocate memory in advance of storing the coordinate values. The hasConstantOffset attribute may be used to indicate that the coordinate list consists of values with constant offset (spacing). In this case only the first coordinate value and the offset (spacing) value need to be specified; however, the length attribute must still define the final 'as-built' size of the coordinate list.</xs:documentation>
</xs:annotation>
<xs:sequence/>
<xs:attribute name="hasConstantOffset" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Set to true if coordinates in the built array have constant offset.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="length" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the length of the coordinate array. This should always be the final, as-built length of the array if the hasConstantOffset property is set to true and the compact notation (start coordinate plus offset) is used.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="uom" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>Units of measure used by the coordinates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ContactTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="boundary"/>
<xs:enumeration value="overlap"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FeatureTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="point"/>
<xs:enumeration value="edge"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RefinementTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="none">
<xs:annotation>
<xs:documentation>Tile boundaries have no refinement when the grid lines meeting at the tile boundary are continuous.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="integer">
<xs:annotation>
<xs:documentation>The refinement is integer when grid lines from the coarser grid are continuous on the finer grid, but not vice versa.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="rational">
<xs:annotation>
<xs:documentation>The refinement is rational when the adjacent or overlapping grid tiles have grid line counts that are coprime (i.e. no common factor other than 1).</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridTile">
<xs:annotation>
<xs:documentation>The GridTile class is used to model an individual grid tile contained within a grid mosaic. A GridTile consists of an array of grid cells which may be defined in one of four ways: 1) for simple grids, by use of the SimpleGridGeometry data type; 2) by defining an array of GridCell objects; 3) by specifying an array of references to externally defined GridCell objects; or 4) by specifying a URI to a remote data file containing the grid cell definitions.
For all but the simplest grid tiles, it is envisaged that method 4 above will be the most frequently used option. However, it should be remembered that the CIM is primarily concerned with encoding climate model metadata. Specifying the coordinates of individual grid tiles and cells will most likely not be required as part of such metadata descriptions.
A GridTile object is associated with a geodetic or projected CRS via the horizontalCRS property, and with a vertical CRS via the verticalCRS property.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="area" minOccurs="0" maxOccurs="1" type="gml:MeasureType">
<xs:annotation>
<xs:documentation>Specifies the area of the grid tile in the units defined by the 'uom' attribute that is attached to the GML MeasureType data type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cellArray" minOccurs="0" maxOccurs="1" type="GridCellArray">
<xs:annotation>
<xs:documentation>This property may be used to specify an array of grid cell definitions which together define the coordinate geometry of a grid tile. Depending on context, any of the existing sub-types of GridCell may be used. Mixing types is, however, not currently permitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cellRefArray" minOccurs="0" maxOccurs="1" type="GridCellRefArray">
<xs:annotation>
<xs:documentation>This property may be used to define the coordinate geometry of a grid tile by specifying an array of references to remotely defined grid cells. Depending on context, any of the existing sub-types of GridCell may be referenced.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="coordFile" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>This property may be used to specify the URI of a file containing grid coordinates that define the geometry of a a grid tile. It is envisaged that this will be the preferred mechanism for specifying the geometry of complex grids.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="coordinatePole" minOccurs="0" maxOccurs="unbounded" type="gml:PointType">
<xs:annotation>
<xs:documentation>The coordinatePole property may be used to specify the lat-long position of any coordinate poles (in the mathematical sense) that form part of the definition of a grid tile. Not to be confused with the gridNorthPole property.
If required, two or more coordinate pole definitions may be distinguished by setting the gml:id attribute to appropriate values, such as "spole", "npole", etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>A free-text description of a grid tile.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="extent" minOccurs="0" maxOccurs="1" type="GridExtent"/>
<xs:element name="gridNorthPole" minOccurs="0" maxOccurs="1" type="gml:PointType">
<xs:annotation>
<xs:documentation>If required, defines the lat-long position of the 'north pole' used by the grid tile in the case of rotated/displaced pole grids. Not to be confused with the coordinatePole property.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="horizontalCRS" minOccurs="0" maxOccurs="1" type="gml:CRSPropertyType">
<xs:annotation>
<xs:documentation>Specifies the horizontal coordinate reference system used in the definition of the grid tile coordinates. This property should normally be an xlink reference to an external horizontal CRS definition (e.g. in a separate CRS dictionary). If required, however, the property may be defined in situ within a CIM document.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="horizontalResolution" minOccurs="0" maxOccurs="1"
type="GridTileResolutionType">
<xs:annotation>
<xs:documentation>Provides an indication of the approximate spatial sampling size of the grid tile, i.e. the size of the underlying grid cells. (Note: the maximum spatial resolution of the grid is twice the sampling size (e.g. 2 km for a 1 km x 1 km grid pitch).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="longName" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the long name associated with a grid tile. The long name will typically be a human-readable string, with acronyms expanded, used for labelling purposes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mnemonic" minOccurs="0" maxOccurs="1" type="xs:string"/>
<xs:element name="shortName" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the short name associated with a grid tile. The short name will typically be a convenient abbreviation used to refer to a grid tile, e.g. 'NEMO T-Grid'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="simpleGridGeom" minOccurs="0" maxOccurs="1" type="SimpleGridGeometry">
<xs:annotation>
<xs:documentation>This property may be used to define the coordinates of the nodes or cells making up a simple (i.e. uniform or regular) grid tile. More details are provided in the description of the SimpleGridGeometry data type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="verticalCRS" minOccurs="0" maxOccurs="1" type="gml:CRSPropertyType">
<xs:annotation>
<xs:documentation>Specifies the vertical coordinate reference system used in the definition of the grid tile coordinates. This property should normally be an xlink reference to an external vertical CRS definition (e.g. in a separate CRS dictionary). If required, however, the property may be defined in situ within a CIM document.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="verticalResolution" minOccurs="0" maxOccurs="1"
type="GridTileResolutionType">
<xs:annotation>
<xs:documentation>Provides an indication of the approximate resolution of the grid tile in the vertical dimension. (Added to align with corresponding ESG/Curator and DIF property).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="zcoords" minOccurs="0" maxOccurs="1" type="VerticalCoordList">
<xs:annotation>
<xs:documentation>This optional property may be used to specify the vertical coordinates (e.g. heights or model levels) at which a grid tile is utilised or realised. In the case of simple grid tiles the equivalent zcoords property on the SimpleGridGeometry data type would be used instead. The current property is intended to be used when the horizontal grid coordinates are defined by one of the other methods.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="discretizationType" use="required" type="DiscretizationEnum">
<xs:annotation>
<xs:documentation>Indicates the type of discretization applied to the grid tile, e.g. "logically_rectangular".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="geometryType" use="optional" type="GeometryTypeEnum">
<xs:annotation>
<xs:documentation>Indicates the geometric figure used to approximate the figure of the Earth, e.g. "sphere".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="id" use="optional" type="Identifier">
<xs:annotation>
<xs:documentation>Specifies an identifer for a grid tile that is unique within its parent grid mosaic. It is not required for this identifier to be unique either across all mosaics in a GridSpec or across all GridSpecs, though if that were the case it would not be detrimental.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isConformal" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>This property is used to indicate if the grid tile is conformal, i.e. angle-preserving. If so, angles measured on the grid are equal to the equivalent angles on the Earth.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isRegular" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>If true, indicates that the horizontal coordinates of the grid can be defined using 1D arrays (vectors). This means that grid node locations are defined by the cartesian product of the X/Lon and Y/Lat coordinate vectors. It also means that grid cells are logically rectangular (they may also be physically rectangular in the case of projected coordinates).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isTerrainFollowing" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>Set to true if the vertical coordinate system is terrain-following even if, as is often the case, this only applies to the lower levels of the grid.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isUniform" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation>If true, indicates that horizontal coordinates have fixed offsets in the X and Y directions. If the offset is the same in both directions then the grids are logically square, otherwise they are logically rectangular. The offsets can be specified by two scalar values (or three values in the case of 3D grids).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nx" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the length of the X, or longitude, dimension of the grid tile.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ny" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the length of the Y, or latitude, dimension of the grid tile.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nz" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation>Specifies the length of the Z, or height/level, dimension of the grid tile. The zcoords coordinate list property, if specified, should have this length.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="refinementScheme" use="optional" type="RefinementTypeEnum"/>
</xs:complexType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VerticalCoordinateFormTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="sigma"/>
<xs:enumeration value="S-coordinate"/>
<xs:enumeration value="Z*-coordinate"/>
<xs:enumeration value="isopycnic"/>
<xs:enumeration value="isentropic"/>
<xs:enumeration value="pressure"/>
<xs:enumeration value="natural log pressure"/>
<xs:enumeration value="pressure-height"/>
<xs:enumeration value="P*-coordinate"/>
<xs:enumeration value="Z-coordinate"/>
<xs:enumeration value="Z**-coordinate"/>
<xs:enumeration value="hybrid sigma-pressure"/>
<xs:enumeration value="hybrid sigma-z"/>
<xs:enumeration value="hybrid height"/>
<xs:enumeration value="hybrid Z-S"/>
<xs:enumeration value="double sigma"/>
<xs:enumeration value="hybrid Z-isopycnic"/>
<xs:enumeration value="hybrid floating Lagrangian"/>
<xs:enumeration value="depth"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VerticalCoordinateTypeEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="terrain-following"/>
<xs:enumeration value="space-based"/>
<xs:enumeration value="mass-based"/>
<xs:enumeration value="hybrid"/>
<xs:enumeration value="not-applicable"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GridCell">
<xs:annotation>
<xs:documentation>This abstract base class is used to model various types of grid cells. Every GridCell object has its boundary defined by at least 3 vertices, though 4 will probably be more typical. Vertices are either defined directly (e.g. in the case of a SimpleGridCell object), or indirectly by referencing a remote grid cell (in the case of an ExchangeGridCell object).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="area" minOccurs="0" maxOccurs="1" type="gml:MeasureType">
<xs:annotation>
<xs:documentation>Optionally specifies the area of a 2D grid cell (or the footprint of a 3D grid cell). The units used must be specified via the 'uom' attribute associated with GML's MeasureType class.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="centroid" minOccurs="0" maxOccurs="1" type="gml:PointType">
<xs:annotation>
<xs:documentation>Optionally specifies the coordinate location of the centroid of a grid cell.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="volume" minOccurs="0" maxOccurs="1" type="gml:MeasureType">
<xs:annotation>
<xs:documentation>Optionally specifies the volume of a 3D grid cell.The units used must be specified via the 'uom' attribute associated with GML's MeasureType class.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" use="required" type="Identifier">
<xs:annotation>
<xs:documentation>Specifies an identifer that uniquely identifies a cell within its parent grid tile.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>