summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSt33v <github@f3rr3t.com>2026-07-30 11:47:58 +1000
committerSt33v <github@f3rr3t.com>2026-07-30 11:47:58 +1000
commit172cad3b441166bc456436ca20f05ff36a06dafe (patch)
tree70f5f933089d4632f022eb7b3cce650960e72cf6
parentac348c4279104aa15c9fbabf58ac423f218f7491 (diff)
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 <noreply@anthropic.com>
-rw-r--r--synopticMorph.sh4
1 files 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/<chartA>__<chartB>/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}"