Accepting request 648746 from home:mcalabkova:branches:devel:languages:python:numeric

- 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 
      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, 
      such as those created by groupby_bins() By Maximilian Maahn.
    + 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(). 
      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 
      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 
      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 
      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 
      to facilitate using tutorial datasets with dask. By Joe Hamman.

OBS-URL: https://build.opensuse.org/request/show/648746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=5
This commit is contained in:
Sebastian Wagner 2018-11-13 19:35:56 +00:00 committed by Git OBS Bridge
parent c41b6b0cb6
commit 57dbb695d0
4 changed files with 69 additions and 4 deletions

View File

@ -1,3 +1,68 @@
-------------------------------------------------------------------
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
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,
such as those created by groupby_bins() By Maximilian Maahn.
+ 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().
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
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
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
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
to facilitate using tutorial datasets with dask. By Joe Hamman.
* Bugfixes
+ FacetGrid now properly uses the cbar_kwargs keyword argument.
(GH1504, GH1717) By Deepak Cherian.
+ 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
`Deepak Cherian <https://github.com/dcherian`_.
+ xarray.DataArray.roll correctly handles multidimensional arrays.
(GH2445) By Keisuke Fujii.
+ 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.
(GH2240) By Keisuke Fujii.
+ 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
with open_rasterio to error (GH2454). By Stephan Hoyer.
+ 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
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).
By Spencer Clark.
+ Chunked datasets can now roundtrip to Zarr storage continually with
to_zarr and open_zarr (GH2300). By Lily Wang.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 26 03:15:12 UTC 2018 - Arun Persaud <arun@gmx.de> Wed Sep 26 03:15:12 UTC 2018 - Arun Persaud <arun@gmx.de>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xarray Name: python-xarray
Version: 0.10.9 Version: 0.11.0
Release: 0 Release: 0
Summary: N-D labeled arrays and datasets in Python Summary: N-D labeled arrays and datasets in Python
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb3028ba157e1953fd279bbe17c07bb5faa459ddf555bbe687c927e4cdfeecc3
size 1688163

3
xarray-0.11.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:636964baccfca0e5d69220ac4ecb948d561addc76f47704064dcbe399e03a818
size 1704658