Central - data hub spine. Adapters -> NATS/JetStream -> archive.
  • Python 90.6%
  • HTML 9%
  • PLpgSQL 0.4%
Find a file
Matt Johnson a157f39fe0 fix(nws): replace centroid filter with polygon intersection
- Add shapely dependency for geometry intersection
- Replace _point_in_region with _geometry_intersects_region
- Uses Shapely shape() and box() for proper GeoJSON handling
- Avoids false negatives on large alert polygons

Also adds antimeridian-crossing bbox rejection to RegionConfig validator.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-16 19:05:05 +00:00
docs docs: add Phase 1B planning notes 2026-05-16 18:49:29 +00:00
etc-templates scaffold: initial repository structure 2026-05-15 19:16:24 +00:00
scripts scaffold: initial repository structure 2026-05-15 19:16:24 +00:00
sql schema: migrate NWS settings from states to region bbox 2026-05-16 18:50:05 +00:00
src/central fix(nws): replace centroid filter with polygon intersection 2026-05-16 19:05:05 +00:00
systemd docs: add systemd unit files with EnvironmentFile directive 2026-05-16 02:38:21 +00:00
tests test: remove ineffective hot-reload tests 2026-05-16 17:19:27 +00:00
.gitignore scaffold: initial repository structure 2026-05-15 19:16:24 +00:00
.python-version foundation: models, adapter ABC, config, CE wire, schema 2026-05-15 21:08:56 +00:00
LICENSE scaffold: initial repository structure 2026-05-15 19:16:24 +00:00
pyproject.toml fix(nws): replace centroid filter with polygon intersection 2026-05-16 19:05:05 +00:00
README.md scaffold: initial repository structure 2026-05-15 19:16:24 +00:00
uv.lock fix(nws): replace centroid filter with polygon intersection 2026-05-16 19:05:05 +00:00

Central

Central is the data hub spine for the infrastructure. Adapters normalize upstream sources into a canonical event shape, publish CloudEvents to NATS/JetStream, and archive to TimescaleDB for historical query. Single-LXC deployment.

Status

Phase 0 — scaffold. Not yet operational.

Architecture

  • Python 3.12 (uv-managed)
  • NATS + JetStream for live event bus
  • TimescaleDB + PostGIS for archive and geospatial query
  • One supervisor process managing adapter lifecycle
  • One archive consumer process persisting events to TimescaleDB
  • Both processes systemd-managed

License

MIT. See LICENSE.