earthkit.climate.atmos.temperature.fire_season¶
- earthkit.climate.atmos.temperature.fire_season(tas: xarray.DataArray | str = 'tas', snd: xarray.DataArray | str | None = None, ds: xarray.Dataset | Any = None, *, method: str = 'WF93', freq: str | None = None, temp_start_thresh: Any = '12 degC', temp_end_thresh: Any = '5 degC', temp_condition_days: int = 3, snow_condition_days: int = 3, snow_thresh: Any = '0.01 m', **kwargs: Any) Any¶
Fire season mask.
Binary mask of the active fire season, defined by conditions on consecutive daily temperatures and, optionally, snow depths.
Units:
fire_season: dimensionless
This function wraps xclim.indicators.atmos.fire_season.
- Parameters:
tas (
xarray.DataArray | str) – Daily surface temperature, cffdrs recommends using maximum daily temperature.snd (
xarray.DataArray | str | None) – Snow depth, used with method == ‘LA08’.method (
str) – Which method to use. “LA08” and “GFWED” need the snow depth.freq (
str | None) – If given only the longest fire season for each period defined by this frequency, Every “seasons” are returned if None, including the short shoulder seasons.temp_start_thresh (
Any) – Minimal temperature needed to start the season. Must be scalar.temp_end_thresh (
Any) – Maximal temperature needed to end the season. Must be scalar.temp_condition_days (
int) – Number of days with temperature above or below the thresholds to trigger a start or an end of the fire season.snow_condition_days (
int) – Parameters for the fire season determination. Seefire_season(). Temperature is in degC, snow in m. The snow_thresh parameters is also used when dry_start is set to “GFWED”.snow_thresh (
Any) – Minimal snow depth level to end a fire season, only used with method “LA08”. Must be scalar.ds (
xarray.Dataset | Any) – Input dataset.**kwargs (
Any) – Additional keyword arguments.
- Returns:
The computed index.
- Return type:
Any