Skip to content

Commit

Permalink
Release v1.1.1 (#84)
Browse files Browse the repository at this point in the history
* release-v1.1.1
  • Loading branch information
bradyrx committed Jul 8, 2020
1 parent 997c197 commit d83070b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
21 changes: 13 additions & 8 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`_.
Expand All @@ -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)
==========================
Expand Down
2 changes: 1 addition & 1 deletion ci/environment-dev-3.6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies:
- pytest-cov
- pytest-sugar
# Statistics
- climpred
- climpred>=2.1.0
- scipy
- statsmodels
# Visualization
Expand Down
13 changes: 13 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
============
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cftime
climpred>=1.0.1
climpred>=2.1.0
numpy
scipy
statsmodels
Expand Down

0 comments on commit d83070b

Please sign in to comment.