test(firms): cover both coordinate bounds and blank values on each axis

Documents the adapter's skip rule and cross-references the two checks, which
sit in separate packages (provider parser and fire layer).
This commit is contained in:
Sameh Khamis committed 2026-10-14 19:21:57 -07:00
1 parent 493b154a6b
commit 6a7b89e436
3 files changed
+43 -2

No files matched your search

+2
View File
@@ -105,6 +105,8 @@ export function parseFirmsCsv(text) {
if (parts.length < header.length) continue; // malformed row — skip
const lat = Number(parts[iLat]);
const lon = Number(parts[iLon]);
// Blank or out-of-range positions are dropped, never read as 0 (see
// hasCoordinateValue in firmsAdapt.js for the proxy-record side).
if (
!parts[iLat].trim() ||
!parts[iLon].trim() ||