From 5cee71a8bad4bfc394574d50db3d12966a322faa41c96e0e1829bf876a8dfb79 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 29 May 2018 08:34:57 +0000 Subject: [PATCH] Accepting request 610879 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/610879 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=2 --- python-xarray.changes | 90 +++++++++++++++++++++++++++++++++++++++++++ python-xarray.spec | 17 ++++---- xarray-0.10.3.tar.gz | 3 -- xarray-0.10.4.tar.gz | 3 ++ 4 files changed, 101 insertions(+), 12 deletions(-) delete mode 100644 xarray-0.10.3.tar.gz create mode 100644 xarray-0.10.4.tar.gz diff --git a/python-xarray.changes b/python-xarray.changes index f82610b..403ef7e 100644 --- a/python-xarray.changes +++ b/python-xarray.changes @@ -1,3 +1,93 @@ +------------------------------------------------------------------- +Mon May 21 04:03:17 UTC 2018 - arun@gmx.de + +- update to version 0.10.4: + * Documentation + + New FAQ entry, What other projects leverage xarray?. By Deepak + Cherian. + + Assigning values with indexing now includes examples on how to + select and assign values to a DataArray with .loc. By Chiara + Lepore. + * Enhancements + + Add an option for using a CFTimeIndex for indexing times with + non-standard calendars and/or outside the Timestamp-valid range; + this index enables a subset of the functionality of a standard + pandas.DatetimeIndex. See Non-standard calendars and dates + outside the Timestamp-valid range for full details. (GH789, + GH1084, GH1252) By Spencer Clark with help from Stephan Hoyer. + + Allow for serialization of cftime.datetime objects (GH789, + GH1084, GH2008, GH1252) using the standalone cftime library. By + Spencer Clark. + + Support writing lists of strings as netCDF attributes + (GH2044). By Dan Nowacki. + + to_netcdf() with engine='h5netcdf' now accepts h5py encoding + settings compression and compression_opts, along with the + NetCDF4-Python style settings gzip=True and complevel. This + allows using any compression plugin installed in hdf5, e.g. LZF + (GH1536). By Guido Imperiale. + + dot() on dask-backed data will now call + dask.array.einsum(). This greatly boosts speed and allows + chunking on the core dims. The function now requires dask >= + 0.17.3 to work on dask-backed data (GH2074). By Guido Imperiale. + + plot.line() learned new kwargs: xincrease, yincrease that change + the direction of the respective axes. By Deepak Cherian. + + Added the parallel option to open_mfdataset(). This option uses + dask.delayed to parallelize the open and preprocessing steps + within open_mfdataset. This is expected to provide performance + improvements when opening many files, particularly when used in + conjunction with dask’s multiprocessing or distributed + schedulers (GH1981). By Joe Hamman. + + New compute option in to_netcdf(), to_zarr(), and + save_mfdataset() to allow for the lazy computation of netCDF and + zarr stores. This feature is currently only supported by the + netCDF4 and zarr backends. (GH1784). By Joe Hamman. + * Bug fixes + + ValueError is raised when coordinates with the wrong size are + assigned to a DataArray. (GH2112) By Keisuke Fujii. + + Fixed a bug in rolling() with bottleneck. Also, fixed a bug in + rolling an integer dask array. (GH2113) By Keisuke Fujii. + + Fixed a bug where keep_attrs=True flag was neglected if + apply_ufunc() was used with Variable. (GH2114) By Keisuke Fujii. + + When assigning a DataArray to Dataset, any conflicted + non-dimensional coordinates of the DataArray are now + dropped. (GH2068) By Keisuke Fujii. + + Better error handling in open_mfdataset (GH2077). By Stephan + Hoyer. + + plot.line() does not call autofmt_xdate() anymore. Instead it + changes the rotation and horizontal alignment of labels without + removing the x-axes of any other subplots in the figure (if + any). By Deepak Cherian. + + Colorbar limits are now determined by excluding ±Infs too. By + Deepak Cherian. + + Fixed to_iris to maintain lazy dask array after conversion + (GH2046). By Alex Hilson and Stephan Hoyer. + +- changes from version 0.10.3: + * Enhancements + + isin() and isin() methods, which test each value in the array + for whether it is contained in the supplied list, returning a + bool array. See Selecting values with isin for full + details. Similar to the np.isin function. By Maximilian Roos. + + Some speed improvement to construct DataArrayRolling object + (GH1993) By Keisuke Fujii. + + Handle variables with different values for missing_value and + _FillValue by masking values for both attributes; previously + this resulted in a ValueError. (GH2016) By Ryan May. + * Bug fixes + + Fixed decode_cf function to operate lazily on dask arrays + (GH1372). By Ryan Abernathey. + + Fixed labeled indexing with slice bounds given by xarray objects + with datetime64 or timedelta64 dtypes (GH1240). By Stephan + Hoyer. + + Attempting to convert an xarray.Dataset into a numpy array now + raises an informative error message. By Stephan Hoyer. + + Fixed a bug in decode_cf_datetime where int32 arrays weren’t + parsed correctly (GH2002). By Fabien Maussion. + + When calling xr.auto_combine() or xr.open_mfdataset() with a + concat_dim, the resulting dataset will have that one-element + dimension (it was silently dropped, previously) (GH1988). By Ben + Root. + ------------------------------------------------------------------- Sat Apr 14 12:41:49 UTC 2018 - sebix+novell.com@sebix.at diff --git a/python-xarray.spec b/python-xarray.spec index d8f9395..4a6fd05 100644 --- a/python-xarray.spec +++ b/python-xarray.spec @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xarray -Version: 0.10.3 +Version: 0.10.4 Release: 0 Summary: N-D labeled arrays and datasets in Python License: Apache-2.0 Group: Development/Languages/Python -Url: http://github.com/pydata/xarray +URL: http://github.com/pydata/xarray Source: https://files.pythonhosted.org/packages/source/x/xarray/xarray-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.11} @@ -31,19 +31,18 @@ BuildRequires: %{python_module pandas >= 0.18.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-numpy >= 1.11 +Requires: python-pandas >= 0.18.0 +Recommends: python-scipy +Provides: python-xray = %{version} +Obsoletes: python-xray < %{version} +BuildArch: noarch # SECTION tests BuildRequires: %{python_module dask-dataframe} BuildRequires: %{python_module pytest >= 2.7.1} BuildRequires: %{python_module scipy} BuildRequires: python2-mock # /SECTION -Recommends: python-scipy -Requires: python-numpy >= 1.11 -Requires: python-pandas >= 0.18.0 -Provides: python-xray = %{version} -Obsoletes: python-xray < %{version} -BuildArch: noarch - %python_subpackages %description diff --git a/xarray-0.10.3.tar.gz b/xarray-0.10.3.tar.gz deleted file mode 100644 index 5e5da32..0000000 --- a/xarray-0.10.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72fafe29ba00633483aed39e405442226ef66d2ddc1021a39527ae1522b7067a -size 2685513 diff --git a/xarray-0.10.4.tar.gz b/xarray-0.10.4.tar.gz new file mode 100644 index 0000000..713fc03 --- /dev/null +++ b/xarray-0.10.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64c2d07b75b8ea1320cba521818a2f09107f5f46514d50ff5ef1c4d5da90aaf1 +size 1414769