{
  "type": "Collection",
  "stac_version": "1.1.0",
  "stac_extensions": [
    "https://stac-extensions.github.io/table/v1.2.0/schema.json",
    "https://stac-extensions.github.io/scientific/v1.0.0/schema.json"
  ],
  "id": "crcp-subsurface-temp",
  "title": "NOAA Subsurface Temperature Loggers, Hawaiian Islands (2005–2024)",
  "description": "In-water temperature records from NOAA's National Coral Reef Monitoring Program subsurface temperature recorders (STRs) at permanent coral reef monitoring sites across the Main and Northwestern Hawaiian Islands, March 2005 to August 2024: 145 logger sites (0.3 to 38.6 m deep) and 88,808,469 readings, mostly every 5 minutes. This is the in-situ companion to satellite sea surface temperature: it records the temperature the reef experiences at depth.\n\n**Three tables.** The site layer (GeoParquet, PMTiles and hex) has one point per site, with its recorded depth range, number of deployments, first and last reading and temperature range. `observations` has every reading. `deployments` has one row per logger deployment, with instrument, cruises, deploy and retrieve times, recorded depth and NOAA's valid-data window. Readings and deployments join to the site layer on `OCC_SITEID`, and to each other on `INSTFIELDSUMMARYID`. Logger depth is re-measured at each deployment and varies by up to 3.5 m within a site; each reading carries its deployment's depth.\n\n```sql\n-- daily mean temperature at one site\nSELECT date_trunc('day', time) AS day, avg(TEMP_C)\nFROM read_parquet('<observations>')\nWHERE OCC_SITEID = 'OCC-OAH-001'\nGROUP BY 1 ORDER BY 1\n```\n\n**Region names.** Upstream spells each region two ways (`MHI` and `Main Hawaiian Islands`, `NWHI` and `Northwestern Hawaiian Islands`), so filtering on one spelling drops sites such as Niʻihau and Molokini. The site layer uses the long form; the readings and deployments keep the upstream value, and their `REGION` description gives the expression that normalises it.\n\n**Changes from upstream.** Upstream serves about a third of its rows more than once: 136,474,266 rows hold 88,808,469 distinct readings. The extra copies are dropped. Five deployments (2306–2309, 2311, Hawaiʻi Island 2016–2019) are served twice, the second copy with the serial number in scientific notation and times cut to the minute; the full-precision values are kept. The date-part columns upstream repeats beside `time` (year, month, day, hour, minute, second and two timestamp copies) are dropped. 344 readings share a site, depth and time but come from two different deployments with different temperatures; both are kept.\n\n**Licence.** A US Government work by NOAA, in the public domain. NOAA's metadata state: \"No access constraints are applicable\" and \"No use constraints are applicable\".\n\n**Provenance.** Pulled in full from NCEI ERDDAP dataset `CRCP_Subsurface_Temp_Hawaii` (`date_created` 2026-06-12) on 2026-11-02, one site at a time. Staged copy: `s3://public-hawaii/raw/crcp-subsurface-temp/` (145 per-site files, 2,597,090,082 bytes in all), with per-file sizes and sha256 in `MANIFEST.sha256` (sha256 88355806aca4a2b83f10e529f41b7af881626b41d35a037a9cd8ec9a4bba1f5b). The original data are held in NCEI accessions 0162216, 0162219, 0210383 and 0300489.",
  "license": "public-domain",
  "keywords": [
    "Hawaii",
    "coral reef",
    "water temperature",
    "in situ",
    "NCRMP",
    "NOAA",
    "HI-GLEN"
  ],
  "providers": [
    {
      "name": "NOAA Coral Reef Conservation Program (National Coral Reef Monitoring Program)",
      "roles": [
        "producer"
      ],
      "url": "https://www.coris.noaa.gov/monitoring/biological.html"
    },
    {
      "name": "NOAA National Centers for Environmental Information (NCEI)",
      "url": "https://www.ncei.noaa.gov/"
    },
    {
      "name": "Boettiger Lab",
      "roles": [
        "processor",
        "host"
      ],
      "url": "https://github.com/boettiger-lab/data-workflows"
    }
  ],
  "sci:citation": "NOAA Coral Reef Conservation Program. National Coral Reef Monitoring Program: subsurface temperature recorder data for the Hawaiian Islands. NCEI ERDDAP dataset CRCP_Subsurface_Temp_Hawaii. Accessed 2026-11-02 from https://www.ncei.noaa.gov/erddap/tabledap/CRCP_Subsurface_Temp_Hawaii.html",
  "created": "2026-11-02T17:40:43Z",
  "updated": "2026-11-02T17:43:45Z",
  "extent": {
    "spatial": {
      "bbox": [
        [
          -178.384244,
          18.92253,
          -154.8176,
          28.459226
        ]
      ]
    },
    "temporal": {
      "interval": [
        [
          "2005-03-02T21:30:00Z",
          "2024-08-25T19:59:59Z"
        ]
      ]
    }
  },
  "links": [
    {
      "rel": "self",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/stac-collection.json",
      "type": "application/json"
    },
    {
      "rel": "root",
      "href": "https://s3-west.nrp-nautilus.io/public-data/stac/catalog.json",
      "type": "application/json"
    },
    {
      "rel": "parent",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/stac-collection.json",
      "type": "application/json"
    },
    {
      "rel": "describedby",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/README.md",
      "type": "text/markdown"
    },
    {
      "rel": "about",
      "href": "https://www.ncei.noaa.gov/erddap/info/CRCP_Subsurface_Temp_Hawaii/index.html",
      "type": "text/html",
      "title": "NCEI ERDDAP: CRCP_Subsurface_Temp_Hawaii (metadata)"
    },
    {
      "rel": "via",
      "href": "https://www.ncei.noaa.gov/erddap/tabledap/CRCP_Subsurface_Temp_Hawaii.html",
      "type": "text/html",
      "title": "NCEI ERDDAP tabledap access form"
    },
    {
      "rel": "license",
      "href": "https://www.noaa.gov/information-technology/public-domain",
      "type": "text/html",
      "title": "NOAA: public domain"
    },
    {
      "rel": "pmtiles",
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp.pmtiles",
      "type": "application/vnd.pmtiles",
      "title": "PMTiles vector tiles of logger sites",
      "pmtiles:layers": [
        "crcp-subsurface-temp"
      ]
    },
    {
      "rel": "agents",
      "href": "./AGENTS.md",
      "type": "text/markdown",
      "title": "Agent guide"
    }
  ],
  "assets": {
    "crcp-subsurface-temp-parquet": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "GeoParquet: 145 logger sites",
      "roles": [
        "data"
      ],
      "created": "2026-11-02T17:42:07Z",
      "description": "One point per logger site, with recorded depth range, deployment count, first and last reading and temperature range.",
      "table:columns": [
        {
          "name": "_cng_fid",
          "type": "int64"
        },
        {
          "name": "OCC_SITEID",
          "type": "string"
        },
        {
          "name": "depth_min_m",
          "type": "double"
        },
        {
          "name": "depth_max_m",
          "type": "double"
        },
        {
          "name": "REGION",
          "type": "string"
        },
        {
          "name": "LOCATION",
          "type": "string"
        },
        {
          "name": "latitude",
          "type": "double"
        },
        {
          "name": "longitude",
          "type": "double"
        },
        {
          "name": "n_deployments",
          "type": "int64"
        },
        {
          "name": "instrument_types",
          "type": "string"
        },
        {
          "name": "n_obs",
          "type": "int64"
        },
        {
          "name": "first_time",
          "type": "timestamp"
        },
        {
          "name": "last_time",
          "type": "timestamp"
        },
        {
          "name": "temp_min_c",
          "type": "double"
        },
        {
          "name": "temp_mean_c",
          "type": "double"
        },
        {
          "name": "temp_max_c",
          "type": "double"
        },
        {
          "name": "geometry",
          "type": "geometry"
        }
      ]
    },
    "crcp-subsurface-temp-pmtiles": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp.pmtiles",
      "type": "application/vnd.pmtiles",
      "title": "PMTiles vector tiles of logger sites",
      "roles": [
        "visual"
      ],
      "created": "2026-11-02T17:42:43Z",
      "description": "Vector tiles of the logger sites for web maps. MapLibre source-layer name: 'crcp-subsurface-temp'.",
      "vector:layers": [
        "crcp-subsurface-temp"
      ],
      "table:columns": [
        {
          "name": "_cng_fid",
          "type": "number"
        },
        {
          "name": "OCC_SITEID",
          "type": "string"
        },
        {
          "name": "depth_min_m",
          "type": "number"
        },
        {
          "name": "depth_max_m",
          "type": "number"
        },
        {
          "name": "REGION",
          "type": "string"
        },
        {
          "name": "LOCATION",
          "type": "string"
        },
        {
          "name": "latitude",
          "type": "number"
        },
        {
          "name": "longitude",
          "type": "number"
        },
        {
          "name": "n_deployments",
          "type": "number"
        },
        {
          "name": "instrument_types",
          "type": "string"
        },
        {
          "name": "n_obs",
          "type": "number"
        },
        {
          "name": "first_time",
          "type": "string"
        },
        {
          "name": "last_time",
          "type": "string"
        },
        {
          "name": "temp_min_c",
          "type": "number"
        },
        {
          "name": "temp_mean_c",
          "type": "number"
        },
        {
          "name": "temp_max_c",
          "type": "number"
        }
      ]
    },
    "crcp-subsurface-temp-hex": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/hex/h0=*/data_0.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "H3 hexagonal index (resolution 8) of logger sites",
      "roles": [
        "data"
      ],
      "created": "2026-11-02T17:43:45Z",
      "description": "H3 index of the 145 logger sites at resolution 8 (each point falls in one cell of about 0.74 km²), hive-partitioned by h0. One row per site: a point covers a single cell, so per-site values such as n_obs are not repeated and can be summed directly. Some neighbouring sites share a cell (145 sites fall in 109 cells), so count sites with COUNT(DISTINCT _cng_fid), not by cells. Point data at resolution 8; it carries no finer resolution.",
      "h3:native_resolution": 8,
      "h3:parent_resolutions": [
        0
      ],
      "table:columns": [
        {
          "name": "_cng_fid",
          "type": "int64"
        },
        {
          "name": "OCC_SITEID",
          "type": "string"
        },
        {
          "name": "depth_min_m",
          "type": "double"
        },
        {
          "name": "depth_max_m",
          "type": "double"
        },
        {
          "name": "REGION",
          "type": "string"
        },
        {
          "name": "LOCATION",
          "type": "string"
        },
        {
          "name": "latitude",
          "type": "double"
        },
        {
          "name": "longitude",
          "type": "double"
        },
        {
          "name": "n_deployments",
          "type": "int64"
        },
        {
          "name": "instrument_types",
          "type": "string"
        },
        {
          "name": "n_obs",
          "type": "int64"
        },
        {
          "name": "first_time",
          "type": "timestamp"
        },
        {
          "name": "last_time",
          "type": "timestamp"
        },
        {
          "name": "temp_min_c",
          "type": "double"
        },
        {
          "name": "temp_mean_c",
          "type": "double"
        },
        {
          "name": "temp_max_c",
          "type": "double"
        },
        {
          "name": "h8",
          "type": "uint64"
        },
        {
          "name": "h0",
          "type": "int64"
        }
      ]
    },
    "crcp-subsurface-temp-observations": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/observations.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "Observations: every temperature reading, 2005–2024 (non-spatial table)",
      "roles": [
        "data"
      ],
      "created": "2026-11-02T17:40:43Z",
      "description": "One row per reading (88,808,469 rows), sorted by site, depth and time. Join to the site layer on OCC_SITEID, or to deployments on INSTFIELDSUMMARYID.",
      "table:columns": [
        {
          "name": "OCC_SITEID",
          "type": "string"
        },
        {
          "name": "DEPTH_M",
          "type": "double"
        },
        {
          "name": "time",
          "type": "timestamp"
        },
        {
          "name": "TEMP_C",
          "type": "double"
        },
        {
          "name": "INSTFIELDSUMMARYID",
          "type": "string"
        },
        {
          "name": "INSTRUMENTSN",
          "type": "string"
        },
        {
          "name": "latitude",
          "type": "double"
        },
        {
          "name": "longitude",
          "type": "double"
        },
        {
          "name": "REGION",
          "type": "string"
        },
        {
          "name": "LOCATION",
          "type": "string"
        }
      ]
    },
    "crcp-subsurface-temp-deployments": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/deployments.parquet",
      "type": "application/vnd.apache.parquet",
      "title": "Deployments: one row per logger deployment (non-spatial table)",
      "roles": [
        "data"
      ],
      "created": "2026-11-02T17:40:47Z",
      "description": "One row per logger deployment (308 rows), with instrument, cruises, deploy and retrieve times, NOAA's valid-data window and summary statistics of its readings.",
      "table:columns": [
        {
          "name": "INSTFIELDSUMMARYID",
          "type": "string"
        },
        {
          "name": "OCC_SITEID",
          "type": "string"
        },
        {
          "name": "DEPTH_M",
          "type": "double"
        },
        {
          "name": "REGION",
          "type": "string"
        },
        {
          "name": "LOCATION",
          "type": "string"
        },
        {
          "name": "latitude",
          "type": "double"
        },
        {
          "name": "longitude",
          "type": "double"
        },
        {
          "name": "INSTRUMENT_TYPE",
          "type": "string"
        },
        {
          "name": "INSTRUMENTSN",
          "type": "string"
        },
        {
          "name": "DEPLOY_CRUISE",
          "type": "string"
        },
        {
          "name": "DEPLOY_UTC",
          "type": "timestamp"
        },
        {
          "name": "RETRIEVE_CRUISE",
          "type": "string"
        },
        {
          "name": "RETRIEVE_UTC",
          "type": "timestamp"
        },
        {
          "name": "VALID_DATA_START",
          "type": "timestamp"
        },
        {
          "name": "VALID_DATA_END",
          "type": "timestamp"
        },
        {
          "name": "accession_url",
          "type": "string"
        },
        {
          "name": "n_obs",
          "type": "int64"
        },
        {
          "name": "first_time",
          "type": "timestamp"
        },
        {
          "name": "last_time",
          "type": "timestamp"
        },
        {
          "name": "temp_min_c",
          "type": "double"
        },
        {
          "name": "temp_mean_c",
          "type": "double"
        },
        {
          "name": "temp_max_c",
          "type": "double"
        }
      ]
    },
    "style-crcp-subsurface-temp-temp-mean-c": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/styles/crcp-subsurface-temp-temp-mean-c.json",
      "type": "application/vnd.mapbox.style+json",
      "title": "PMTiles vector tiles of logger sites by mean temperature",
      "description": "Features shaded by mean temperature, in 6 classes at quantile breaks of the data. Water temperature is what these loggers record.",
      "roles": [
        "style",
        "default"
      ]
    },
    "thumbnail": {
      "href": "https://s3-west.nrp-nautilus.io/public-hawaii/crcp-subsurface-temp/thumbnail.png",
      "type": "image/png",
      "roles": [
        "thumbnail"
      ],
      "title": "Thumbnail",
      "description": "Preview drawn from the collection's default style style-crcp-subsurface-temp-temp-mean-c."
    }
  },
  "table:columns": [
    {
      "name": "_cng_fid",
      "type": "int64",
      "description": "Feature identifier added during processing; one per site, so COUNT(DISTINCT _cng_fid) counts sites."
    },
    {
      "name": "OCC_SITEID",
      "type": "string",
      "description": "NOAA site identifier for the logger site (for example OCC-OAH-001). Each site has one logger position."
    },
    {
      "name": "depth_min_m",
      "type": "double",
      "description": "Shallowest logger depth recorded at this site over its deployments, metres. Depth is re-measured at each deployment, so it varies slightly (at most 3.5 m within a site)."
    },
    {
      "name": "depth_max_m",
      "type": "double",
      "description": "Deepest logger depth recorded at this site over its deployments, metres."
    },
    {
      "name": "REGION",
      "type": "string",
      "description": "Region. Values: MHI=Main Hawaiian Islands, NWHI=Northwestern Hawaiian Islands; upstream also writes each in full (Main Hawaiian Islands, Northwestern Hawaiian Islands). The site layer uses only the full names. On readings and deployments, normalise before grouping: CASE WHEN REGION IN ('MHI', 'Main Hawaiian Islands') THEN 'Main Hawaiian Islands' ELSE 'Northwestern Hawaiian Islands' END.",
      "values": [
        "Main Hawaiian Islands",
        "Northwestern Hawaiian Islands",
        "MHI",
        "NWHI"
      ]
    },
    {
      "name": "LOCATION",
      "type": "string",
      "description": "Island or atoll where the site is.",
      "values": [
        "French Frigate",
        "Hawaii",
        "Kauai",
        "Kure",
        "Lanai",
        "Laysan",
        "Lehua",
        "Lisianski",
        "Maui",
        "Molokai",
        "Molokini",
        "Niihau",
        "Oahu",
        "Pearl & Hermes"
      ]
    },
    {
      "name": "latitude",
      "type": "double",
      "description": "Latitude (decimal degrees, WGS 84). On the site layer, the median over the site's deployments, which sit within a few metres of each other."
    },
    {
      "name": "longitude",
      "type": "double",
      "description": "Longitude (decimal degrees, WGS 84). On the site layer, the median over the site's deployments."
    },
    {
      "name": "n_deployments",
      "type": "int64",
      "description": "Number of logger deployments at this site (1 to 5)."
    },
    {
      "name": "instrument_types",
      "type": "string",
      "description": "Logger types used at this site. Values: STR=Subsurface Temperature Recorder.",
      "values": [
        "STR"
      ]
    },
    {
      "name": "n_obs",
      "type": "int64",
      "description": "Number of temperature readings in the row's scope: the whole site record on the site layer, one deployment on deployments."
    },
    {
      "name": "first_time",
      "type": "timestamp",
      "description": "Time of the first reading in the row's scope (UTC)."
    },
    {
      "name": "last_time",
      "type": "timestamp",
      "description": "Time of the last reading in the row's scope (UTC)."
    },
    {
      "name": "temp_min_c",
      "type": "double",
      "description": "Lowest temperature in the row's scope, °C."
    },
    {
      "name": "temp_mean_c",
      "type": "double",
      "description": "Mean of the readings in the row's scope, °C. Readings are evenly spaced within a deployment but deployments cover different periods, so a site mean is not a climatological mean."
    },
    {
      "name": "temp_max_c",
      "type": "double",
      "description": "Highest temperature in the row's scope, °C."
    },
    {
      "name": "geometry",
      "type": "geometry",
      "description": "Point at the site (WGS 84 / OGC:CRS84)."
    },
    {
      "name": "DEPTH_M",
      "type": "double",
      "description": "Logger depth in metres below the surface, as recorded for this deployment (0.3 to 38.6). Re-measured at each deployment, so it differs slightly between deployments at one site."
    },
    {
      "name": "time",
      "type": "timestamp",
      "description": "Time of the reading (UTC). Loggers record every 5 minutes on most deployments."
    },
    {
      "name": "TEMP_C",
      "type": "double",
      "description": "Water temperature at the logger, °C (16.0 to 32.9; no missing values)."
    },
    {
      "name": "INSTFIELDSUMMARYID",
      "type": "string",
      "description": "NOAA identifier for one logger deployment (one instrument, one site, deploy to retrieve). Joins readings to the deployments table."
    },
    {
      "name": "INSTRUMENTSN",
      "type": "string",
      "description": "Serial number of the logger."
    },
    {
      "name": "INSTRUMENT_TYPE",
      "type": "string",
      "description": "Logger type. Values: STR=Subsurface Temperature Recorder.",
      "values": [
        "STR"
      ]
    },
    {
      "name": "DEPLOY_CRUISE",
      "type": "string",
      "description": "Research cruise on which the logger was deployed."
    },
    {
      "name": "DEPLOY_UTC",
      "type": "timestamp",
      "description": "Time the logger was deployed (UTC)."
    },
    {
      "name": "RETRIEVE_CRUISE",
      "type": "string",
      "description": "Research cruise on which the logger was retrieved."
    },
    {
      "name": "RETRIEVE_UTC",
      "type": "timestamp",
      "description": "Time the logger was retrieved (UTC)."
    },
    {
      "name": "VALID_DATA_START",
      "type": "timestamp",
      "description": "Start of the period NOAA marks as valid data for this deployment (UTC)."
    },
    {
      "name": "VALID_DATA_END",
      "type": "timestamp",
      "description": "End of the period NOAA marks as valid data for this deployment (UTC)."
    },
    {
      "name": "accession_url",
      "type": "string",
      "description": "NCEI archive accession that holds this deployment's original data."
    },
    {
      "name": "h8",
      "type": "uint64",
      "description": "H3 cell ID at resolution 8 (native resolution) containing the logger."
    },
    {
      "name": "h0",
      "type": "int64",
      "description": "H3 cell ID at resolution 0, used as the partition key for hive-partitioned reads."
    }
  ]
}
