forked from cf-convention/cf-convention.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf-standard-name-table-2.0.xsd
executable file
·120 lines (104 loc) · 4.71 KB
/
cf-standard-name-table-2.0.xsd
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Bob Drach (UNIV OF CA LLNL) -->
<!--W3C Schema generated by XMLSPY v5 rel. 2 U (http://www.xmlspy.com)-->
<!--March 2024 Updated by Lars Bärring (SMHI Rossby Centre).-->
<!--See issue cf-convention.github.io/#457 for overview, and specific issue references in the documentation attributes.-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified">
<xs:element name="alias">
<xs:annotation>
<xs:documentation>The alias element contains one or more entry_id element(s) with the id of the entry containing the definition. It is intended as a mechanism for modifying standard names in a backward compatible fashion. Typically, there is one entry_id, but in a small number of instances there are two entry_id, for example if a standard name is divided into upwards and downwards alternatives (issue cf-conventions/#509).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="entry_id" maxOccurs="2"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="amip" type="xs:string">
<xs:annotation>
<xs:documentation>AMIP identifier</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="canonical_units" type="xs:string">
<xs:annotation>
<xs:documentation>Standard SI units for this variable. In a netCDF file, the variable should have units that are translatable to the canonical units.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="contact" type="xs:string">
<xs:annotation>
<xs:documentation>The person or institution that is responsible for maintaining the standard name table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="conventions" type="xs:string">
<xs:annotation>
<xs:documentation>Conventions string: "CF-StandardNameTable-X" where X is the version number (issue cf-conventions/#500).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" type="xs:string">
<xs:annotation>
<xs:documentation>A textual description of the variable.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="entry">
<xs:annotation>
<xs:documentation>An entry element contains the description, units, and correspondence to other standard name schemes, for one variable.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element ref="description"/>
<xs:element ref="canonical_units"/>
<xs:element ref="grib" minOccurs="0"/>
<xs:element ref="amip" minOccurs="0"/>
</xs:all>
<xs:attribute name="id" type="xs:ID" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="entry_id" type="xs:IDREF">
<xs:annotation>
<xs:documentation>See alias.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="first_published" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Datetime when the standard name table was first published (issue cf-conventions/#511).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="grib" type="xs:string">
<xs:annotation>
<xs:documentation>GRIB parameter code. ECMWF codes start with 'E', NCEP codes with 'N'. Standard FM92 codes are not prefaced.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="institution" type="xs:string">
<xs:annotation>
<xs:documentation>Institution that maintains the standard name table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="last_modified" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Datetime when last modified.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="version_number" type="xs:string">
<xs:annotation>
<xs:documentation>Version number of the standard name table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="standard_name_table">
<xs:annotation>
<xs:documentation>Top level element of the table.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="version_number"/>
<xs:element ref="conventions"/>
<xs:element ref="first_published"/>
<xs:element ref="last_modified"/>
<xs:element ref="institution"/>
<xs:element ref="contact"/>
<xs:element ref="entry" maxOccurs="unbounded"/>
<xs:element ref="alias" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>