summaryrefslogtreecommitdiff
path: root/synopticChart.sh
AgeCommit message (Collapse)Author
5 daysFix synoptic chart rasterization: switch to pdftoppmHEADmastercr4y
BOM's IDY00030 chart-generator update on 2026-08-26 exposed an upstream Ghostscript bug where magick's PDF delegate silently drops all page content but isobars at production DPI. Poppler's pdftoppm renders the same PDFs correctly, so it now does the rasterization step and magick just resizes. Records the incident, remediation, and a separate unfixable BOM-side monochrome-fill defect in doc/rtfm.md.
2026-03-25Update cremonde deployment and runtime checksSt33v
2026-03-15Resize output PNG to fit 1920x1080St33v
Renders at 300dpi then resizes to screen resolution, keeping aspect ratio. PNG remains the right format for line art and flat colour. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15Fix synopticLatest.png world-readable permissionsSt33v
magick creates files respecting the process umask; chmod 644 after mv ensures nginx can serve the file. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15Add deployment config and strengthen synopticChart.shSt33v
- Inline DeriveTime from func/deriveTimeString.sh; delete func/ - Add set -euo pipefail, quoting, and stderr for error messages - Archive PDFs to /var/lib/synoptic/archive/raw/ after conversion - Publish PNG to /srv/www/synopticLatest.png - Add systemd units: synoptic.{service,timer}, synoptic-retry.{service,timer} - Timer fires at 02:10, 08:10, 14:10, 20:10 UTC (2h after BOM publish slots) - Add nginx site config for pestrel.com - Add setup.sh (run once on VPS as root) and deploy.sh (run from cr4y) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15ready for claudeSt33v
2022-01-11rudimentary handling of "no file at remote site"St33v
2022-01-04can download and convert when executed manuallySt33v
2022-01-04bare bonesSt33v