Skip to content

Commit

Permalink
Add pr numbers - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aulemahal committed Feb 13, 2024
1 parent ca332ab commit 5826b0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ New features and enhancements
* New ``xclim.core.calendar.stack_periods`` and ``unstack_periods`` for performing ``rolling(time=...).construct(..., stride=...)`` but with non-uniform temporal periods like years or months. They replace ``xclim.sdba.processing.construct_moving_yearly_window`` and ``unpack_moving_yearly_window`` which are deprecated and will be removed in a future release.
* New ``as_dataset`` options for ``xclim.set_options``. When True, indicators will output Datasets instead of DataArrays. (:issue:`1257`, :pull:`1625`).
* Added new option for UTCI calculation to cap low wind velocities to a minimum of 0.5 m/s following Bröde (2012) guidelines. (:issue:`1634`, :pull:`1635`).
* Distribution instances can now be passed to the ``dist`` argument of most statistical indices.
* Distribution instances can now be passed to the ``dist`` argument of most statistical indices. (:pull:`1644`).

Breaking changes
^^^^^^^^^^^^^^^^
Expand All @@ -40,7 +40,7 @@ Breaking changes
* `black` formatting style has been updated to the 2024 stable conventions. `isort` has been added to the `dev` installation recipe. (:pull:`1626`).
* The indice and indicator for ``winter_storm`` has been removed (deprecated since `xclim` v0.46.0 in favour of ``snd_storm_days``). (:pull:`1565`).
* `xclim` has dropped support for `scipy` version below v1.9.0 and `numpy` versions below v1.20.0. (:pull:`1565`).
* `lmoments3` was removed as a dependency of xclim due to its incompatible license (GPLv3 vs xclim's Apache). If we get the approbation from all intellectual property owners of the package, we might put it back. See `Ouranosinc/lmoments3#12 <https://github.com/Ouranosinc/lmoments3/issues/12>`_. See also the "frequency analysis" notebook for an example on how to continue using the probability weighted moments method for fitting distributions.
* `lmoments3` was removed as a dependency of xclim due to its incompatible license (GPLv3 vs xclim's Apache). If we get the approbation from all intellectual property owners of the package, we might put it back. See `Ouranosinc/lmoments3#12 <https://github.com/Ouranosinc/lmoments3/issues/12>`_. See also the "frequency analysis" notebook for an example on how to continue using the probability weighted moments method for fitting distributions. (:issue:`1620`, :pull:`1644`).

Bug fixes
^^^^^^^^^
Expand Down
4 changes: 2 additions & 2 deletions xclim/indices/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def fa(
Whether we are looking for a probability of exceedance (max) or a probability of non-exceedance (min).
method : {"ML", "MLE", "MOM", "PWM", "APP"}
Fitting method, either maximum likelihood (ML or MLE), method of moments (MOM) or approximate method (APP).
Also accpets probability weighted moments (PWM), also called L-Moments, if `dist` is an instance from the lmoments3 library.
Also accepts probability weighted moments (PWM), also called L-Moments, if `dist` is an instance from the lmoments3 library.
The PWM method is usually more robust to outliers.
Returns
Expand Down Expand Up @@ -393,7 +393,7 @@ def frequency_analysis(
in which case `freq` would be set to `YS-DEC`.
method : {"ML" or "MLE", "MOM", "PWM", "APP"}
Fitting method, either maximum likelihood (ML or MLE), method of moments (MOM) or approximate method (APP).
Also accpets probability weighted moments (PWM), also called L-Moments, if `dist` is an instance from the lmoments3 library.
Also accepts probability weighted moments (PWM), also called L-Moments, if `dist` is an instance from the lmoments3 library.
The PWM method is usually more robust to outliers.
\*\*indexer
Time attribute and values over which to subset the array. For example, use season='DJF' to select winter values,
Expand Down

0 comments on commit 5826b0b

Please sign in to comment.