diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e52bba5..3102c90 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,8 +9,9 @@ Features -------- - ``xarray`` implementation of ``statsmodels.stats.multitest.multipletests``. (:pr:`71`) `Aaron Spring`_ -- Implements ``nan_policy=...`` keyword for ``stats.linear_slope``, - ``stats.linregress``, ``stats.polyfit``, ``stats.rm_poly``, ``stats.rm_trend``. +- Implements ``nan_policy=...`` keyword for :py:func:`~esmtools.stats.linear_slope`, + :py:func:`~esmtools.stats.linregress`, :py:func:`~esmtools.stats.polyfit`, + :py:func:`~esmtools.stats.rm_poly`, :py:func:`~esmtools.stats.rm_trend`. (:pr:`70`) `Riley X. Brady`_. * ``'none', 'propagate'``: Propagate nans through function. I.e., return a nan for @@ -19,15 +20,17 @@ Features * ``'drop', 'omit'``: Like ``skipna``, compute statistical function after removing nans. -- Adds support for datetime axes in ``stats.linear_slope``, ``stats.linregress``, - ``stats.polyfit``, ``stats.rm_poly``, ``stats.rm_trend``. Converts datetimes to - numeric time, computes function, and then converts back to datetime. +- Adds support for datetime axes in :py:func:`~esmtools.stats.linear_slope`, + :py:func:`~esmtools.stats.linregress`, :py:func:`~esmtools.stats.polyfit`, + :py:func:`~esmtools.stats.rm_poly`, :py:func:`~esmtools.stats.rm_trend`. Converts + datetimes to numeric time, computes function, and then converts back to datetime. (:pr:`70`)`Riley X. Brady`_. -- ``stats.linear_slope``, ``stats.linregress``, ``stats.polyfit``, ``stats.rm_poly``, - and ``stats.rm_trend`` are now dask-compatible and vectorized better. +- :py:func:`~esmtools.stats.linear_slope`, + :py:func:`~esmtools.stats.linregress`, :py:func:`~esmtools.stats.polyfit`, + :py:func:`~esmtools.stats.rm_poly`, :py:func:`~esmtools.stats.rm_trend` are now + dask-compatible and vectorized better. (:pr:`70`) `Riley X. Brady`_. - Bug Fixes --------- - Does not eagerly evaluate ``dask`` arrays anymore. (:pr:`70`) `Riley X. Brady`_. @@ -53,6 +56,8 @@ Deprecations (:pr:`70`) `Riley X. Brady`_. - Changes ``stats.compute_slope`` to ``stats.linear_slope``. (:pr:`70`) `Riley X. Brady`_. +- Removes ``stats.area_weight`` and ``stats.cos_weight`` since they are available + through ``xarray``. (:pr:`83`) `Riley X. Brady`_. esmtools v1.1 (2019-09-04) ========================== diff --git a/ci/environment-dev-3.6.yml b/ci/environment-dev-3.6.yml index 194b1df..2e8f129 100644 --- a/ci/environment-dev-3.6.yml +++ b/ci/environment-dev-3.6.yml @@ -31,7 +31,7 @@ dependencies: - pytest-cov - pytest-sugar # Statistics - - climpred + - climpred>=2.1.0 - scipy - statsmodels # Visualization diff --git a/docs/source/index.rst b/docs/source/index.rst index 7319ffc..098b5ab 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -19,6 +19,19 @@ esmtools: a toolbox for Earth system model analysis :alt: license :target: LICENSE.txt +Most Recent Release +=================== + +v1.1.1 of ``esmtools`` mainly introduces dask-friendly, vectorized, lightweight +functions for standard statistical functions. They also intelligently handle +datetimes on the independent (x) axis: + +* :py:func:`~esmtools.stats.linear_slope` +* :py:func:`~esmtools.stats.linregress` +* :py:func:`~esmtools.stats.polyfit` +* :py:func:`~esmtools.stats.rm_poly` +* :py:func:`~esmtools.stats.rm_trend` + Installation ============ diff --git a/requirements.txt b/requirements.txt index 7f82c7f..5a7f5fb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ cftime -climpred>=1.0.1 +climpred>=2.1.0 numpy scipy statsmodels