forked from pool/python-xarray
- 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:
parent
02ec22b4b5
commit
d5f8b0ae0d
@ -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``
|
- 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
|
and ``pd.Index.intersection`` as they will stop working as set operations in the future
|
||||||
(:issue:`4565`). By `Mathias Hauser <https://github.com/mathause>`_.
|
(:issue:`4565`). By `Mathias Hauser <https://github.com/mathause>`_.
|
||||||
- Add GitHub action for running nightly tests against upstream dependencies (:pull:`4583`).
|
- Add GitHub action for running nightly tests against upstream dependencies (:pull:`4583`).
|
||||||
By `Anderson Banihirwe <https://github.com/andersy005>`_.
|
By `Anderson Banihirwe <https://github.com/andersy005>`_.
|
||||||
- Ensure all figures are closed properly in plot tests (:pull:`4600`).
|
- Ensure all figures are closed properly in plot tests (:pull:`4600`).
|
||||||
By `Yash Saboo <https://github.com/yashsaboo>`_, `Nirupam K N
|
By `Yash Saboo <https://github.com/yashsaboo>`_, `Nirupam K N
|
||||||
<https://github.com/Nirupamkn>`_ and `Mathias Hauser
|
<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>`_
|
By `Jens Svensmark <https://github.com/jenssss>`_
|
||||||
- Fix incorrect legend labels for :py:meth:`Dataset.plot.scatter` (:issue:`4126`).
|
- Fix incorrect legend labels for :py:meth:`Dataset.plot.scatter` (:issue:`4126`).
|
||||||
By `Peter Hausamann <https://github.com/phausamann>`_.
|
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>`_
|
By `Tom Augspurger <https://github.com/TomAugspurger>`_
|
||||||
- Fix ``pip install .`` when no ``.git`` directory exists; namely when the xarray source
|
- 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.
|
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
|
- update to version 0.11.0
|
||||||
* Enhancements
|
* Enhancements
|
||||||
+ xarray.DataArray.plot.line() can now accept multidimensional
|
+ xarray.DataArray.plot.line() can now accept multidimensional
|
||||||
coordinate variables as input. hue must be a dimension name
|
coordinate variables as input. hue must be a dimension name
|
||||||
in this case. (GH2407) By Deepak Cherian.
|
in this case. (GH2407) By Deepak Cherian.
|
||||||
+ Added support for Python 3.7. (GH2271). By Joe Hamman.
|
+ 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.
|
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.
|
specified frequency. (GH2244). By Spencer Clark.
|
||||||
+ Added support for using cftime.datetime coordinates with
|
+ Added support for using cftime.datetime coordinates with
|
||||||
differentiate(), differentiate(), interp(), and interp().
|
differentiate(), differentiate(), interp(), and interp().
|
||||||
By Spencer Clark
|
By Spencer Clark
|
||||||
+ There is now a global option to either always keep or always
|
+ There is now a global option to either always keep or always
|
||||||
discard dataset and dataarray attrs upon operations. The option
|
discard dataset and dataarray attrs upon operations. The option
|
||||||
is set with xarray.set_options(keep_attrs=True), and the default
|
is set with xarray.set_options(keep_attrs=True), and the default
|
||||||
is to use the old behaviour. By Tom Nicholas.
|
is to use the old behaviour. By Tom Nicholas.
|
||||||
+ Added a new backend for the GRIB file format based on ECMWF
|
+ Added a new backend for the GRIB file format based on ECMWF
|
||||||
cfgrib python driver and ecCodes C-library. (GH2475) By
|
cfgrib python driver and ecCodes C-library. (GH2475) By
|
||||||
Alessandro Amici, sponsored by ECMWF.
|
Alessandro Amici, sponsored by ECMWF.
|
||||||
+ Resample now supports a dictionary mapping from dimension to
|
+ Resample now supports a dictionary mapping from dimension to
|
||||||
frequency as its first argument, e.g.,
|
frequency as its first argument, e.g.,
|
||||||
data.resample({'time': '1D'}).mean(). This is consistent with
|
data.resample({'time': '1D'}).mean(). This is consistent with
|
||||||
other xarray functions that accept either dictionaries or
|
other xarray functions that accept either dictionaries or
|
||||||
keyword arguments. By Stephan Hoyer.
|
keyword arguments. By Stephan Hoyer.
|
||||||
+ The preferred way to access tutorial data is now to load it
|
+ The preferred way to access tutorial data is now to load it
|
||||||
lazily with xarray.tutorial.open_dataset().
|
lazily with xarray.tutorial.open_dataset().
|
||||||
xarray.tutorial.load_dataset() calls Dataset.load() prior to
|
xarray.tutorial.load_dataset() calls Dataset.load() prior to
|
||||||
returning (and is now deprecated). This was changed in order
|
returning (and is now deprecated). This was changed in order
|
||||||
to facilitate using tutorial datasets with dask. By Joe Hamman.
|
to facilitate using tutorial datasets with dask. By Joe Hamman.
|
||||||
* Bugfixes
|
* Bugfixes
|
||||||
+ FacetGrid now properly uses the cbar_kwargs keyword argument.
|
+ FacetGrid now properly uses the cbar_kwargs keyword argument.
|
||||||
(GH1504, GH1717) By Deepak Cherian.
|
(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 index’s type. (GH2244). By Spencer Clark.
|
preserve the index’s type. (GH2244). By Spencer Clark.
|
||||||
+ We now properly handle arrays of datetime.datetime and
|
+ We now properly handle arrays of datetime.datetime and
|
||||||
datetime.timedelta provided as coordinates. (GH2512) By
|
datetime.timedelta provided as coordinates. (GH2512) By
|
||||||
`Deepak Cherian <https://github.com/dcherian`_.
|
`Deepak Cherian <https://github.com/dcherian`_.
|
||||||
+ xarray.DataArray.roll correctly handles multidimensional arrays.
|
+ xarray.DataArray.roll correctly handles multidimensional arrays.
|
||||||
(GH2445) By Keisuke Fujii.
|
(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 norm’s vmin and vmax. (GH2381) By Deepak Cherian.
|
override the norm’s 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.
|
(GH2240) By Keisuke Fujii.
|
||||||
+ Restore matplotlib’s default of plotting dashed negative contours
|
+ Restore matplotlib’s default of plotting dashed negative contours
|
||||||
when a single color is passed to DataArray.contour() e.g.
|
when a single color is passed to DataArray.contour() e.g.
|
||||||
colors='k'. By Deepak Cherian.
|
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.
|
with open_rasterio to error (GH2454). By Stephan Hoyer.
|
||||||
+ Subtracting one CFTimeIndex from another now returns a
|
+ Subtracting one CFTimeIndex from another now returns a
|
||||||
pandas.TimedeltaIndex, analogous to the behavior for
|
pandas.TimedeltaIndex, analogous to the behavior for
|
||||||
DatetimeIndexes (GH2484). By Spencer Clark.
|
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.
|
a CFTimeIndex is now allowed (GH2484). By Spencer Clark.
|
||||||
+ Avoid use of Dask’s deprecated get= parameter in tests by Matthew Rocklin.
|
+ Avoid use of Dask’s deprecated get= parameter in tests by Matthew Rocklin.
|
||||||
+ An OverflowError is now accurately raised and caught during the
|
+ An OverflowError is now accurately raised and caught during the
|
||||||
encoding process if a reference date is used that is so distant that
|
encoding process if a reference date is used that is so distant that
|
||||||
the dates must be encoded using cftime rather than NumPy (GH2272).
|
the dates must be encoded using cftime rather than NumPy (GH2272).
|
||||||
By Spencer Clark.
|
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.
|
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
|
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
|
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
|
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
|
* Breaking changes
|
||||||
- The internal data model used by :py:class:`~xray.DataArray` has been
|
- The internal data model used by :py:class:`~xray.DataArray` has been
|
||||||
rewritten to fix several outstanding issues. Internally, ``DataArray``
|
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.
|
attributes instead of holding variables in a ``Dataset`` object.
|
||||||
- It is no longer possible to convert a DataArray to a Dataset with
|
- 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
|
: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
|
- Passing a :py:class:`pandas.DataFrame` or :py:class:`pandas.Panel` to a Dataset constructor
|
||||||
is now permitted.
|
is now permitted.
|
||||||
- New function :py:func:`~xray.broadcast` for explicitly broadcasting
|
- 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
|
* Bug fixes
|
||||||
- Fixes for several issues found on ``DataArray`` objects with the same name
|
- 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).
|
as one of their coordinates (see :ref:`v0.7.0.breaking` for more details).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user