|  | 
|  | 1 | +<?xml version="1.0" encoding="UTF-8"?> | 
|  | 2 | + | 
|  | 3 | +<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Bob Drach (UNIV OF CA LLNL) --> | 
|  | 4 | +<!--W3C Schema generated by XMLSPY v5 rel. 2 U (http://www.xmlspy.com)--> | 
|  | 5 | +<!--March 2024 Updated by Lars Bärring (SMHI Rossby Centre).--> | 
|  | 6 | +<!--See issue cf-convention.github.io/#457 for overview, and specific issue references in the documentation attributes.--> | 
|  | 7 | + | 
|  | 8 | +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified"> | 
|  | 9 | + | 
|  | 10 | +  <xs:element name="alias"> | 
|  | 11 | +    <xs:annotation> | 
|  | 12 | +      <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 few 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> | 
|  | 13 | +    </xs:annotation> | 
|  | 14 | +    <xs:complexType> | 
|  | 15 | +      <xs:sequence> | 
|  | 16 | +        <xs:element ref="entry_id" maxOccurs="2"/> | 
|  | 17 | +      </xs:sequence> | 
|  | 18 | +      <xs:attribute name="id" type="xs:ID" use="required"/> | 
|  | 19 | +    </xs:complexType> | 
|  | 20 | +  </xs:element> | 
|  | 21 | + | 
|  | 22 | +  <xs:element name="amip" type="xs:string"> | 
|  | 23 | +    <xs:annotation> | 
|  | 24 | +      <xs:documentation>AMIP identifier</xs:documentation> | 
|  | 25 | +    </xs:annotation> | 
|  | 26 | +  </xs:element> | 
|  | 27 | + | 
|  | 28 | +  <xs:element name="canonical_units" type="xs:string"> | 
|  | 29 | +    <xs:annotation> | 
|  | 30 | +      <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> | 
|  | 31 | +    </xs:annotation> | 
|  | 32 | +  </xs:element> | 
|  | 33 | + | 
|  | 34 | +  <xs:element name="contact" type="xs:string"> | 
|  | 35 | +    <xs:annotation> | 
|  | 36 | +      <xs:documentation>The person or institution that is responsible for maintaining the standard name table.</xs:documentation> | 
|  | 37 | +    </xs:annotation> | 
|  | 38 | +  </xs:element> | 
|  | 39 | + | 
|  | 40 | +  <xs:element name="conventions" type="xs:string"> | 
|  | 41 | +    <xs:annotation> | 
|  | 42 | +      <xs:documentation>Conventions string: "CF-StandardNameTable-X" where X is the version number (issue cf-conventions/#500).</xs:documentation> | 
|  | 43 | +    </xs:annotation> | 
|  | 44 | +  </xs:element> | 
|  | 45 | + | 
|  | 46 | +  <xs:element name="description" type="xs:string"> | 
|  | 47 | +    <xs:annotation> | 
|  | 48 | +      <xs:documentation>A textual description of the variable.</xs:documentation> | 
|  | 49 | +    </xs:annotation> | 
|  | 50 | +  </xs:element> | 
|  | 51 | + | 
|  | 52 | +  <xs:element name="entry"> | 
|  | 53 | +    <xs:annotation> | 
|  | 54 | +      <xs:documentation>An entry element contains the description, units, and correspondence to other standard name schemes, for one variable.</xs:documentation> | 
|  | 55 | +    </xs:annotation> | 
|  | 56 | +    <xs:complexType> | 
|  | 57 | +      <xs:all> | 
|  | 58 | +        <xs:element ref="description"/> | 
|  | 59 | +        <xs:element ref="canonical_units"/> | 
|  | 60 | +        <xs:element ref="grib" minOccurs="0"/> | 
|  | 61 | +        <xs:element ref="amip" minOccurs="0"/> | 
|  | 62 | +      </xs:all> | 
|  | 63 | +      <xs:attribute name="id" type="xs:ID" use="required"/> | 
|  | 64 | +    </xs:complexType> | 
|  | 65 | +  </xs:element> | 
|  | 66 | + | 
|  | 67 | +  <xs:element name="entry_id" type="xs:IDREF"> | 
|  | 68 | +    <xs:annotation> | 
|  | 69 | +      <xs:documentation>See alias.</xs:documentation> | 
|  | 70 | +    </xs:annotation> | 
|  | 71 | +  </xs:element> | 
|  | 72 | + | 
|  | 73 | +  <xs:element name="first_published_date" type="xs:dateTime"> | 
|  | 74 | +    <xs:annotation> | 
|  | 75 | +      <xs:documentation>Datetime when the standard name table was first published (issue cf-conventions/#511).</xs:documentation> | 
|  | 76 | +    </xs:annotation> | 
|  | 77 | +  </xs:element> | 
|  | 78 | + | 
|  | 79 | +  <xs:element name="grib" type="xs:string"> | 
|  | 80 | +    <xs:annotation> | 
|  | 81 | +      <xs:documentation>GRIB parameter code. ECMWF codes start with 'E', NCEP codes with 'N'. Standard FM92 codes are not prefaced.</xs:documentation> | 
|  | 82 | +    </xs:annotation> | 
|  | 83 | +  </xs:element> | 
|  | 84 | + | 
|  | 85 | +  <xs:element name="institution" type="xs:string"> | 
|  | 86 | +    <xs:annotation> | 
|  | 87 | +      <xs:documentation>Institution that maintains the standard name table.</xs:documentation> | 
|  | 88 | +    </xs:annotation> | 
|  | 89 | +  </xs:element> | 
|  | 90 | + | 
|  | 91 | +  <xs:element name="last_modified" type="xs:dateTime"> | 
|  | 92 | +    <xs:annotation> | 
|  | 93 | +      <xs:documentation>Datetime when last modified.</xs:documentation> | 
|  | 94 | +    </xs:annotation> | 
|  | 95 | +  </xs:element> | 
|  | 96 | + | 
|  | 97 | +  <xs:element name="version_number" type="xs:string"> | 
|  | 98 | +    <xs:annotation> | 
|  | 99 | +      <xs:documentation>Version number of the standard name table.</xs:documentation> | 
|  | 100 | +    </xs:annotation> | 
|  | 101 | +  </xs:element> | 
|  | 102 | + | 
|  | 103 | +  <xs:element name="standard_name_table"> | 
|  | 104 | +    <xs:annotation> | 
|  | 105 | +      <xs:documentation>Top level element of the table.</xs:documentation> | 
|  | 106 | +    </xs:annotation> | 
|  | 107 | +    <xs:complexType> | 
|  | 108 | +      <xs:sequence> | 
|  | 109 | +        <xs:element ref="version_number"/> | 
|  | 110 | +        <xs:element ref="conventions"/> | 
|  | 111 | +        <xs:element ref="first_published_date"/> | 
|  | 112 | +        <xs:element ref="last_modified"/> | 
|  | 113 | +        <xs:element ref="institution"/> | 
|  | 114 | +        <xs:element ref="contact"/> | 
|  | 115 | +        <xs:element ref="entry" maxOccurs="unbounded"/> | 
|  | 116 | +        <xs:element ref="alias" minOccurs="0" maxOccurs="unbounded"/> | 
|  | 117 | +      </xs:sequence> | 
|  | 118 | +    </xs:complexType> | 
|  | 119 | +  </xs:element> | 
|  | 120 | +</xs:schema> | 
0 commit comments