earthkit.climate.land.low_flow_frequency

earthkit.climate.land.low_flow_frequency(q: xarray.DataArray | str = 'q', ds: xarray.Dataset | Any = None, *, threshold_factor: float = 0.2, freq: str = 'YS-OCT', **kwargs: Any) Any

Low flow frequency.

Calculate the number of days in a given period with flows lower than a specified threshold, given by a fraction of the mean flow. By default, the period is the water year starting on 1st October and ending on 30th September, as commonly defined in North America.

Units:

  • q_low_flow_frequency: days

This function wraps xclim.indicators.land.low_flow_frequency.

Parameters:
  • q (xarray.DataArray | str) – Daily streamflow data.

  • threshold_factor (float) – Factor by which the mean flow is multiplied to set the low flow threshold, default is 0.2.

  • freq (str) – Resampling frequency, default is ‘YS-OCT’ for water year starting in October and ending in September.

  • ds (xarray.Dataset | Any) – Input dataset.

  • **kwargs (Any) – Additional keyword arguments.

Returns:

The computed index.

Return type:

Any