Commit Graph
5 Commits
Author SHA1 Message Date
wesandClaude Opus 4.8 5c09528df7 Add Open-Meteo hourly weather pipeline + queue/weather view
Backfills knoebels."LZ_open_meteo_hourly" from 2024-05-15 (start of queue
collection) and keeps it current. Imperial units; timestamps stored as naive
America/New_York to line up with the rest of the knoebels schema.

- weather_logger.py: --backfill uses the ERA5 Archive API; default mode does a
  self-healing recent sync via the Forecast API (past_days=7, upsert on conflict)
- docker-compose.yml: add `weather` oneshot service (also align scraper to its
  live `oneshot` profile)
- systemd/knb-weather.{service,timer}: nox user timer, every 6h (linger enabled)
- queries/dm_knb_queue_weather.sql: dm_knb_queue_weather view joining the full
  queue-time series to hourly weather (hour-bucketed), with a WMO code decode

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-01 10:38:01 -04:00
wes b9864b36b4 catch-up commit + csv with 2024 data 2024-12-17 09:57:05 -05:00
wes 9b86647b1c Forgot to save code for main datamart 2024-05-20 13:37:29 -04:00
wes 1678a2f5a6 Changed join to price table to a LEFT JOIN so that I can also keep track of the Alamo restaurant operating hours with the same tables 2024-05-20 13:35:46 -04:00
wes 0ce13cf8a4 first commit 2024-05-20 12:20:38 -04:00