xrspatial.fire.rate_of_spread#
- xrspatial.fire.rate_of_spread(slope_agg: DataArray, wind_speed_agg: DataArray, fuel_moisture_agg: DataArray, fuel_model: int = 1, name: str = 'rate_of_spread') DataArray[source]#
Rate of spread using a simplified Rothermel model.
Uses the Anderson 13 fuel model lookup table and computes per-pixel spread rate from slope, wind speed, and fuel moisture.
- Parameters:
slope_agg (xr.DataArray) – Terrain slope in degrees.
wind_speed_agg (xr.DataArray) – Mid-flame wind speed in km/h.
fuel_moisture_agg (xr.DataArray) – Dead fuel moisture content as a fraction (0-1).
fuel_model (int, default=1) – Anderson 13 fuel model number (1-13).
name (str, default='rate_of_spread') – Name of output DataArray.
- Returns:
Rate of spread in m/min (float32).
- Return type:
xr.DataArray