# 095. Spatial concentration of recorded area

**Question:** Which source grid cells contain the greatest recorded burned area?

## Result

The largest computed metric is 1,384 for 6,5; the smallest is 0 for 5,5. Metric: hectares (Recorded hectares).

Coordinates are local source grid indices, not geographic coordinates. Repeated observations may describe related events.

![Spatial concentration of recorded area](outputs/chart.png)

| x | y | records | hectares | median_hectares | cell |
| --- | --- | --- | --- | --- | --- |
| 6 | 5 | 49 | 1,384 | 2.14 | 6,5 |
| 8 | 6 | 52 | 1,265 | 1.175 | 8,6 |
| 7 | 4 | 45 | 474.4 | 1.38 | 7,4 |
| 2 | 2 | 25 | 462.6 | 0 | 2,2 |
| 4 | 4 | 36 | 397.4 | 1.42 | 4,4 |
| 4 | 5 | 25 | 287 | 0 | 4,5 |
| 1 | 2 | 19 | 219.9 | 0 | 1,2 |
| 6 | 3 | 25 | 192.8 | 0 | 6,3 |
| 8 | 8 | 1 | 185.8 | 185.8 | 8,8 |
| 9 | 4 | 4 | 185.6 | 39.16 | 9,4 |
| 4 | 3 | 22 | 172.9 | 2.345 | 4,3 |
| 1 | 3 | 10 | 157.1 | 3.025 | 1,3 |
| 1 | 4 | 15 | 150.3 | 3.5 | 1,4 |
| 6 | 4 | 9 | 144.5 | 1.9 | 6,4 |

The chart shows 14 of 36 result rows; the table previews the first 14 in the analysis-defined order. [Download the full result table](outputs/results.csv). Numerical values are computed from the source; missing results stay unavailable.

## Method

Grid-cell counts, sums and medians without inventing latitude or longitude.

The study uses shared source preparation and reusable statistical routines. Its specific transformations are in [analysis.py](analysis.py), and common model/evaluation code is in [portfolio/methods.py](../../portfolio/methods.py). The [notebook](analysis.ipynb) executes the study and displays the saved results.

## Decision and limitations

Obtain land-area exposure and event identifiers before using this as a spatial risk map.

The sample consists of recorded fire observations, not all places and times at risk. Zero recorded area is not evidence of no ignition. No precise dates or event identifiers are supplied. This is not an emergency forecasting system. 

Related studies may share observations or holdouts. These are focused analytical studies, not independent replications or deployed business systems. Any model refinements informed by these results need new untouched evaluation data. No commercial impact is inferred from an association or backtest.

## Reproduce

From the repository root, after installing `requirements.txt`:

```powershell
python projects/095-spatial-concentration-of-recorded-area/analysis.py
```

Source data are downloaded automatically if absent. Original archives are retained unchanged and checked by SHA-256. The cleaned cache normalizes column names; field-specific changes are visible in [data preparation](../../portfolio/data.py). Runtime evidence is in [receipt.json](outputs/receipt.json).

## Source

[Forest Fires](https://archive.ics.uci.edu/dataset/162/forest+fires), Cortez and Morais (2007). [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source data are transformed and aggregated in this study. [Source provenance](../../data/provenance/fires.json) and [prepared-data audit](../../data/provenance/fires_prepared.json) record the downloaded files, field coverage and hashes.
