Marco Galatola
commited on
Commit
·
86900a3
1
Parent(s):
edb75ab
Add stac_catalog_query notebook and update README
Browse files- README.md +91 -1
- requirements.txt +3 -0
- stac_catalog_query.ipynb +108 -0
README.md
CHANGED
|
@@ -1,3 +1,93 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
tags:
|
| 3 |
+
- earth
|
| 4 |
+
- farsite
|
| 5 |
+
size_categories:
|
| 6 |
+
- 10K<n<100K
|
| 7 |
---
|
| 8 |
+
# PanEU FARSITE STAC Catalog
|
| 9 |
+
|
| 10 |
+
## Dataset Description
|
| 11 |
+
|
| 12 |
+
This dataset provides harmonised, continent-wide raster layers at approximately 74m spatial resolution covering Europe, developed under the FIRE‑RES programme by the CIRGEO Centre at the University of Padova. It includes information on surface fuel models, canopy fuel attributes (such as canopy height, canopy cover, bulk density), and topographic features. These layers are co-registered and designed to support wildfire behaviour modelling, risk assessment, and fire management planning. The dataset is particularly well-suited for use with the FARSITE fire simulation system, enabling consistent and large-scale fire spread modelling and comparative analyses across European landscapes.
|
| 13 |
+
|
| 14 |
+
### Dataset Summary
|
| 15 |
+
|
| 16 |
+
- **Resolution**: 74.73702481775855 meters
|
| 17 |
+
- **Coverage**: European
|
| 18 |
+
- **Format**: GeoTIFF tiles organized in STAC (SpatioTemporal Asset Catalog) format
|
| 19 |
+
- **Total Items**: 1
|
| 20 |
+
- **Data Type**: Int16 elevation values in meters
|
| 21 |
+
- **Coordinate Reference System**: ETRS89-extended / LAEA Europe (EPSG:3035)
|
| 22 |
+
|
| 23 |
+
### Source and Development
|
| 24 |
+
|
| 25 |
+
The Pan-European Fuel Map Server was developed within the framework of the FIRE-RES (Innovative Technologies and Socio-Ecological Solutions for Fire-Resilient Territories in Europe) project, coordinated by the Interdepartmental Research Centre of Geomatics (CIRGEO) at the University of Padova (Italy).
|
| 26 |
+
|
| 27 |
+
The dataset integrates multiple open geospatial sources to create harmonised, Europe-wide layers suitable for wildfire behaviour modelling. Key input datasets include:
|
| 28 |
+
- **Copernicus Land Monitoring Service (CLMS)** land cover products for vegetation and land use classification.
|
| 29 |
+
- **Copernicus Digital Elevation Model (EU-DEM)** for elevation, slope, and aspect derivation.
|
| 30 |
+
- **European Space Agency (ESA) and JRC canopy datasets** for forest structure parameters such as canopy height and canopy cover.
|
| 31 |
+
|
| 32 |
+
## Dataset Structure
|
| 33 |
+
|
| 34 |
+
The catalog is organized hierarchically to facilitate efficient data discovery and access:
|
| 35 |
+
|
| 36 |
+
```
|
| 37 |
+
farsite-layers/
|
| 38 |
+
├── layers/
|
| 39 |
+
| ├── panEu_aspect.tif
|
| 40 |
+
| └── ...
|
| 41 |
+
├── farsite-landscape-eu/
|
| 42 |
+
│ ├── catalog.json
|
| 43 |
+
| ├── farsite-landscape-eu_2020/...
|
| 44 |
+
| └── ...
|
| 45 |
+
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
## Key Features
|
| 49 |
+
|
| 50 |
+
- **STAC Compliance**: Fully compliant with STAC specification for interoperability
|
| 51 |
+
- **On-demand Access**: Eliminates need to download large rasters
|
| 52 |
+
|
| 53 |
+
## Usage
|
| 54 |
+
|
| 55 |
+
For detailed usage examples, refer to the included notebook `stac_catalog_query.ipynb`.
|
| 56 |
+
|
| 57 |
+
## Provenance and Attribution
|
| 58 |
+
|
| 59 |
+
This dataset builds upon work developed by the Interdepartmental Research Centre of Geomatics (CIRGEO) at the University of Padova within the framework of the FIRE-RES (Innovative Technologies and Socio-Ecological Solutions for Fire-Resilient Territories in Europe) project. It provides harmonised, Europe-wide landscape layers derived from multiple open data sources to support wildfire behaviour modelling.
|
| 60 |
+
|
| 61 |
+
**Dataset Portal**: https://www.cirgeo.unipd.it/fire-res/app/
|
| 62 |
+
|
| 63 |
+
**Citation**: When using this dataset, please cite the following publication:
|
| 64 |
+
|
| 65 |
+
Erico Kutchartt, José Ramón González-Olabarria, Núria Aquilué, Jordi Garcia-Gonzalo, Antoni Trasobares, Brigite Botequim, Marius Hauglin, Palaiologos Palaiologou, Vassil Vassilev, Adrian Cardil, Miguel Ángel Navarrete, Christophe Orazio, Francesco Pirotti,
|
| 66 |
+
Pan-European fuel map server: An open-geodata portal for supporting fire risk assessment,
|
| 67 |
+
Geomatica,
|
| 68 |
+
Volume 76, Issue 2,
|
| 69 |
+
2024,
|
| 70 |
+
100036,
|
| 71 |
+
ISSN 1195-1036,
|
| 72 |
+
https://doi.org/10.1016/j.geomat.2024.100036.
|
| 73 |
+
(https://www.sciencedirect.com/science/article/pii/S1195103624005615)
|
| 74 |
+
|
| 75 |
+
## License and Terms of Use
|
| 76 |
+
|
| 77 |
+
Please refer to the original data distribution terms from the University of Padova
|
| 78 |
+
|
| 79 |
+
## References
|
| 80 |
+
|
| 81 |
+
Erico Kutchartt, José Ramón González-Olabarria, Núria Aquilué, Jordi Garcia-Gonzalo, Antoni Trasobares, Brigite Botequim, Marius Hauglin, Palaiologos Palaiologou, Vassil Vassilev, Adrian Cardil, Miguel Ángel Navarrete, Christophe Orazio, Francesco Pirotti,
|
| 82 |
+
Pan-European fuel map server: An open-geodata portal for supporting fire risk assessment,
|
| 83 |
+
Geomatica,
|
| 84 |
+
Volume 76, Issue 2,
|
| 85 |
+
2024,
|
| 86 |
+
100036,
|
| 87 |
+
ISSN 1195-1036,
|
| 88 |
+
https://doi.org/10.1016/j.geomat.2024.100036.
|
| 89 |
+
(https://www.sciencedirect.com/science/article/pii/S1195103624005615)
|
| 90 |
+
|
| 91 |
+
## Contact and Support
|
| 92 |
+
|
| 93 |
+
For questions about the original dataset methodology and creation, contact the University of Padova research team. For issues specific to this STAC catalog implementation, please refer to the repository documentation and issue tracker.
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pystack == 1.5.1
|
| 2 |
+
pystac-client == 0.9.0
|
| 3 |
+
stackstac == 0.5.1
|
stac_catalog_query.ipynb
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"id": "65ea6bd6",
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"source": [
|
| 8 |
+
"# PanEU FARSITE STAC Catalog Query"
|
| 9 |
+
]
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"cell_type": "markdown",
|
| 13 |
+
"id": "1f078972",
|
| 14 |
+
"metadata": {},
|
| 15 |
+
"source": [
|
| 16 |
+
"This notebook demonstrates how to query the PanEU FARSITE STAC (SpatioTemporal Asset Catalog) data"
|
| 17 |
+
]
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"cell_type": "markdown",
|
| 21 |
+
"id": "e4193f75",
|
| 22 |
+
"metadata": {},
|
| 23 |
+
"source": [
|
| 24 |
+
"Install the required packages in requirements.txt before proceding"
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"cell_type": "code",
|
| 29 |
+
"execution_count": null,
|
| 30 |
+
"id": "3d70258a",
|
| 31 |
+
"metadata": {},
|
| 32 |
+
"outputs": [],
|
| 33 |
+
"source": [
|
| 34 |
+
"import stackstac\n",
|
| 35 |
+
"import pystac_client"
|
| 36 |
+
]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"cell_type": "code",
|
| 40 |
+
"execution_count": null,
|
| 41 |
+
"id": "913ad54f",
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [],
|
| 44 |
+
"source": [
|
| 45 |
+
"catalog_url = \"https://huggingface.co/datasets/links-ads/farsite-layers/resolve/main/farsite-landscape-eu/catalog.json\"\n",
|
| 46 |
+
"turin_bounds = [4116721.515191618, 2417796.910183853, 4153424.2920735567, 2458840.613292041]"
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"cell_type": "code",
|
| 51 |
+
"execution_count": null,
|
| 52 |
+
"id": "10ca0199",
|
| 53 |
+
"metadata": {},
|
| 54 |
+
"outputs": [],
|
| 55 |
+
"source": [
|
| 56 |
+
"# Open the catalog\n",
|
| 57 |
+
"catalog = pystac_client.Client.open(catalog_url)\n",
|
| 58 |
+
"\n",
|
| 59 |
+
"# Get the single item\n",
|
| 60 |
+
"item = next(catalog.get_all_items())\n",
|
| 61 |
+
"\n",
|
| 62 |
+
"# Stack it\n",
|
| 63 |
+
"stack = stackstac.stack(\n",
|
| 64 |
+
" [item],\n",
|
| 65 |
+
" bounds=turin_bounds,\n",
|
| 66 |
+
" epsg=3035,\n",
|
| 67 |
+
" dtype=\"int64\",\n",
|
| 68 |
+
" rescale=False,\n",
|
| 69 |
+
" fill_value=-9999\n",
|
| 70 |
+
")\n",
|
| 71 |
+
"cube = stack.astype(\"int16\").squeeze().compute()"
|
| 72 |
+
]
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"cell_type": "code",
|
| 76 |
+
"execution_count": null,
|
| 77 |
+
"id": "7d9c387f",
|
| 78 |
+
"metadata": {},
|
| 79 |
+
"outputs": [],
|
| 80 |
+
"source": [
|
| 81 |
+
"# Visualize the aspect layer\n",
|
| 82 |
+
"aspect = cube.isel(band=2)\n",
|
| 83 |
+
"aspect.plot.imshow()"
|
| 84 |
+
]
|
| 85 |
+
}
|
| 86 |
+
],
|
| 87 |
+
"metadata": {
|
| 88 |
+
"kernelspec": {
|
| 89 |
+
"display_name": "farsite-layers",
|
| 90 |
+
"language": "python",
|
| 91 |
+
"name": "python3"
|
| 92 |
+
},
|
| 93 |
+
"language_info": {
|
| 94 |
+
"codemirror_mode": {
|
| 95 |
+
"name": "ipython",
|
| 96 |
+
"version": 3
|
| 97 |
+
},
|
| 98 |
+
"file_extension": ".py",
|
| 99 |
+
"mimetype": "text/x-python",
|
| 100 |
+
"name": "python",
|
| 101 |
+
"nbconvert_exporter": "python",
|
| 102 |
+
"pygments_lexer": "ipython3",
|
| 103 |
+
"version": "3.12.11"
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"nbformat": 4,
|
| 107 |
+
"nbformat_minor": 5
|
| 108 |
+
}
|