← Climate_Change/AI

How to Augment Wildfire Datasets with Historical Weather Data using Python and Google Earth Engine

This notebook demonstrates how to augment wildfire datasets with historical weather data using Python and Google Earth Engine’s ERA5 dataset. Here we transform basic fire records (coordinates and timestamps) into enriched datasets containing comprehensive environmental context including temperature, wind patterns, humidity, and soil conditions which are all critical information for fire risk modeling and analysis. The workflow includes automatic retry logic for handling API timeouts and incremental batch saving to prevent data loss during long processing runs.

Topics covered:

  • Authenticating and querying Google Earth Engine API
  • Extracting historical weather data from ERA5 satellite imagery
  • Batch processing large wildfire datasets with error resilience
  • Converting wind components to speed and cardinal directions
  • Handling multiple data formats (CSV, Excel, JSON, SQLite)

Note: This notebook is maintained in the wps-labs repository.

Click the Colab badge below to run the notebook interactively:

Open In Colab

Posted on November 25, 2025
← Climate_Change/AI