Commit 0740651
authored
* Add fire module: burn severity, fire behavior, and KBDI (#922)
Seven per-cell raster functions with numpy/cupy/dask/dask+cupy backends:
Burn severity: dnbr, rdnbr, burn_severity_class (USGS 7-class)
Fire behavior: fireline_intensity (Byram), flame_length, rate_of_spread
(simplified Rothermel with Anderson 13 fuel model lookup)
Fire danger: kbdi (single time-step Keetch-Byram Drought Index)
Includes 54 tests covering known values, NaN propagation, edge cases,
input validation, cross-backend parity, Dataset support, and accessor
smoke tests. Adds .xrs accessor methods for both DataArray and Dataset.
* Add fire analysis user guide notebook
Beginner-oriented walkthrough of all 7 fire module functions with
synthetic data: dNBR, RdNBR, burn severity classification, fireline
intensity, flame length, rate of spread (with fuel model comparison
and moisture sensitivity), and multi-day KBDI accumulation.
* Add fire section to README feature matrix
* Add fire module to Sphinx docs
- API reference page (docs/source/reference/fire.rst) with autosummary
directives for all 7 public functions
- User guide notebook (docs/source/user_guide/fire.ipynb) with synthetic
data examples for burn severity, fire behavior, and KBDI
- Updated reference and user guide toctrees
1 parent 9931145 commit 0740651
11 files changed
Lines changed: 2549 additions & 0 deletions
File tree
- docs/source
- reference
- user_guide
- examples/user_guide
- xrspatial
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
166 | 180 | | |
167 | 181 | | |
168 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments