<?xml version="1.0" encoding="UTF-8"?>

<!-- Example of a general-grid coverage with distorted axes
     as defined in the OGC Coverage Implementation Schema 1.1.
     Last updated 2020-10-27.
-->

<GeneralGridCoverage
    xmlns='http://www.opengis.net/cis/1.1/gml'
    xmlns:gml='http://www.opengis.net/gml/3.2'
    xmlns:swe='http://www.opengis.net/swe/2.0'
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xsi:schemaLocation="http://www.opengis.net/cis/1.1/gml http://schemas.opengis.net/cis/1.1/gml/cisAll.xsd http://www.opengis.net/wcs/metoceanProfile/1.0 http://schemas.opengis.net/wcs/metoceanProfile/1.0/wcsMetOceanProfileALL.xsd"
    gml:id="CIS_002">

    <DomainSet>
        <GeneralGrid srsName="http://www.opengis.net/def/crs/EPSG/0/4979" axisLabels="Lat Long h">
            <DisplacementAxisNest axisLabels="Lat Long h" uomLabels="deg deg m">
                <P><C>-90</C><C> 0</C><C>0</C></P><P><C>-85</C><C> 0</C><C>0</C></P><P><C>-80</C><C> 0</C><C>0</C></P>
                <P><C>-90</C><C> 5</C><C>0</C></P><P><C>-85</C><C> 5</C><C>1</C></P><P><C>-80</C><C> 5</C><C>0</C></P>
                <P><C>-90</C><C>10</C><C>0</C></P><P><C>-85</C><C>10</C><C>0</C></P><P><C>-80</C><C>10</C><C>0</C></P>
            </DisplacementAxisNest>
            <GridLimits srsName="http://www.opengis.net/def/crs/OGC/0/Index2D" axisLabels="i j">
                <IndexAxis axisLabel="i" lowerBound="0" upperBound="2"/>
                <IndexAxis axisLabel="j" lowerBound="0" upperBound="2"/>
            </GridLimits>
        </GeneralGrid>
    </DomainSet>

    <RangeSet>
        <DataBlock>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
            <CV><V>255</V><V>255</V></CV>
        </DataBlock>
    </RangeSet>

    <RangeType>
        <swe:DataRecord>
            <swe:field name="Temperature">
                <swe:Quantity definition="http://codes.wmo.int/grib2/codeflag/4.2/_0-0-0/Temperature">
                    <swe:description>air_temperature</swe:description>
                    <swe:nilValues/>
                    <swe:uom code="C"/>
                    <swe:constraint>
                        <swe:AllowedValues>
                            <swe:interval>-273 100</swe:interval>
                            <swe:significantFigures>4</swe:significantFigures>
                        </swe:AllowedValues>
                    </swe:constraint>
                </swe:Quantity>
            </swe:field>
            <swe:field name="RelativeHumidity">
                <swe:Quantity
                    definition="http://codes.wmo.int/grib2/codeflag/4.2/_0-1-1/Relative Humidity">
                    <swe:description>relative_humidity</swe:description>
                    <swe:nilValues/>
                    <swe:uom code="%"/>
                    <swe:constraint>
                        <swe:AllowedValues>
                            <swe:interval>0 100</swe:interval>
                            <swe:significantFigures>3</swe:significantFigures>
                        </swe:AllowedValues>
                    </swe:constraint>
                </swe:Quantity>
            </swe:field>
        </swe:DataRecord>
    </RangeType>

</GeneralGridCoverage>

