Skip to content

Commit

Permalink
lower default thresh for snowfall
Browse files Browse the repository at this point in the history
Signed-off-by: Trevor James Smith <[email protected]>
  • Loading branch information
Zeitsperre committed Dec 19, 2024
1 parent ef6fec5 commit 76123e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xclim/indices/_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -3165,7 +3165,7 @@ def degree_days_exceedance_date(
-----
Let :math:`TG_{ij}` be the daily mean temperature at day :math:`i` of period :math:`j`,
:math:`T` is the reference threshold and :math:`ST` is the sum threshold. Then, starting
at day :math:i_0:, the degree days exceedance date is the first day :math:`k` such that
at day :math:i_0:, the degree days exceedance date is the first day :math:`k` such that:
.. math::
Expand Down Expand Up @@ -3708,15 +3708,15 @@ def holiday_snow_and_snowfall_days(
snd: xarray.DataArray,
prsn: xarray.DataArray | None = None,
snd_thresh: Quantified = "20 mm",
prsn_thresh: Quantified = "10 mm",
prsn_thresh: Quantified = "1 mm",
date_start: str = "12-25",
date_end: str | None = None,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""
Perfect Christmas Days.
Whether there is a significant amount of snow on the ground and snowfall occurring on December 25th.
Whether there is a significant amount of snow on the ground and measurable snowfall occurring on December 25th.
Parameters
----------
Expand All @@ -3727,7 +3727,7 @@ def holiday_snow_and_snowfall_days(
snd_thresh : Quantified
Threshold snow amount. Default: 20 mm.
prsn_thresh : Quantified
Threshold snowfall flux. Default: 10 mm.
Threshold snowfall flux. Default: 1 mm.
date_start : str
Beginning of analysis period. Default: "12-25" (December 25th).
date_end : str, optional
Expand Down

0 comments on commit 76123e1

Please sign in to comment.