From 16436a8c08689e70947a7d62c96c397a9891268a Mon Sep 17 00:00:00 2001 From: Sirius DevOps Date: Mon, 24 Aug 2026 22:07:51 -0400 Subject: [PATCH] fires: default FIRMS_DAYS to 2 (NRT latency leaves day=1 empty) At some hours FIRMS NRT returns zero detections for day range 1; day range 2 returns thousands. Bump default to 2. --- app/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/config.py b/app/config.py index bb1e689..4d734ea 100644 --- a/app/config.py +++ b/app/config.py @@ -55,7 +55,8 @@ FIRMS_BBOX = os.getenv("FIRMS_BBOX", "-180,-60,180,75") # Poll cadence in seconds. FIRMS NRT updates every ~5-10 min; 900 = 15 min. FIRMS_INTERVAL = int(os.getenv("FIRMS_INTERVAL", "900")) # Day range for the area-CSV request. FIRMS accepts [1..5] days of NRT -# detections; the API 400s when this parameter is omitted. -FIRMS_DAYS = int(os.getenv("FIRMS_DAYS", "1")) +# detections; the API 400s when this parameter is omitted. Keep >=2: at +# some hours "1" returns zero detections due to NRT data latency. +FIRMS_DAYS = int(os.getenv("FIRMS_DAYS", "2")) # Outbound HTTP timeout for the FIRMS CSV download. FIRMS_TIMEOUT = float(os.getenv("FIRMS_TIMEOUT", "60"))