Professional Documents
Culture Documents
(Joseph Matondang) FWI Calculation On Google Cloud Platform
(Joseph Matondang) FWI Calculation On Google Cloud Platform
Current version of InaFDRS uses Canadian Fire Weather Index system as an input.
The weather data used as an input for the FWI system is derived from ECMWF ERA5
Real Time Data.
ERA5 Real-time + Ensemble Data is only free for meteorological agency, others need
commercial license.
Uses only weather data observed at noon local time and calculates the fire danger indices
with three moisture codes from different fuels:
Fine Fuel Moisture Code (FFMC), represents the moisture content of litter and other
cured fine fuels weighing about 0.25 kg/m^2;
Duff Moisture Code (DMC), represent the moisture content of loosely compacted
decomposing organic matter weighing about 5 kg/m^2;
Drought Code (DC), represents a deep layer of compact organic matter weighing 25
kg/m^2;
Canadian Fire Weather Index System (cont’d)
From the moisture codes, intermediary indices are calculated and one final Fire Weather
Index is used for fire management agencies:
Initial Spread Index (ISI), represent the rate rate of spread alone without influence of
fuel;
Buildup Index (BUI), represents the total fuel available to the spreading fire; and
Fire Weather Index (FWI), represents the intensity of the spreading fire as energy output
rate per unit length of fire front.
European Centre for Medium-Range Weather Forecasts (ECMWF)
The European model provides hourly, 0.1 arc degree resolution weather data that
includes, but not limited to:
- Hourly (total) precipitation
- Temperature
- Dew-point temperature (to derive relative humidity)
- Wind speed (u-component and v-component)
Two types of data are available, ERA5 Reanalysis and Ensemble data, providing
prediction for the future.
Fire Weather Index Calibration for Indonesia
The calculation of FWI System in Indonesian Fire Danger Rating System still uses the
equation provided by CFFDRS, although the value interpretation has been calibrated
to match local climates and fuel types.
Scientific studies were done to calibrate the FWI System through historical fire
occurrence (FFMC), historical fire load (FWI), visibility in haze events (DC), constant
day length/drying factor (DC/DMC), and intensity of fire (ISI).
Indonesian Fire Weather Index Classification
RESTful online file storage web service for storing and accessing data on Google Cloud
Platform
Store GeoTIFFs in a cloud optimized format with Google Earth Engine and re-access
the image for future use
Low latency, high durability, unlimited storage with no
minimum object size
Google Cloud Project: Service Account
Applications running in Google Cloud can have its own Project. Create a Service
Account for the application and assign resources (Earth Engine API and Google Cloud
Storage) to be used by the Service Account
Multiple service accounts can be used for different purposes (e.g., for downloading and
processing the daily FWI inputs, computing the fuel moisture codes and indices, and
exporting / download the data)
Use microservices approach to create a modular, simpler-to-manage applications for
devops team.
Way Forward:
Serverless
Application
Google Cloud Functions
Scalable pay-as-you-go functions as a service (FaaS) to run code with zero server
management
Run open source runtimes (Python, JavaScript, etc) and configure function with runtime
variables.
Google Cloud PubSub and Google Cloud Scheduler
Global Forecast System (GFS) is a weather forecast model produced by the National
Center for Environmental Prediction (NCEP) NOAA
Provides hourly forecast, updated every 6 hours with a spatial resolution of 0.25 arc
degrees
Provides temperature, relative humidity (2m above ground), two wind speed
components (10m above ground) and total precipitation on the surface.
Data is free to use, in public domain, available to be downloaded from Google Earth
Engine
GFS Prediction Parameters for FWI Inputs
Name Units Min Max
relative_humidity_2m_above_ground % 1 100.05
fwi-bicubic-shapefiles
Storing SHP of the FWI indices and codes in 1 km
resolution
FWI Inputs Python Module
Use Global Forecast System for temperature,
relative humidity, and wind speed (u component and
v component) at noon WIB;
Animation Timelapse
Rain past 24 hours (mm) Fine Fuel Moisture Code Fire Weather Index
Fire Weather Index Calculator Application
Environment variables define the parameters
required, no need to code to add more provinces
Engineering:
- Cloud-native Architecture (serverless, full cloud solution)
- Different weather inputs and preprocessing method (netCDF + xarray)
Scientific:
- Recalibrating the FWI System by leveraging Google Earth Engine datasets
- Novel algorithm for fire prediction based on FWI and Machine Learning / Artificial
Intelligence