<?xml version="1.0" encoding="UTF-8"?>
<wcs20:GetCoverage
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:wcs20="http://www.opengis.net/wcs/2.0" xmlns:swe="http://www.opengis.net/swe/2.0"
    xmlns:wcsCRS="http://www.opengis.net/wcs_service-extension_crs/1.0"
    xmlns:int="http://www.opengis.net/WCS_service-extension_interpolation/1.0"
    xmlns:rsub="http://www.opengis.net/wcs/range-subsetting/1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:metocean="http://def.wmo.int/metce/2013/metocean"
    xmlns:scal="http://www.opengis.net/WCS_service-extension_scaling/1.0"
    xmlns:wcs21="http://www.opengis.net/wcs/2.1/gml"
    service="WCS" version="2.0.0"
    xsi:schemaLocation=
    "http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd
    http://www.opengis.net/wcs/crs/1.0 http://schemas.opengis.net/wcs/crs/1.0/wcsCrs.xsd
    http://www.opengis.net/wcs/range-subsetting/1.0 http://schemas.opengis.net/wcs/range-subsetting/1.0/wcsRsub.xsd
    http://www.opengis.net/WCS_service-extension_interpolation/1.0 http://schemas.opengis.net/wcs/interpolation/1.0/wcsInt.xsd
    http://www.opengis.net/WCS_service-extension_scaling/1.0 http://schemas.opengis.net/wcs/scaling/1.0/wcsScal.xsd">

    <!--In this example a single point is extracted from a 3D MetOcean cube containing forecast surface variables e.g. precipitation.
        The coordinates of the point are 50N, 10W at 2017-07-15T00:00:00Z and on 500hPa pressure surface. This point may or may not
        lie on the original grid. If not then the nearest point to this location will be extracted. Even though no actual interpolation
        takes place the interpolation method is still specified and is set to "nearest neighbour". There are no axis specific methods
        as the interpolation methods applies to all axes and therefore only the global interpolation method is required. The element
        wcsCRS describes the coordinate reference systems of the "coverage" referenced by the Coverage identifier i.e.wcs20:CoverageId -->

    <wcs20:Extension>
        <rsub:rangeSubset>
            <rsub:rangeComponent>rainfall_rate</rsub:rangeComponent>
        </rsub:rangeSubset>
        <rsub:rangeSubset>
            <rsub:rangeComponent>snowfall_rate</rsub:rangeComponent>
        </rsub:rangeSubset>
        <rsub:RangeSubset>
            <rsub:RangeItem>
                <rsub:RangeComponent>rainfall_rate</rsub:RangeComponent>
            </rsub:RangeItem>
            <rsub:RangeItem>
                <rsub:RangeComponent>snowfall_rate</rsub:RangeComponent>
            </rsub:RangeItem>
        </rsub:RangeSubset>
        <wcsCRS:GetCoverageCrs>
            <wcsCRS:GetCoverageCrs>
                <wcsCRS:subsettingCrs> http://www.opengis.net/def/crs-combine?
                    1=http://www.opengis.net/def/crs/EPSG/0/4326&amp;
                    2=http://www.opengis.net/def/temporal/ISO8601</wcsCRS:subsettingCrs>
            </wcsCRS:GetCoverageCrs>
        </wcsCRS:GetCoverageCrs>

        <int:Interpolation>
            <int:globalInterpolation>http://www.opengis.net/def/interpolation/OGC/1/nearest-neighbor</int:globalInterpolation>
        </int:Interpolation>

    </wcs20:Extension>
    <wcs20:CoverageId>UK_GLOBAL_2012-05-15T00.00.00Z_Ground</wcs20:CoverageId>
    <wcs20:DimensionSlice>
        <wcs20:Dimension>Lat</wcs20:Dimension>
        <wcs20:SlicePoint>50.0</wcs20:SlicePoint>
    </wcs20:DimensionSlice>
    <wcs20:DimensionSlice>
        <wcs20:Dimension>Lon</wcs20:Dimension>
        <wcs20:SlicePoint>10.0</wcs20:SlicePoint>
    </wcs20:DimensionSlice>
    <wcs20:DimensionSlice>
        <wcs20:Dimension>ValidityTime</wcs20:Dimension>
        <wcs20:SlicePoint>2017-07-15T00:00:00Z</wcs20:SlicePoint>
    </wcs20:DimensionSlice>
    <wcs20:format>CovJSON</wcs20:format>
    <wcs20:mediaType></wcs20:mediaType>
</wcs20:GetCoverage>

