Alert & Threshold System

Rainfall Thresholds

Configuring and checking rainfall threshold alerts for total, anomaly, and extreme probability layers.


Overview

The rainfall threshold system monitors weekly, monthly, and seasonal forecast data against configured limits. Alerts can be set for:

  • Total (Amount) — Trigger when rainfall exceeds or falls below an absolute mm threshold.
  • Anomaly — Trigger when the departure from the long-term mean exceeds a set percentage or absolute value.
  • Exceptional Probability — Trigger when the probability of exceeding the 90th/95th/99th percentile exceeds a set threshold.

Check Command Options

python manage.py check_rainfall_thresholds
python manage.py check_rainfall_thresholds --type week
python manage.py check_rainfall_thresholds --date 2025-01-15
python manage.py check_rainfall_thresholds --days-back 7
python manage.py check_rainfall_thresholds --dry-run    # Preview without saving

Alerts Dashboard

View and manage rainfall alerts at /rainfall/alerts/.