summaryrefslogtreecommitdiff
path: root/radarFetch.sh
AgeCommit message (Collapse)Author
43 hoursForce rgba in ffmpeg apng pipelineSt33v
Composited frames are palette-based PNGs with slightly different palettes per frame; ffmpeg's apng encoder rejected this with "Input contains more than one unique palette." Converting to rgba in the filter chain gives all frames the same pixel format. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
44 hoursUse ffmpeg apng muxer for radar loopSt33v
ImageMagick on Arch lacks the APNG png-writer; magick was silently producing single-frame PNGs. Switch to ffmpeg's concat demuxer + apng muxer, which gives proper animated APNG with per-frame durations (last frame still gets END_PAUSE). Add ffmpeg to the pacman install list in setup.sh. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
44 hoursAdd IDR713 radar fetch and APNG loopSt33v
radarFetch.sh fetches BOM IDR713 transparencies (24h cache) and the last six 6-minute echo frames, composites them via cached lower/upper plates, and publishes an APNG loop to /srv/www/radar/. systemd: radar.{service,timer} on a 6-min cadence, with retry units mirroring the synoptic pattern. nginx: new radar.pestrel.com vhost (still commented in setup.sh until DNS propagation is confirmed). setup.sh provisions radar dirs, installs radar units, enables timer. deploy.sh accepts synoptic|radar arg. Parameterised on product code; adding another radar is a one-line config change. Spec: doc/bom-radar-spec.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>