From 172cad3b441166bc456436ca20f05ff36a06dafe Mon Sep 17 00:00:00 2001 From: St33v Date: Thu, 30 Jul 2026 11:47:58 +1000 Subject: Shrink morph window from 30 to 3 days Archived PNGs were accumulating unbounded on the cramped root volume; the morph only ever needs a small rolling window and PNGs can be regenerated from the retained raw PDFs if needed. Co-Authored-By: Claude Sonnet 5 --- synopticMorph.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synopticMorph.sh b/synopticMorph.sh index 012c106..0c22ca1 100644 --- a/synopticMorph.sh +++ b/synopticMorph.sh @@ -3,7 +3,7 @@ set -euo pipefail shopt -s nullglob # SJP 2026-06-10 -# Build a 30-day morph timelapse of BOM synoptic charts. +# Build a rolling morph timelapse of BOM synoptic charts (default 3-day window). # Cache structure: /mnt/enclave/synoptic/pairs/__/p_NNNN.png # On each call: identify rolling window, fill any missing pairs, evict # out-of-window pairs, stitch with linger/dwell, encode mp4. @@ -15,7 +15,7 @@ PAIRS_DIR="$WORK_ROOT/pairs" OUT_DIR="$WORK_ROOT/out" PUBLISH_PATH="${PUBLISH_PATH:-/srv/www/pestrel/morph.mp4}" -WINDOW_DAYS="${WINDOW_DAYS:-30}" +WINDOW_DAYS="${WINDOW_DAYS:-3}" WINDOW_CHARTS=$((WINDOW_DAYS * 4)) MORPH_N="${MORPH_N:-23}" FPS="${FPS:-12}" -- cgit v1.3.1