<?xml version="1.0" encoding="UTF-8"?>
<WMS_Capabilities version="1.3.0"
  xmlns="http://www.opengis.net/wms"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <Service>
    <Name>WMS</Name>
    <Title>Current Lab Surface Currents</Title>
    <Abstract>Time-enabled OGC service (WMS-T and WMTS) providing pre-rendered surface current overlays from Current Lab forecast products. Select forecast hour via the TIME dimension or TIME query parameter.</Abstract>
    <Fees>None</Fees>
    <AccessConstraints>None. Public preview.</AccessConstraints>
    <ContactInformation>
      <ContactPersonPrimary>
        <OrganisationName>Current Lab</OrganisationName>
      </ContactPersonPrimary>
      <OnlineResource xlink:type="simple" xlink:href="https://current-lab.com" xmlns:xlink="http://www.w3.org/1999/xlink"/>
    </ContactInformation>
    <OnlineResource xlink:type="simple" xlink:href="https://tiles.current-lab.com/ows?SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetCapabilities"/>
  </Service>
  <Capability>
    <Request>
      <GetCapabilities>
        <Format>text/xml</Format>
        <DCPType><HTTP><Get>
          <OnlineResource xlink:type="simple" xlink:href="https://tiles.current-lab.com/ows?SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetCapabilities"/>
        </Get></HTTP></DCPType>
      </GetCapabilities>
      <GetMap>
        <Format>image/png</Format>
        <DCPType><HTTP><Get>
          <OnlineResource xlink:type="simple" xlink:href="https://tiles.current-lab.com/ows"/>
        </Get></HTTP></DCPType>
      </GetMap>
    </Request>
    <Layer>
      <Title>Current Lab Surface Currents</Title>
      <CRS>EPSG:3857</CRS>
      <EX_GeographicBoundingBox>
        <westBoundLongitude>-71.7300033569336</westBoundLongitude>
        <eastBoundLongitude>-71.0</eastBoundLongitude>
        <southBoundLatitude>41.0</southBoundLatitude>
        <northBoundLatitude>41.880001068115234</northBoundLatitude>
      </EX_GeographicBoundingBox>
      <Layer queryable="0">
        <Name>currents</Name>
        <Title>Surface currents</Title>
        <Abstract>Arrow symbols indicate current direction; color indicates speed. Data are pre-rendered map tiles. Use EPSG:3857 GetMap with the TIME dimension to select a forecast valid time. Coverage: Narragansett Bay. Native map zoom levels z10–z15. GetMap requests must use EPSG:3857. At zoom levels above z15, imagery is upscaled from the highest baked level. Below z10, areas without baked tiles are transparent. Tiles are rendered at 512px (2x) for sharp display at 256px map units.</Abstract>
        <CRS>EPSG:3857</CRS>
        <EX_GeographicBoundingBox>
          <westBoundLongitude>-71.7300033569336</westBoundLongitude>
          <eastBoundLongitude>-71.0</eastBoundLongitude>
          <southBoundLatitude>41.0</southBoundLatitude>
          <northBoundLatitude>41.880001068115234</northBoundLatitude>
        </EX_GeographicBoundingBox>
        <BoundingBox CRS="EPSG:4326" minx="41.0" miny="-71.7300033569336" maxx="41.880001068115234" maxy="-71.0"/>
        <BoundingBox CRS="EPSG:3857" minx="-7984947.448293651" miny="5012341.663847514" maxx="-7903683.846322423" maxy="5143021.100366073"/>
        <Dimension name="time" units="ISO8601" default="2026-08-27T22:00:00.000Z" nearestValue="1">2026-08-27T14:00:00.000Z,2026-08-27T15:00:00.000Z,2026-08-27T16:00:00.000Z,2026-08-27T17:00:00.000Z,2026-08-27T18:00:00.000Z,2026-08-27T19:00:00.000Z,2026-08-27T20:00:00.000Z,2026-08-27T21:00:00.000Z,2026-08-27T22:00:00.000Z</Dimension>
        <Style>
          <Name>default</Name>
          <Title>default</Title>
        </Style>
        <MaxWidth>4096</MaxWidth>
        <MaxHeight>4096</MaxHeight>
      </Layer>
    </Layer>
  </Capability>
</WMS_Capabilities>
