forest_loss_in_area
Calculates forest loss per year within an area of interest from a lossyear raster and reports raster coverage, so partial tiles are never misread as no loss.
Instructions
Forest loss per year inside an area of interest from a local "lossyear" raster (e.g. a Hansen Global Forest Change tile, where 1 = 2001 ... 24 = 2024). Pixel areas are geodesic for rasters in degrees. Also reports how much of the area the raster actually covers, so a partial tile is never read as "no loss".
Args: aoi_path: Polygon layer with the area of interest (project area, leakage belt...). lossyear_raster: Path to the GeoTIFF with loss years. aoi_layer: Layer name inside a multi-layer AOI file (optional). start_year: First year to include, e.g. 2015 (optional). end_year: Last year to include, e.g. 2024 (optional). base_year: Year added to the raster value (2000 for Hansen GFC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aoi_path | Yes | ||
| end_year | No | ||
| aoi_layer | No | ||
| base_year | No | ||
| start_year | No | ||
| lossyear_raster | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||