Repository navigation
Phase 4: per-cell statistics on any grid (cell_stats, LaeaGrid) - #36
Merged
Merged
Conversation
…ase 4) cell_stats(hotspots, grid, cells=, mask=, land=): fire-days (type 0, distinct days), fire-days per km², WorldCover cropland and natural share under the fire-days, distance from the nearest static source, trust at the centre. None is not measured, never 0: a cell on a static source of the mask is not measured. LaeaGrid (ETRS89-LAEA, EPSG:3035, IOGP 7-2 formulas, no pyproj; default origin = EEA reference grid, code()), DegreeGrid, the Grid protocol. firms cells COUNTRY FIRST [LAST] [--mask] [--land]. Benchmark: ten cells checks on the EFFIS perimeters. Cropland under the fire-days is 0.58-0.86 on the four agricultural fires FIRMS saw and 0-0.004 on the five wildfires; Polizzi stays not measured. 34 of 41. Part of #26. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VFEUmXwmaxtB7PF8sSP1d4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #26, phase 4.
firms_client.cells.cell_stats(hotspots, grid, cells=, mask=, land=)→{cell: CellStats}: fire-days (type 0, distinct days), fire-days per km², WorldCover cropland and natural share under the fire-days,static_kmto the nearest static source,trustscore at the centre. None is not measured, never 0: a cell on a static source of the mask is not measured; no land cover or no fire-day →croplandNone.LaeaGrid(ETRS89-LAEA / EPSG:3035 computed here, checked on the IOGP 7-2 worked example; default origin = the EEA 1 km reference grid,code()→1kmE4869N2012; with an AOI's bounds as origin it is Limen's grid),DegreeGrid, anyGrid.firms cells Italy 2024 [2025] [--bbox] [--mask] [--land] [--format csv|json].Benchmark (ten new
cellschecks, truth = EFFIS CORINE shares): cropland under the fire-days 0.59 / 0.71 / 0.58 / 0.86 on the agricultural fires, 0–0.004 on the five wildfires; Polizzi (no detection) stays not measured and fails.classify_burningcalled three of those fourmixed: the continuous share keeps what the yes/no label throws away. 34 of 41 pass.Limen side (parity with
fire_density,crop_burning_sharevialimen misura) after the release.🤖 Generated with Claude Code
https://claude.ai/code/session_01VFEUmXwmaxtB7PF8sSP1d4