{
  "service": "seaq",
  "description": "Live marine measurements from the instruments nearest a latitude and longitude.",
  "usage": [
    "GET /48.43,-123.37",
    "GET /?lat=48.43&lon=-123.37",
    "GET /48.43,-123.37?within=50     -- a tighter radius, 1 to 100 km",
    "GET /buoys?lat=48.43&lon=-123.37&within=160&reports=waves&limit=20 -- stations nearest first",
    "GET /buoys/ndbc:46026            -- one station, every variable with its own time",
    "GET /buoys/ndbc:46026.json       -- the same, as JSON even to a browser",
    "GET /sources                     -- how each upstream is doing: when its cron last ran and last passed"
  ],
  "rows": [
    "waterTemperature",
    "waves",
    "wind",
    "airTemperature",
    "pressure",
    "camera"
  ],
  "note": "Every reading says where it was taken, how far that is from where you asked, and how old it is. seaq measures, it does not model.",
  "picking": "Each row is the nearest station within 100 km (or within=) with a reading under 3 hours old, from one line of one feed. A row nothing nearby measured is absent.",
  "sources": [
    "NOAA National Data Buoy Center (latest_obs.txt, every 10 minutes)",
    "Environment and Climate Change Canada (SWOB-ML, its own buoys, primary over NDBC's relay)"
  ],
  "cams": "camera.image is NDBC's BuoyCam photo on ndbc.noaa.gov: six equal views side by side above a 30 px caption bar. Crop from the image's own size; most are 2880x300.",
  "auth": "None. CORS is open, so a browser can call this directly.",
  "terms": "Free, unsupported, not for volume, and as is. Send a User-Agent that names your app. https://almanac.observer/#use",
  "repository": "https://github.com/gshaw/almanac/tree/main/services/seaq"
}
