# Digital Earth Pacific Intertidal Elevation and Exposure (Sentinel-2/Landsat, 30 m)

## Facts

- Provider: Pacific Community (SPC) / Digital Earth Pacific
- License: CC-BY-4.0
- Size: 1,548 objects (516 elevation + 516 exposure + 516 stac-item), 220,337,855 bytes (220 MB)
- Records: Raster, no rows. 516 tiles x 2 rasters. Raster sizes vary: 32x25 pixels (tile 010/045) to 3200x3200. Intertidal (non-NaN) pixels are a small share
- Format: JSON, TIFF (in sampled files)
- Stored at: Amazon S3, s3://dep-public-data/dep_s2ls_intertidal (us-west-2)
- Access: public, readable without an account
- Category: Earth Observation & Geospatial
- Source: https://registry.opendata.aws/dep-intertidal/
- Page: https://scigantic.com/archive/7b02c4cb-f8ed-5571-abe4-06f19d2d68a2
- Keywords: Earth Observation & Geospatial, satellite imagery, AWS Open Data

## About

Modelled intertidal elevation (metres) and exposure (percent of time exposed) for Pacific coastlines, 2024, at 30 m. 516 tiles on the 96 km EPSG:3832 DEP grid, each cropped to its intertidal extent, delivered as float64 NaN-masked Cloud Optimized GeoTIFFs (1,548 objects, 220 MB in total). Published by the Pacific Community (SPC) under CC BY 4.0.

## Load the data

```python
# Task: intertidal area and the elevation/exposure relationship for tile 036/050 (2024), the largest file in the product
import os, numpy as np, rasterio
ROOT = os.path.expanduser("~/archive")
d = f"{ROOT}/0-0-1/036/050/2024/dep_s2ls_intertidal_036_050_2024"
with rasterio.open(d + "_elevation.tif") as s:
    elev = s.read(1)                       # float64, 3200 x 3200 = 82 MB
    print(s.crs, s.shape, s.res, "nodata", s.nodata, s.bounds)
with rasterio.open(d + "_exposure.tif") as s:
    expo = s.read(1)
ok = np.isfinite(elev)
print("valid pixels", int(ok.sum()), "of", ok.size, "-> %.1f km2 at 30 m" % (ok.sum() * 900 / 1e6))
print("NaN masks identical:", bool((ok == np.isfinite(expo)).all()))
print("elevation m  min/median/max: %.2f %.2f %.2f" % (elev[ok].min(), np.median(elev[ok]), elev[ok].max()))
print("exposure     min/median/max: %d %d %d" % (expo[ok].min(), np.median(expo[ok]), expo[ok].max()))
print("corr(elevation, exposure) = %.2f" % np.corrcoef(elev[ok], expo[ok])[0, 1])
for lo, hi in [(-0.5, -0.3), (-0.3, -0.1), (-0.1, 0.1), (0.1, 0.3)]:
    m = ok & (elev >= lo) & (elev < hi)
    print("elev [%.1f,%.1f): %7d px, mean exposure %.1f" % (lo, hi, m.sum(), expo[m].mean() if m.any() else float("nan")))
```

Written for a Scigantic notebook, where /mnt/archive (SCIGANTIC_MOUNT_PATH) is the mounted dataset.

## Data structure

File types in sampled files: JSON, TIFF

| Field | Type |
| --- | --- |
| `elevation` | float64 metres, nodata NaN, no scale/offset. Measured range across 4 tiles: min -0.72, max 0.50 (tile 036/050: -0.40 to… |
| `exposure` | float64 holding integer percent values, nodata NaN. Whole numbers 1 to 90 measured (tile 036/050: 1 to 82, median 5… |
| `STAC properties` | datetime 2024-01-01T00:00:00Z, start_datetime and end_datetime spanning 2024, proj:epsg 3832, proj:shape… |

Files:

```text
Mount root is dep_s2ls_intertidal/. One version folder (0-0-1), one year (2024), two COGs plus a STAC item per tile:
0-0-1/<col>/<row>/2024/dep_s2ls_intertidal_<col>_<row>_2024_elevation.tif
0-0-1/<col>/<row>/2024/dep_s2ls_intertidal_<col>_<row>_2024_exposure.tif
0-0-1/<col>/<row>/2024/dep_s2ls_intertidal_<col>_<row>_2024.stac-item.json
Tile ids use the same fixed 96 km grid in EPSG:3832 as the other DEP annual products (x_min = -3,000,000 + col*96,000, y_min = -4,000,000 + row*96,000), but each file is cropped to the extent that contains intertidal pixels, so rasters are usually smaller than 3200x3200 and tiny tiles exist. Measured by full listing: 516 tiles, cols 009-130, rows 008-065, only year 2024, one build date (2025-05-20).
```

Example file: `0-0-1/036/050/2024/dep_s2ls_intertidal_036_050_2024_elevation.tif = modelled intertidal elevation in metres, float64, 3200x3200 at 30 m, EPSG:3832, bounds x 456000..552000, y 800000..896000 (about 154.5E, 7.6N), 17.1 MB, the largest elevation file in the product.`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/7b02c4cb-f8ed-5571-abe4-06f19d2d68a2
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/7b02c4cb-f8ed-5571-abe4-06f19d2d68a2
- Over MCP: `get_schema_card` with id `7b02c4cb-f8ed-5571-abe4-06f19d2d68a2` at https://api.scigantic.com/mcp

## Related topics

- [Earth Observation & Geospatial datasets](https://scigantic.com/topics/earth-observation-and-geospatial)
- [Satellite imagery datasets](https://scigantic.com/topics/satellite-imagery)
