Personal tools
You are here: Home Documents Copy of CF Standard Names 11 CFStandardNameTable-1.1.xsd
Document Actions

CFStandardNameTable-1.1.xsd

Click here to get the file

Size 3.6 kB - File type text/xml

File contents

<?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)-->
<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 an entry_id element with the id of the entry containing the definition. It is intended as a mechanism for modifying standard names in a backward compatible fashion.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="entry_id"/>
			</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="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="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="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="last_modified" type="xs:dateTime">
        <xs:annotation>
            <xs:documentation>Last modified datetime.</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="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>

Powered by Plone