Fuel Map#
- rforge.library.processes.fuel.fuel(coverage: Layer | ndarray, height: Layer | ndarray, distance: Layer | ndarray, water: Layer | ndarray, artificial: Layer | ndarray, models: list | tuple[int, int, int], tree_height: float, alpha: Layer | ndarray | None = None, as_array: bool = False) ndarray | Layer [source]#
Calculate the fuel map of the terrain based on defined fuel models.
- Parameters:
coverage – Layer data representing vegetation coverage of the terrain.
height – Layer data representing canopy height of the vegetation.
distance – Layer data representing distance field of terrain features.
water – Layer data representing water presence in the terrain.
artificial – Layer data representing artificial structures in the terrain.
models – Tuple of integers representing the fuel models.
tree_height – Height of the trees.
alpha – Alpha layer. Defaults to None.
as_array – If True, returns the distance field as a Numpy array. Defaults to False.
- Returns:
Fuel map.
- Raises:
TypeError – If inputs are not of the accepted type.