fires: default FIRMS_DAYS to 2 (NRT latency leaves day=1 empty)
Some checks failed
build-and-deploy / build (push) Failing after 1m31s
Some checks failed
build-and-deploy / build (push) Failing after 1m31s
At some hours FIRMS NRT returns zero detections for day range 1; day range 2 returns thousands. Bump default to 2.
This commit is contained in:
parent
250dbbb5df
commit
16436a8c08
1 changed files with 3 additions and 2 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue