diff --git a/python-xarray.changes b/python-xarray.changes index 7b89d3d..4abc63c 100644 --- a/python-xarray.changes +++ b/python-xarray.changes @@ -1,3 +1,139 @@ +------------------------------------------------------------------- +Sun Jun 30 09:29:36 UTC 2019 - Sebastian Wagner + +- update to version 0.12.2: + - New functions/methods: + - Two new functions, :py:func:`~xarray.combine_nested` and + :py:func:`~xarray.combine_by_coords`, allow for combining datasets along any + number of dimensions, instead of the one-dimensional list of datasets + supported by :py:func:`~xarray.concat`. + The new ``combine_nested`` will accept the datasets as a nested + list-of-lists, and combine by applying a series of concat and merge + operations. The new ``combine_by_coords`` instead uses the dimension + coordinates of datasets to order them. + :py:func:`~xarray.open_mfdataset` can use either ``combine_nested`` or + ``combine_by_coords`` to combine datasets along multiple dimensions, by + specifying the argument ``combine='nested'`` or ``combine='by_coords'``. + The older function :py:func:`~xarray.auto_combine` has been deprecated, + because its functionality has been subsumed by the new functions. + To avoid FutureWarnings switch to using ``combine_nested`` or + ``combine_by_coords``, (or set the ``combine`` argument in + ``open_mfdataset``). (:issue:`2159`) + By `Tom Nicholas `_. + - :py:meth:`~xarray.DataArray.rolling_exp` and + :py:meth:`~xarray.Dataset.rolling_exp` added, similar to pandas' + ``pd.DataFrame.ewm`` method. Calling ``.mean`` on the resulting object + will return an exponentially weighted moving average. + By `Maximilian Roos `_. + - New :py:func:`DataArray.str ` for string + related manipulations, based on ``pandas.Series.str``. + By `0x0L `_. + - Added ``strftime`` method to ``.dt`` accessor, making it simpler to hand a + datetime ``DataArray`` to other code expecting formatted dates and times. + (:issue:`2090`). :py:meth:`~xarray.CFTimeIndex.strftime` is also now + available on :py:class:`CFTimeIndex`. + By `Alan Brammer `_ and + `Ryan May `_. + - :py:meth:`~xarray.core.GroupBy.quantile` is now a method of ``GroupBy`` + objects (:issue:`3018`). + By `David Huard `_. + - Argument and return types are added to most methods on ``DataArray`` and + ``Dataset``, allowing static type checking both within xarray and external + libraries. Type checking with `mypy `_ is enabled in + CI (though not required yet). + By `Guido Imperiale `_ + and `Maximilian Roos `_. + - Enhancements to existing functionality: + - Add ``keepdims`` argument for reduce operations (:issue:`2170`) + By `Scott Wales `_. + - Enable ``@`` operator for DataArray. This is equivalent to :py:meth:`DataArray.dot` + By `Maximilian Roos `_. + - Add ``fill_value`` argument for reindex, align, and merge operations + to enable custom fill values. (:issue:`2876`) + By `Zach Griffith `_. + - :py:meth:`DataArray.transpose` now accepts a keyword argument + ``transpose_coords`` which enables transposition of coordinates in the + same way as :py:meth:`Dataset.transpose`. :py:meth:`DataArray.groupby` + :py:meth:`DataArray.groupby_bins`, and :py:meth:`DataArray.resample` now + accept a keyword argument ``restore_coord_dims`` which keeps the order + of the dimensions of multi-dimensional coordinates intact (:issue:`1856`). + By `Peter Hausamann `_. + - Better warning message when supplying invalid objects to ``xr.merge`` + (:issue:`2948`). By `Mathias Hauser `_. + - Add ``errors`` keyword argument to :py:meth:`Dataset.drop` and :py:meth:`Dataset.drop_dims` + that allows ignoring errors if a passed label or dimension is not in the dataset + (:issue:`2994`). + By `Andrew Ross `_. + - IO related enhancements: + - Implement :py:func:`~xarray.load_dataset` and + :py:func:`~xarray.load_dataarray` as alternatives to + :py:func:`~xarray.open_dataset` and :py:func:`~xarray.open_dataarray` to + open, load into memory, and close files, returning the Dataset or DataArray. + These functions are helpful for avoiding file-lock errors when trying to + write to files opened using ``open_dataset()`` or ``open_dataarray()``. + (:issue:`2887`) + By `Dan Nowacki `_. + - It is now possible to extend existing :ref:`io.zarr` datasets, by using + ``mode='a'`` and the new ``append_dim`` argument in + :py:meth:`~xarray.Dataset.to_zarr`. + By `Jendrik Jördening `_, + `David Brochart `_, + `Ryan Abernathey `_ and + `Shikhar Goenka `_. + - ``xr.open_zarr`` now accepts manually specified chunks with the ``chunks=`` + parameter. ``auto_chunk=True`` is equivalent to ``chunks='auto'`` for + backwards compatibility. The ``overwrite_encoded_chunks`` parameter is + added to remove the original zarr chunk encoding. + By `Lily Wang `_. + - netCDF chunksizes are now only dropped when original_shape is different, + not when it isn't found. (:issue:`2207`) + By `Karel van de Plassche `_. + - Character arrays' character dimension name decoding and encoding handled by + ``var.encoding['char_dim_name']`` (:issue:`2895`) + By `James McCreight `_. + - open_rasterio() now supports rasterio.vrt.WarpedVRT with custom transform, + width and height (:issue:`2864`). + By `Julien Michel `_. + - Bug fixes: + - Rolling operations on xarray objects containing dask arrays could silently + compute the incorrect result or use large amounts of memory (:issue:`2940`). + By `Stephan Hoyer `_. + - Don't set encoding attributes on bounds variables when writing to netCDF. + (:issue:`2921`) + By `Deepak Cherian `_. + - NetCDF4 output: variables with unlimited dimensions must be chunked (not + contiguous) on output. (:issue:`1849`) + By `James McCreight `_. + - indexing with an empty list creates an object with zero-length axis (:issue:`2882`) + By `Mayeul d'Avezac `_. + - Return correct count for scalar datetime64 arrays (:issue:`2770`) + By `Dan Nowacki `_. + - Fixed max, min exception when applied to a multiIndex (:issue:`2923`) + By `Ian Castleden `_ + - A deep copy deep-copies the coords (:issue:`1463`) + By `Martin Pletcher `_. + - Increased support for `missing_value` (:issue:`2871`) + By `Deepak Cherian `_. + - Removed usages of `pytest.config`, which is deprecated (:issue:`2988`) + By `Maximilian Roos `_. + - Fixed performance issues with cftime installed (:issue:`3000`) + By `0x0L `_. + - Test suite fixes for newer versions of pytest (:issue:`3011`, :issue:`3032`). + By `Maximilian Roos `_ + and `Stephan Hoyer `_. + - update to version 0.12.1: + - Enhancements: + - Allow ``expand_dims`` method to support inserting/broadcasting dimensions + with size > 1. (:issue:`2710`) + By `Martin Pletcher `_. + - Bug fixes: + - Dataset.copy(deep=True) now creates a deep copy of the attrs (:issue:`2835`). + By `Andras Gefferth `_. + - Fix incorrect ``indexes`` resulting from various ``Dataset`` operations + (e.g., ``swap_dims``, ``isel``, ``reindex``, ``[]``) (:issue:`2842`, + :issue:`2856`). + By `Stephan Hoyer `_. + ------------------------------------------------------------------- Tue May 28 01:54:37 UTC 2019 - Todd R diff --git a/python-xarray.spec b/python-xarray.spec index 500fbfc..a3d20c8 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-xarray -Version: 0.12.1 +Version: 0.12.2 Release: 0 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 diff --git a/xarray-0.12.1.tar.gz b/xarray-0.12.1.tar.gz deleted file mode 100644 index d65367e..0000000 --- a/xarray-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac09a819e791be208ae33fa7ecee19d0fe7b5479906f927d358a61957ce27e10 -size 1745116 diff --git a/xarray-0.12.2.tar.gz b/xarray-0.12.2.tar.gz new file mode 100644 index 0000000..5cf5e27 --- /dev/null +++ b/xarray-0.12.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a9536b5bc4eac2f4689c4ec8308f68df7e3277579499dde208031d8faf79772 +size 1786475