- Add GitHub action for running nightly tests against upstream dependencies (:pull:4583).

By `Anderson Banihirwe <https://github.com/andersy005>`_.
  - Fix ``dask.optimize`` on ``DataArray`` producing an invalid Dask task graph (:issue:`3698`)
    + xarray.DataArray.plot.line() can now accept multidimensional
      coordinate variables as input. hue must be a dimension name
    + Added support for plotting data with pandas.Interval coordinates,
    + Added shift() for shifting the values of a CFTimeIndex by a
    + Added support for using cftime.datetime coordinates with
      differentiate(), differentiate(), interp(), and interp().
    + There is now a global option to either always keep or always
      discard dataset and dataarray attrs upon operations. The option
      is set with xarray.set_options(keep_attrs=True), and the default
    + Added a new backend for the GRIB file format based on ECMWF
      cfgrib python driver and ecCodes C-library. (GH2475) By
    + Resample now supports a dictionary mapping from dimension to
      frequency as its first argument, e.g.,
      data.resample({'time': '1D'}).mean(). This is consistent with
      other xarray functions that accept either dictionaries or
    + The preferred way to access tutorial data is now to load it
      lazily with xarray.tutorial.open_dataset().
      xarray.tutorial.load_dataset() calls Dataset.load() prior to
      returning (and is now deprecated). This was changed in order
  * Bugfixes
    + FacetGrid now properly uses the cbar_kwargs keyword argument.
    + Addition and subtraction operators used with a CFTimeIndex now
    + We now properly handle arrays of datetime.datetime and
      datetime.timedelta provided as coordinates. (GH2512) By
    + xarray.DataArray.roll correctly handles multidimensional arrays.
    + xarray.plot() now properly accepts a norm argument and does not
    + xarray.DataArray.std() now correctly accepts ddof keyword argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=101
This commit is contained in:
Dirk Mueller 2024-09-09 08:37:45 +00:00 committed by Git OBS Bridge
parent 02ec22b4b5
commit d5f8b0ae0d

View File

@ -2163,8 +2163,8 @@ Sun Dec 20 16:09:14 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Replace the internal use of ``pd.Index.__or__`` and ``pd.Index.__and__`` with ``pd.Index.union``
and ``pd.Index.intersection`` as they will stop working as set operations in the future
(:issue:`4565`). By `Mathias Hauser <https://github.com/mathause>`_.
- Add GitHub action for running nightly tests against upstream dependencies (:pull:`4583`).
By `Anderson Banihirwe <https://github.com/andersy005>`_.
- Add GitHub action for running nightly tests against upstream dependencies (:pull:`4583`).
By `Anderson Banihirwe <https://github.com/andersy005>`_.
- Ensure all figures are closed properly in plot tests (:pull:`4600`).
By `Yash Saboo <https://github.com/yashsaboo>`_, `Nirupam K N
<https://github.com/Nirupamkn>`_ and `Mathias Hauser
@ -2245,7 +2245,7 @@ Wed Sep 23 06:23:20 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
By `Jens Svensmark <https://github.com/jenssss>`_
- Fix incorrect legend labels for :py:meth:`Dataset.plot.scatter` (:issue:`4126`).
By `Peter Hausamann <https://github.com/phausamann>`_.
- Fix ``dask.optimize`` on ``DataArray`` producing an invalid Dask task graph (:issue:`3698`)
- Fix ``dask.optimize`` on ``DataArray`` producing an invalid Dask task graph (:issue:`3698`)
By `Tom Augspurger <https://github.com/TomAugspurger>`_
- Fix ``pip install .`` when no ``.git`` directory exists; namely when the xarray source
directory has been rsync'ed by PyCharm Professional for a remote deployment over SSH.
@ -3183,64 +3183,64 @@ Tue Nov 13 14:30:03 UTC 2018 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 0.11.0
* Enhancements
+ xarray.DataArray.plot.line() can now accept multidimensional
coordinate variables as input. hue must be a dimension name
+ xarray.DataArray.plot.line() can now accept multidimensional
coordinate variables as input. hue must be a dimension name
in this case. (GH2407) By Deepak Cherian.
+ Added support for Python 3.7. (GH2271). By Joe Hamman.
+ Added support for plotting data with pandas.Interval coordinates,
+ Added support for plotting data with pandas.Interval coordinates,
such as those created by groupby_bins() By Maximilian Maahn.
+ Added shift() for shifting the values of a CFTimeIndex by a
+ Added shift() for shifting the values of a CFTimeIndex by a
specified frequency. (GH2244). By Spencer Clark.
+ Added support for using cftime.datetime coordinates with
differentiate(), differentiate(), interp(), and interp().
+ Added support for using cftime.datetime coordinates with
differentiate(), differentiate(), interp(), and interp().
By Spencer Clark
+ There is now a global option to either always keep or always
discard dataset and dataarray attrs upon operations. The option
is set with xarray.set_options(keep_attrs=True), and the default
+ There is now a global option to either always keep or always
discard dataset and dataarray attrs upon operations. The option
is set with xarray.set_options(keep_attrs=True), and the default
is to use the old behaviour. By Tom Nicholas.
+ Added a new backend for the GRIB file format based on ECMWF
cfgrib python driver and ecCodes C-library. (GH2475) By
+ Added a new backend for the GRIB file format based on ECMWF
cfgrib python driver and ecCodes C-library. (GH2475) By
Alessandro Amici, sponsored by ECMWF.
+ Resample now supports a dictionary mapping from dimension to
frequency as its first argument, e.g.,
data.resample({'time': '1D'}).mean(). This is consistent with
other xarray functions that accept either dictionaries or
+ Resample now supports a dictionary mapping from dimension to
frequency as its first argument, e.g.,
data.resample({'time': '1D'}).mean(). This is consistent with
other xarray functions that accept either dictionaries or
keyword arguments. By Stephan Hoyer.
+ The preferred way to access tutorial data is now to load it
lazily with xarray.tutorial.open_dataset().
xarray.tutorial.load_dataset() calls Dataset.load() prior to
returning (and is now deprecated). This was changed in order
+ The preferred way to access tutorial data is now to load it
lazily with xarray.tutorial.open_dataset().
xarray.tutorial.load_dataset() calls Dataset.load() prior to
returning (and is now deprecated). This was changed in order
to facilitate using tutorial datasets with dask. By Joe Hamman.
* Bugfixes
+ FacetGrid now properly uses the cbar_kwargs keyword argument.
* Bugfixes
+ FacetGrid now properly uses the cbar_kwargs keyword argument.
(GH1504, GH1717) By Deepak Cherian.
+ Addition and subtraction operators used with a CFTimeIndex now
+ Addition and subtraction operators used with a CFTimeIndex now
preserve the indexs type. (GH2244). By Spencer Clark.
+ We now properly handle arrays of datetime.datetime and
datetime.timedelta provided as coordinates. (GH2512) By
+ We now properly handle arrays of datetime.datetime and
datetime.timedelta provided as coordinates. (GH2512) By
`Deepak Cherian <https://github.com/dcherian`_.
+ xarray.DataArray.roll correctly handles multidimensional arrays.
+ xarray.DataArray.roll correctly handles multidimensional arrays.
(GH2445) By Keisuke Fujii.
+ xarray.plot() now properly accepts a norm argument and does not
+ xarray.plot() now properly accepts a norm argument and does not
override the norms vmin and vmax. (GH2381) By Deepak Cherian.
+ xarray.DataArray.std() now correctly accepts ddof keyword argument.
+ xarray.DataArray.std() now correctly accepts ddof keyword argument.
(GH2240) By Keisuke Fujii.
+ Restore matplotlibs default of plotting dashed negative contours
when a single color is passed to DataArray.contour() e.g.
+ Restore matplotlibs default of plotting dashed negative contours
when a single color is passed to DataArray.contour() e.g.
colors='k'. By Deepak Cherian.
+ Fix a bug that caused some indexing operations on arrays opened
+ Fix a bug that caused some indexing operations on arrays opened
with open_rasterio to error (GH2454). By Stephan Hoyer.
+ Subtracting one CFTimeIndex from another now returns a
pandas.TimedeltaIndex, analogous to the behavior for
+ Subtracting one CFTimeIndex from another now returns a
pandas.TimedeltaIndex, analogous to the behavior for
DatetimeIndexes (GH2484). By Spencer Clark.
+ Adding a TimedeltaIndex to, or subtracting a TimedeltaIndex from
+ Adding a TimedeltaIndex to, or subtracting a TimedeltaIndex from
a CFTimeIndex is now allowed (GH2484). By Spencer Clark.
+ Avoid use of Dasks deprecated get= parameter in tests by Matthew Rocklin.
+ An OverflowError is now accurately raised and caught during the
encoding process if a reference date is used that is so distant that
the dates must be encoded using cftime rather than NumPy (GH2272).
+ An OverflowError is now accurately raised and caught during the
encoding process if a reference date is used that is so distant that
the dates must be encoded using cftime rather than NumPy (GH2272).
By Spencer Clark.
+ Chunked datasets can now roundtrip to Zarr storage continually with
+ Chunked datasets can now roundtrip to Zarr storage continually with
to_zarr and open_zarr (GH2300). By Lily Wang.
-------------------------------------------------------------------
@ -3598,11 +3598,11 @@ Thu Jan 28 13:02:36 UTC 2016 - toddrme2178@gmail.com
This avoids a namespace conflict with the entire field of x-ray science. Renaming
our project seemed like the right thing to do, especially because some
scientists who work with actual x-rays are interested in using this project in
their work. Thanks for your understanding and patience in this transition.
their work. Thanks for your understanding and patience in this transition.
* Breaking changes
- The internal data model used by :py:class:`~xray.DataArray` has been
rewritten to fix several outstanding issues. Internally, ``DataArray``
is now implemented in terms of ``._variable`` and ``._coords``
is now implemented in terms of ``._variable`` and ``._coords``
attributes instead of holding variables in a ``Dataset`` object.
- It is no longer possible to convert a DataArray to a Dataset with
:py:meth:`xray.DataArray.to_dataset` if it is unnamed. This will now
@ -3625,7 +3625,7 @@ Thu Jan 28 13:02:36 UTC 2016 - toddrme2178@gmail.com
- Passing a :py:class:`pandas.DataFrame` or :py:class:`pandas.Panel` to a Dataset constructor
is now permitted.
- New function :py:func:`~xray.broadcast` for explicitly broadcasting
``DataArray`` and ``Dataset`` objects against each other.
``DataArray`` and ``Dataset`` objects against each other.
* Bug fixes
- Fixes for several issues found on ``DataArray`` objects with the same name
as one of their coordinates (see :ref:`v0.7.0.breaking` for more details).