Input data

Input data #

Most failed runs come from data that doesn’t follow these rules. Check your data against this page before you run anything.

Grid #

  • All rasters must share one grid: the same CRS, extent and cell size as the Base Map set in the configuration.
  • Use GeoTIFF (.tif). The tools also read .sdat and .asc.
  • Mark missing values with the raster’s NoData value.

Configuration › Preprocess can align population, fuel, lightning and wind speed for you. The Python API aligns all inputs automatically.

Time series #

A time series is a folder with one raster per time step. The date must appear in each file name:

Time stepDate in file nameExample
DailyYYYYMMDDwsp_20050131.tif
MonthlyYYYYMMBA_200501.tif
YearlyYYYYfuel_2005.tif
  • Keep each variable in its own folder, with no other rasters in it.
  • Don’t put any other 4-or-more-digit number in file names. Avoid such numbers in folder paths too, for example D:\data2020\.
  • The folder must cover every date between the Start Date and the End Date you run.

Variables and units #

InputUnitTime stepUsed by
Temperature (daily max.)°CdailyFuel moisture
Precipitationmm/daydailyFuel moisture
Relative humidity%dailyFuel moisture
Wind speedkm/hdailyFuel moisture, burned area, spread
Fuel moisturefraction of dry weight (e.g. 0.12)dailyProbability, burned area, spread
Population densitypeople/km²constant or yearlyProbability
Fuel loadgC/m²constant or yearlyProbability, spread
Lightning (optional)flashes/km²/monthconstant, monthly or yearlyProbability
Fire perimeterspolygon shapefile—Create Labeling Data
Observed burned areakm² per pixelmonthlyCalibration
Wind direction (optional)—dailySpread
Slope (optional)%constantSpread

Fuel moisture must be a fraction, not a percentage and not the FFMC index. Daily Fuel Moisture produces the right format. If you bring your own data, convert it first.

Fire perimeter shapefile requirements:

  • One polygon per fire.
  • A date column formatted YYYY-MM-DD.
  • A projected CRS in metres. AFEIM calculates fire areas in the shapefile’s own CRS, so a geographic (lat/lon) CRS gives wrong areas.

Observed burned area from global products such as GFED: convert it with Rasterize netCDF4, align it to the base map, convert it to km² per pixel, and name the files <name>_YYYYMM.tif.

To make a slope raster in percent from a DEM:

import AFEIM
AFEIM.Tools.topography('dem.tif', output_slope='slope.tif')