Skip to content

v0.2.0: Farm map, water forecast and satellite views

Choose a tag to compare

@sr320 sr320 released this 28 Oct 13:58
· 6 commits to main since this release

The map now centers on the farm itself, and the water forecast and satellite views from the last release are on the site. Live site: https://robertslab.github.io/acantha/

On the map

  • Farm layout. The bag blocks and the research-bags line, drawn from the farm schematic, with a popup per block. The map now opens zoomed to the farm (web/farm-layout.geojson; edit it in geojson.io).
  • Tide height lines. Contours every 2 ft from −6 to +12 ft MLLW around the farm, the same datum as the tide predictions, so a −2 ft low uncovers everything above the −2 ft line. Built from NOAA's 1/9 arc-second Puget Sound DEM by baseline/tide_contours.py, with NAVD88 shifted to MLLW using the Whitney Point (9445246) datums.
  • Farm photos. Geotagged photos dropped into photos/ become clickable markers with the picture, caption and date. photos/build.py publishes metadata-free web copies only; originals stay out of the repo. JPEG, HEIC and PNG work. See photos/README.md.
  • Satellite view (Sentinel-2). A scene picker with capture time, clear % at the bay and tide at capture, plus a Satellite card linking to the last clear view.
  • LiveOcean model cells drawn as hollow markers with a forecast chart.

On the dashboard

  • Water forecast card. UW LiveOcean surface temperature and salinity: now, the 3-day range, a 10-day chart with Port Townsend observations overlaid, and the recent model-vs-observation bias.
  • Flags use the model. The Vibrio check falls back to the model surface temperature when no observation is current and warns when the forecast reaches the threshold. A drop in salinity at the bay mouth adds a runoff note. Both thresholds are user settings.

Farm sensors

  • The Dragino D20-LB test unit now reports through The Things Network.
  • Every reading is archived to monthly CSVs on the sensor-data branch, so data is no longer lost after the site's 7-day window.
  • New guide for adding gateways and sensors: docs/sensors.md.
  • Clearer TTN errors, and paged storage requests so fetching doesn't hit TTN's limit.

Known gaps

  • The test sensor is listed at 8 ft (an estimate), but the elevation model puts that spot near 0 ft MLLW, so its in-water/exposed status may be off until the elevation is measured.
  • The farm layout is missing the lower-right block, buoys and edge lines from the schematic.
  • Still no live dissolved-oxygen or pH source for northern Hood Canal while the ORCA buoys are offline.

Full changelog: v0.1.0...v0.2.0

🤖 Generated with Claude Code