Esmlab

Latest version: v2019.4.27

Safety actively analyzes 613734 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2019.4.27

==============================

Features
--------

- Enable computing significance metrics (p-value) for ``weighted_corr``. (:pr:`90`) `Riley Brady`_
- Drop support for Python 2. (:pr:`109`) `Anderson Banihirwe`_
- Nomenclature change: ``compute_mon_climatology``, ``compute_mon_anomaly``, ``compute_ann_mean`` functions are now renamed to ``climatology``, ``anomaly``, and ``resample``. (:pr:`109`) `Anderson Banihirwe`_
- Add ``.esmlab`` accessor allowing users to access functions such as climatology with ``dset.esmlab.set_time().climatology()`` syntax. (:pr:`109`) `Anderson Banihirwe`_
- Add ``compute_mon_mean`` function to compute monthly averages. (:pr:`110`) `Alper Altuntas`_


Bug Fixes
---------
- Fix bug that made computing annual mean with ``resample(ds, freq='ann')`` yield incorrect results. (:issue:`112`) (:pr:`115`) `Anderson Banihirwe`_
- Fix time and time_bounds decoding incosistencies in ``resample(ds, freq='ann')`` results for ``decode_time=True``. (:issue:`111`) (:pr:`115`) `Anderson Banihirwe`_
- Fix cftime datetime decoding/encoding (:issue:`118`) (:pr:`122`) `Anderson Banihirwe`_



Trivial/Internal Changes
-------------------------

- Move regridding utilities to esmlab-regrid repo (:pr:`107`) `Anderson Banihirwe`_
- Switch from versioneer to setuptools-scm (:pr:`120`) `Anderson Banihirwe`_

2019.3.16

==============================

Features
--------

- Add statistics functions for DataArray and Dataset to ``statistics.py`` module (:pr:`97`) `Anderson Banihirwe`_

Functions added:
- ``weighted_mean``
- ``weighted_sum``
- ``weighted_std``
- ``weighted_covariance``
- ``weighted_correlation``

Bug Fixes
---------

- Increase rtol for float32 weights in ``statistics.py`` module (:pr:`81`) `Michael Levy`_
- Remove duplicate call to ``statistics._get_weights_and_dims`` (:pr:`88`) `Sudharsana K J L`_
- Fix bugs in ``utils.time.time_manager`` add tests for climatology corner cases (:pr:`100`) `Matthew Long`_

- Allow ``climatology.compute_ann_mean`` to work if time is encoded
- Make sure ``time:calendar`` is preserved in ``climatolog.compute_ann_mean``

2019.2.28

==============================

Features
---------

- Add function to flexibily compute weights and dimensions to use in statistical operations (:pr:`74`) `Anderson Banihirwe`_

- Add ``time_manager`` class to support managing the time coordinate of datasets (:pr:`75`) and (:pr:`76`) `Matthew Long`_


Bug Fixes
----------

- Remove hard-coded ``tb_name=time_bound`` in ``compute_time_var`` (:pr:`72`) `Anderson Banihirwe`_

Documentation
---------------

- Add release procedure to documentation (:pr:`78`) `Anderson Banihirwe`_


Trivial/Internal Changes
-------------------------

- Use `esmlab-data <https://github.com/NCAR/esmlab-data>`_ in tests (:pr:`67`) `Anderson Banihirwe`_
- Update continuous integration workflow (:pr:`68`) `Anderson Banihirwe`_

2019.2.1

==============================

- Add ``time_bound`` to output of ``compute_ann_mean`` (:pr:`51`) `Matthew Long`_
- Add xarray alignment option to prevent using mismatching coordinates (:pr:`54`) `Anderson Banihirwe`_
- Add regridding functionality (:pr:`56`) `Matthew Long`_
- Handle ``time_bound`` on data read with ``decode_times=True`` (:pr:`59`) `Matthew Long`_
- Add interface to esmlab-data (:pr:`61`) `Anderson Banihirwe`_

2019.2.0

==============================

- Rename ``compute_ann_climatology`` to ``compute_ann_mean`` (:pr:`33`) `Anderson Banihirwe`_
- Don't add ``NaNs`` for ``_FillValue`` (:pr:`34`) `Anderson Banihirwe`_
- Change time handling for ``compute_mon_climatology`` and ``compute_ann_mean`` (:pr:`37`) `Matthew Long`_
- Add slice_mon_clim_time argument to ``compute_mon_climatology`` (:pr:`37`) `Matthew Long`_
- Drop ``time_bound`` variable from ``compute_ann_mean`` (:pr:`43`) `Matthew Long`_



.. _`Alper Altuntas`: https://github.com/alperaltuntas
.. _`Anderson Banihirwe`: https://github.com/andersy005
.. _`Matthew Long`: https://github.com/matt-long
.. _`Michael Levy`: https://github.com/mnlevy1981
.. _`Riley Brady`: https://github.com/bradyrx
.. _`Sudharsana K J L`: https://github.com/sudharsana-kjl

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.