- :py:func:`~esmtools.temporal.to_annual` no longer returns
0.0
where the original dataset had NaNs. (:issue:`75`) (:pr:`95`) Riley X. Brady. - :py:func:`~esmtools.stats.rm_poly` and :py:func:`~esmtools.stats.polyfit` now work
with newest
dask
andxarray
versions. There was an issue withvectorize=True
breakingxarray.apply_ufunc
with a single time series. (:pr:`103`) Riley X. Brady.
- We now use Github Actions to do Continuous Integration instead of Travis, similar to
climpred
andxskillscore
(:pr:`103`) Riley X. Brady.
- Revert to old
esmtools
behavior for stats functions. This allows one to pass single Datasets and DataArrays tolinear_slope
,linregress
,polyfit
,rm_poly
, andrm_trend
. In this case, the fit is performed overdim
from the givenxarray
object. This still retains the e.g.rm_trend(x, y)
behavior as well. (:pr:`93`) Riley X. Brady.
- Update required
xarray
version to v0.16.0 to allow for use ofxr.infer_freq
. (:pr:`92`) Riley X. Brady.
- Fix
flake8
F401 error by usingTimeUtilAccessor
directly in first instance in code. (:pr:`86`) Riley X. Brady. - Add
conda
badge andconda
installation instructions. (:pr:`87`) Riley X. Brady. - Migrate
corr
andautocorr
fromclimpred
toesmtools
with some light edits to the code. (:pr:`88`) Riley X. Brady.
climpred
removed as a dependency foresmtools
. (:pr:`88`) Riley X. Brady.autocorr
deprecated, since it can be run viacorr(x, x)
.ACF
renamed toautocorr
, which reflectspandas
-style naming. (:pr:`88`) Riley X. Brady.
xarray
implementation ofstatsmodels.stats.multitest.multipletests
. (:pr:`71`) Aaron Spring- 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 a given grid cell if a nan exists in it.'raise'
: Raise an error if there are any nans in the datasets.'drop', 'omit'
: Likeskipna
, compute statistical function after removing nans.
- 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`_.
- :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.
- Does not eagerly evaluate
dask
arrays anymore. (:pr:`70`) Riley X. Brady.
- Adds
isort
andnbstripout
to CI for development. Blacken and isort code. (:pr:`73`) Riley X. Brady
- Add more robust API docs page, information on how to contribute, CHANGELOG, etc. to
sphinx
. (:pr:`67`) Riley X. Brady.
- Removes
mpas
andvis
modules. The former is better for a project-dependent package. The latter essentially poorly replicates some ofproplot
functionality. (:pr:`69`) Riley X. Brady. - Removes
stats.smooth_series
, since there is an easyxarray
function for it. (:pr:`70`) Riley X. Brady. - Changes
stats.linear_regression
tostats.linregress
. (:pr:`70`) Riley X. Brady. - Changes
stats.compute_slope
tostats.linear_slope
. (:pr:`70`) Riley X. Brady. - Removes
stats.area_weight
andstats.cos_weight
since they are available throughxarray
. (:pr:`83`) Riley X. Brady.
co2_sol
andschmidt
now can be computed on grids and do not do time-averaging (:pr:`45`) Riley X. Brady.temp_decomp_takahashi
now returns a dataset with thermal/non-thermal components (:pr:`45`) Riley X. Brady.temporal
module that includes ato_annual()
function for weighted temporal resampling (:pr:`50`) Riley X. Brady.filtering
module renamed tospatial
andfind_indices
made public. (:pr:`52`) Riley X. Brady.standardize
function moved to stats. (:pr:`52`) Riley X. Brady.loadutils
removed (:pr:`52`) Riley X. Brady.calculate_compatible_emissions
following Jones et al. 2013 (:pr:`54`) Aaron Spring- Update
corr
to broadcastx
andy
such that a single time series can be correlated across a grid. (:pr:`58`) Riley X. Brady. convert_lon_to_180to180
andconvert_lon_to_0to360
now wrapped withconvert_lon
and now supports 2D lat/lon grids.convert_lon()
is also available as an accessor. (:pr:`60`) Riley X. Brady.
- Changed name back to
esmtools
now that the readthedocs domain was cleared up. Thanks Andrew Walter! (:pr:`61`) Riley X. Brady. esmtools
documentation created with docstring updates for all functions.
- Changed name from
esmtools
toesm_analysis
since the former was registered on readthedocs.
- Add versioning and clean up setup file.
- Add travis continuous integration and coveralls for testing.
Formally releases esmtools
on pip for easy installing by other packages.