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

<cis10:ReferenceableGridCoverage 
  xmlns:cis10="https://schemas.isotc211.org/schemas/19123/-2/cis/1.2"
  xmlns:swe="http://www.opengis.net/swe/2.0"
  xmlns:gml="http://www.opengis.net/gml/3.2"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="https://schemas.isotc211.org/schemas/19123/-2/cis/1.2 cis-annexB-All.xsd 
                      http://www.opengis.net/swe/2.0 sweAll.xsd 
                      http://www.opengis.net/gml/3.2 https://schemas.isotc211.org/schemas/19136/-/gml/1.0/gml.xsd"
  gml:id="CIS_referenceable-grid-by-vectors">
  
  <gml:boundedBy>
    <gml:Envelope srsName="https://www.opengis.net/def/crs/EPSG/0/4326" axisLabels="Lat Long" uomLabels="deg deg" srsDimension="2"> 
      <gml:lowerCorner>9.9 9.9</gml:lowerCorner>
      <gml:upperCorner>14.9 12.9</gml:upperCorner>
    </gml:Envelope>
  </gml:boundedBy>
  
  <gml:domainSet>
    <cis10:ReferenceableGridByVectors gml:id="ex2" dimension="2" srsName="https://www.opengis.net/def/crs/EPSG/0/4326">  
      <gml:limits>
        <gml:GridEnvelope>
          <gml:low>0 0</gml:low>
          <gml:high>4 3</gml:high>
        </gml:GridEnvelope>
      </gml:limits>
      <gml:axisLabels>x y</gml:axisLabels>
      <cis10:origin>
        <gml:Point gml:id="o1.2">
          <gml:pos>2 8</gml:pos>
        </gml:Point>
      </cis10:origin>
      <cis10:generalGridAxis>
        <cis10:GeneralGridAxis>
          <cis10:offsetVector>0.333 0.667</cis10:offsetVector>
          <cis10:coefficients>
            0 3 8 12 18
            0 4 10 14 18
            -2 1 5 8 15
            0 1 5 9 13
          </cis10:coefficients>
          <cis10:gridAxesSpanned>x y</cis10:gridAxesSpanned>
          <cis10:sequenceRule axisOrder="+1 +2">Linear</cis10:sequenceRule>
        </cis10:GeneralGridAxis>
      </cis10:generalGridAxis>
      <cis10:generalGridAxis>
        <cis10:GeneralGridAxis>
          <cis10:offsetVector>0.667 -0.667</cis10:offsetVector>
          <cis10:coefficients>
            0 0 2 3 3
            3 4 4 5 6
            7 7 8 8 9
            9 8.5 9.5 9 10
          </cis10:coefficients>
          <cis10:gridAxesSpanned>x y</cis10:gridAxesSpanned>
          <cis10:sequenceRule axisOrder="+1 +2">Linear</cis10:sequenceRule>
        </cis10:GeneralGridAxis>
      </cis10:generalGridAxis>
    </cis10:ReferenceableGridByVectors>
  </gml:domainSet>
  
  <gml:rangeSet>
    <gml:DataBlock>
      <gml:rangeParameters/>
      <gml:tupleList>
        248 248 248 248 248 248 248 248 29 78 248 248 248 248 248 248 248 29 78 78 248 248 248 248 248 248 29 78 29 8 
      </gml:tupleList>
    </gml:DataBlock>
  </gml:rangeSet>
  
  <gml:coverageFunction>
    <gml:GridFunction>
      <gml:sequenceRule axisOrder="+1 +2">Linear</gml:sequenceRule>
      <gml:startPoint>0 0</gml:startPoint>
    </gml:GridFunction>
  </gml:coverageFunction>
  
  <cis10:rangeType>
    <swe:DataRecord>
      <swe:field name="red">
        <swe:Quantity definition="https://opengis.net/def/property/OGC/0/Radiance">
          <swe:description>Red Channel</swe:description>
          <swe:nilValues>
            <swe:NilValues>
              <swe:nilValue reason="https://www.opengis.net/def/nil/OGC/0/BelowDetectionRange">0</swe:nilValue>
              <swe:nilValue reason="https://www.opengis.net/def/nil/OGC/0/AboveDetectionRange">255</swe:nilValue>
            </swe:NilValues>
          </swe:nilValues>
          <swe:uom code="W.m-2.sr-1.um-1"/>
          <swe:constraint>
            <swe:AllowedValues>
              <swe:interval>0 255</swe:interval>
              <swe:significantFigures>3</swe:significantFigures>
            </swe:AllowedValues>
          </swe:constraint>
        </swe:Quantity>
      </swe:field>
      <swe:field name="green">
        <swe:Quantity definition="https://opengis.net/def/property/OGC/0/Radiance">
          <swe:description>Green Channel</swe:description>
          <swe:nilValues>
            <swe:NilValues>
              <swe:nilValue reason="https://www.opengis.net/def/nil/OGC/0/BelowDetectionRange">0</swe:nilValue>
              <swe:nilValue reason="https://www.opengis.net/def/nil/OGC/0/AboveDetectionRange">255</swe:nilValue>
            </swe:NilValues>
          </swe:nilValues>
          <swe:uom code="W.m-2.sr-1.um-1"/>
          <swe:constraint>
            <swe:AllowedValues>
              <swe:interval>0 255</swe:interval>
              <swe:significantFigures>3</swe:significantFigures>
            </swe:AllowedValues>
          </swe:constraint>
        </swe:Quantity>
      </swe:field>
      <swe:field name="blue">
        <swe:Quantity definition="https://opengis.net/def/property/OGC/0/Radiance">
          <swe:description>Blue Channel</swe:description>
          <swe:nilValues>
            <swe:NilValues>
              <swe:nilValue reason="https://www.opengis.net/def/nil/OGC/0/BelowDetectionRange">0</swe:nilValue>
              <swe:nilValue reason="https://www.opengis.net/def/nil/OGC/0/AboveDetectionRange">255</swe:nilValue>
            </swe:NilValues>
          </swe:nilValues>
          <swe:uom code="W.m-2.sr-1.um-1"/>
          <swe:constraint>
            <swe:AllowedValues>
              <swe:interval>0 255</swe:interval>
              <swe:significantFigures>3</swe:significantFigures>
            </swe:AllowedValues>
          </swe:constraint>
        </swe:Quantity>
      </swe:field>  
    </swe:DataRecord>
  </cis10:rangeType>
  
</cis10:ReferenceableGridCoverage>