Commit Graph

46 Commits

Author SHA256 Message Date
2bf6b01b67 add missing requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=68
2022-08-18 14:38:58 +00:00
7efc31a1bf Accepting request 995160 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/995160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=67
2022-08-18 14:37:42 +00:00
Sebastian Wagner
6d26ccab4e - update to version 2022.03.0:
- This release brings a number of small improvements, as well as a move to `calendar versioning <https://calver.org/>`_ (:issue:`6176`).:
 - Many thanks to the 16 contributors to the v2022.02.0 release!:
 - Aaron Spring, Alan D. Snow, Anderson Banihirwe, crusaderky, Illviljan, Joe Hamman, Jonas Gliß,:
 - Lukas Pilz, Martin Bergemann, Mathias Hauser, Maximilian Roos, Romain Caneill, Stan West, Stijn Van Hoey,:
 - Tobias Kölling, and Tom Nicholas.:
 - New Features:
  - Enabled multiplying tick offsets by floats. Allows ``float`` ``n`` in
    :py:meth:`CFTimeIndex.shift` if ``shift_freq`` is between ``Day``
    and ``Microsecond``. (:issue:`6134`, :pull:`6135`).
    By `Aaron Spring <https://github.com/aaronspring>`_.
  - Enbable to provide more keyword arguments to `pydap` backend when reading
    OpenDAP datasets (:issue:`6274`).
    By `Jonas Gliß <https://github.com/jgliss>`.
  - Allow :py:meth:`DataArray.drop_duplicates` to drop duplicates along multiple dimensions at once,
    and add :py:meth:`Dataset.drop_duplicates`. (:pull:`6307`)
    By `Tom Nicholas <https://github.com/TomNicholas>`_.
 - Breaking changes:
  - Renamed the ``interpolation`` keyword of all ``quantile`` methods (e.g. :py:meth:`DataArray.quantile`)
    to ``method`` for consistency with numpy v1.22.0 (:pull:`6108`).
    By `Mathias Hauser <https://github.com/mathause>`_.
 - Deprecations:
 - Bug fixes:
  - Variables which are chunked using dask in larger (but aligned) chunks than the target zarr chunk size
    can now be stored using `to_zarr()` (:pull:`6258`) By `Tobias Kölling <https://github.com/d70-t>`_.
  - Multi-file datasets containing encoded :py:class:`cftime.datetime` objects can be read in parallel again (:issue:`6226`, :pull:`6249`, :pull:`6305`).  By `Martin Bergemann <https://github.com/antarcticrainforest>`_ and `Stan West <https://github.com/stanwest>`_.
 - Documentation:
  - Delete files of datasets saved to disk while building the documentation and enable
    building on Windows via `sphinx-build` (:pull:`6237`).
    By `Stan West <https://github.com/stanwest>`_.
 - Internal Changes:
- update to version 0.21.1:
 - This is a bugfix release to resolve (:issue:`6216`, :pull:`6207`).:
 - Bug fixes:
  - Add `packaging` as a dependency to Xarray (:issue:`6216`, :pull:`6207`).
    By `Sebastian Weigand <https://github.com/s-weigand>`_ and `Joe Hamman <https://github.com/jhamman>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=65
2022-03-04 18:01:07 +00:00
Sebastian Wagner
236ef0cc63 - update to version 0.21.1:
- This is a bugfix release to resolve (:issue:`6216`, :pull:`6207`).:
 - Bug fixes:
  - Add `packaging` as a dependency to Xarray (:issue:`6216`, :pull:`6207`).
    By `Sebastian Weigand <https://github.com/s-weigand>`_ and `Joe Hamman <https://github.com/jhamman>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=64
2022-02-02 19:56:44 +00:00
Sebastian Wagner
81aa8eb667 - update to version 0.21.0:
- Many thanks to the 20 contributors to the v0.21.0 release!:
 - Abel Aoun, Anderson Banihirwe, Ant Gib, Chris Roat, Cindy Chiao,:
 - Deepak Cherian, Dominik Stańczak, Fabian Hofmann, Illviljan, Jody Klymak, Joseph:
 - K Aicher, Mark Harfouche, Mathias Hauser, Matthew Roeschke, Maximilian Roos,:
 - Michael Delgado, Pascal Bourgault, Pierre, Ray Bell, Romain Caneill, Tim Heap,:
 - Tom Nicholas, Zeb Nicholls, joseph nowak, keewis.:
 - New Features:
  - New top-level function :py:func:`cross`. (:issue:`3279`, :pull:`5365`).
    By `Jimmy Westling <https://github.com/illviljan>`_.
  - ``keep_attrs`` support for :py:func:`where` (:issue:`4141`, :issue:`4682`, :pull:`4687`).
    By `Justus Magin <https://github.com/keewis>`_.
  - Enable the limit option for dask array in the following methods :py:meth:`DataArray.ffill`, :py:meth:`DataArray.bfill`, :py:meth:`Dataset.ffill` and :py:meth:`Dataset.bfill` (:issue:`6112`)
    By `Joseph Nowak <https://github.com/josephnowak>`_.
 - Breaking changes:
  - Rely on matplotlib's default datetime converters instead of pandas' (:issue:`6102`, :pull:`6109`).
    By `Jimmy Westling <https://github.com/illviljan>`_.
  - Improve repr readability when there are a large number of dimensions in datasets or dataarrays by
    wrapping the text once the maximum display width has been exceeded. (:issue:`5546`, :pull:`5662`)
    By `Jimmy Westling <https://github.com/illviljan>`_.
 - Deprecations:
  - Removed the lock kwarg from the zarr and pydap backends, completing the deprecation cycle started in :issue:`5256`.
    By `Tom Nicholas <https://github.com/TomNicholas>`_.
  - Support for ``python 3.7`` has been dropped. (:pull:`5892`)
    By `Jimmy Westling <https://github.com/illviljan>`_.
 - Bug fixes:
  - Preserve chunks when creating a :py:class:`DataArray` from another :py:class:`DataArray`
    (:pull:`5984`). By `Fabian Hofmann <https://github.com/FabianHofmann>`_.
  - Properly support :py:meth:`DataArray.ffill`, :py:meth:`DataArray.bfill`, :py:meth:`Dataset.ffill` and :py:meth:`Dataset.bfill` along chunked dimensions (:issue:`6112`).
    By `Joseph Nowak <https://github.com/josephnowak>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=63
2022-01-29 09:24:37 +00:00
Sebastian Wagner
c3aaff2804 Accepting request 948454 from home:bnavigator:branches:devel:languages:python:numeric
- Don't test with dask and distributed in python310: not supported
  yet

OBS-URL: https://build.opensuse.org/request/show/948454
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=62
2022-01-25 20:21:34 +00:00
Sebastian Wagner
a798520ada - update to version 0.20.2:
- This is a bugfix release to resolve (:issue:`3391`, :issue:`5715`). It also:
 - includes performance improvements in unstacking to a ``sparse`` array and a:
 - number of documentation improvements.:
 - Many thanks to the 20 contributors:
 - Aaron Spring, Alexandre Poux, Deepak Cherian, Enrico Minack, Fabien Maussion,:
 - Giacomo Caria, Gijom, Guillaume Maze, Illviljan, Joe Hamman, Joseph Hardin, Kai:
 - Mühlbauer, Matt Henderson, Maximilian Roos, Michael Delgado, Robert Gieseke,:
 - Sebastian Weigand and Stephan Hoyer.:
 - Breaking changes:
  - Use complex nan when interpolating complex values out of bounds by default (instead of real nan) (:pull:`6019`).
    By `Alexandre Poux <https://github.com/pums974>`_.
 - Performance:
  - Significantly faster unstacking to a ``sparse`` array. :pull:`5577`
    By `Deepak Cherian <https://github.com/dcherian>`_.
 - Bug fixes:
  - :py:func:`xr.map_blocks` and :py:func:`xr.corr` now work when dask is not installed (:issue:`3391`, :issue:`5715`, :pull:`5731`).
    By `Gijom <https://github.com/Gijom>`_.
  - Fix plot.line crash for data of shape ``(1, N)`` in _title_for_slice on format_item (:pull:`5948`).
    By `Sebastian Weigand <https://github.com/s-weigand>`_.
  - Fix a regression in the removal of duplicate backend entrypoints (:issue:`5944`, :pull:`5959`)
    By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
 - Documentation:
  - Better examples in docstrings for groupby and resampling reductions (:pull:`5871`).
    By `Deepak Cherian <https://github.com/dcherian>`_,
    `Maximilian Roos <https://github.com/max-sixty>`_,
    `Jimmy Westling <https://github.com/illviljan>`_ .
 - Internal Changes:
  - Use ``importlib`` to replace functionality of ``pkg_resources`` in
    backend plugins tests. (:pull:`5959`).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=61
2021-12-10 08:01:56 +00:00
Sebastian Wagner
dbdd68f628 - update to version 0.20.1:
- This is a bugfix release to fix :issue:`5930`.:
 - Bug fixes:
  - Fix a regression in the detection of the backend entrypoints (:issue:`5930`, :pull:`5931`)
    By `Justus Magin <https://github.com/keewis>`_.
 - Documentation:
  - Significant improvements to  :ref:`api`. By `Deepak Cherian <https://github.com/dcherian>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=60
2021-11-15 14:47:43 +00:00
Sebastian Wagner
3cd7acab45 - update to version 0.20.0:
- This release brings improved support for pint arrays, methods for weighted standard deviation, variance,:
 - and sum of squares, the option to disable the use of the bottleneck library, significantly improved performance of:
 - unstack, as well as many bugfixes and internal changes.:
 - Many thanks to the 38 contributors to this release!:
 - Aaron Spring, Akio Taniguchi, Alan D. Snow, arfy slowy, Benoit Bovy, Christian Jauvin, crusaderky, Deepak Cherian,:
 - Giacomo Caria, Illviljan, James Bourbeau, Joe Hamman, Joseph K Aicher, Julien Herzen, Kai Mühlbauer,:
 - keewis, lusewell, Martin K. Scherer, Mathias Hauser, Max Grover, Maxime Liquet, Maximilian Roos, Mike Taves, pmav99,:
 - Pushkar Kopparla, Ray Bell, Rio McMahon, Scott Staniewicz, Spencer Clark, Stefan Bender, Taher Chegini, Thomas Nicholas,:
 - Tomas Chor, Tom Augspurger, Victor Negîrneac, Zachary Moon, and Zeb Nicholls.:
 - New Features:
  - Add ``std``, ``var``,  ``sum_of_squares`` to :py:class:`~core.weighted.DatasetWeighted` and :py:class:`~core.weighted.DataArrayWeighted`.
    By `Christian Jauvin <https://github.com/cjauvin>`_.
  - Added a :py:func:`get_options` method to xarray's root namespace (:issue:`5698`, :pull:`5716`)
    By `Pushkar Kopparla <https://github.com/pkopparla>`_.
  - Xarray now does a better job rendering variable names that are long LaTeX sequences when plotting (:issue:`5681`, :pull:`5682`).
    By `Tomas Chor <https://github.com/tomchor>`_.
  - Add an option (``"use_bottleneck"``) to disable the use of ``bottleneck`` using :py:func:`set_options` (:pull:`5560`)
    By `Justus Magin <https://github.com/keewis>`_.
  - Added ``**kwargs`` argument to :py:meth:`open_rasterio` to access overviews (:issue:`3269`).
    By `Pushkar Kopparla <https://github.com/pkopparla>`_.
  - Added ``storage_options`` argument to :py:meth:`to_zarr` (:issue:`5601`).
    By `Ray Bell <https://github.com/raybellwaves>`_, `Zachary Blackwood <https://github.com/blackary>`_ and
    `Nathan Lis <https://github.com/wxman22>`_.
  - Histogram plots are set with a title displaying the scalar coords if any, similarly to the other plots (:issue:`5791`, :pull:`5792`).
    By `Maxime Liquet <https://github.com/maximlt>`_.
  - Slice plots display the coords units in the same way as x/y/colorbar labels (:pull:`5847`).
    By `Victor Negîrneac <https://github.com/caenrigen>`_.
  - Added a new :py:attr:`Dataset.chunksizes`, :py:attr:`DataArray.chunksizes`, and :py:attr:`Variable.chunksizes`
    property, which will always return a mapping from dimension names to chunking pattern along that dimension,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=59
2021-11-02 20:27:46 +00:00
Sebastian Wagner
212f4916d9 Accepting request 920894 from home:bnavigator:branches:devel:languages:python:numeric
- Tests require dask[diagnostics] extra now (for Jinja2)

OBS-URL: https://build.opensuse.org/request/show/920894
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=58
2021-09-22 22:43:17 +00:00
Sebastian Wagner
379c2f46f7 really remove obsolete test_resample_loffset.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=57
2021-08-20 19:51:31 +00:00
Sebastian Wagner
1b835a8f4a - remove xarray-pr5449-dask-meta.patch, merged upstream.
- remove test_resample_loffset.patch, merged upstream.
- update to version 0.19.0:
 - This release brings improvements to plotting of categorical data, the ability to specify how attributes:
 - are combined in xarray operations, a new high-level :py:func:`unify_chunks` function, as well as various:
 - deprecations, bug fixes, and minor improvements.:
 - Many thanks to the 29 contributors to this release!:
 - Andrew Williams, Augustus, Aureliana Barghini, Benoit Bovy, crusaderky, Deepak Cherian, ellesmith88,:
 - Elliott Sales de Andrade, Giacomo Caria, github-actions[bot], Illviljan, Joeperdefloep, joooeey, Julia Kent,:
 - Julius Busecke, keewis, Mathias Hauser, Matthias Göbel, Mattia Almansi, Maximilian Roos, Peter Andreas Entschev,:
 - Ray Bell, Sander, Santiago Soler, Sebastian, Spencer Clark, Stephan Hoyer, Thomas Hirtz, Thomas Nicholas.:
 - New Features:
  - Allow passing argument ``missing_dims`` to :py:meth:`Variable.transpose` and :py:meth:`Dataset.transpose`
    (:issue:`5550`, :pull:`5586`)
    By `Giacomo Caria <https://github.com/gcaria>`_.
  - Allow passing a dictionary as coords to a :py:class:`DataArray` (:issue:`5527`,
    reverts :pull:`1539`, which had deprecated this due to python's inconsistent ordering in earlier versions).
    By `Sander van Rijn <https://github.com/sjvrijn>`_.
  - Added :py:meth:`Dataset.coarsen.construct`, :py:meth:`DataArray.coarsen.construct` (:issue:`5454`, :pull:`5475`).
    By `Deepak Cherian <https://github.com/dcherian>`_.
  - Xarray now uses consolidated metadata by default when writing and reading Zarr
    stores (:issue:`5251`).
    By `Stephan Hoyer <https://github.com/shoyer>`_.
  - New top-level function :py:func:`unify_chunks`.
    By `Mattia Almansi <https://github.com/malmans2>`_.
  - Allow assigning values to a subset of a dataset using positional or label-based
    indexing (:issue:`3015`, :pull:`5362`).
    By `Matthias Göbel <https://github.com/matzegoebel>`_.
  - Attempting to reduce a weighted object over missing dimensions now raises an error (:pull:`5362`).
    By `Mattia Almansi <https://github.com/malmans2>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=56
2021-07-27 13:28:20 +00:00
Sebastian Wagner
23dcca268c Accepting request 906712 from home:bnavigator:branches:devel:languages:python:numeric
- Add xarray-pr5449-dask-meta.patch in order to support updated
  dask -- gh#pydata/xarray#5449

OBS-URL: https://build.opensuse.org/request/show/906712
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=55
2021-07-17 07:33:42 +00:00
Sebastian Wagner
15f5c83eeb Accepting request 895529 from home:mcepl:branches:devel:languages:python:numeric
- Add local_dataset.patch allowing the use of the cached datasets
  (gh#pydata/xarray#5377).
- Add scipy-interpolate.patch adding a missing import
  scipy.interpolate to test_interp.py (gh#pydata/xarray#5375).
- Add test_resample_loffset.patch to fix test_resample_loffset
  test (gh#pydata/xarray#5364).

OBS-URL: https://build.opensuse.org/request/show/895529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=53
2021-05-27 06:19:25 +00:00
Sebastian Wagner
18833ec076 - update to version 0.18.2:
- This release reverts a regression in xarray's unstacking of dask-backed arrays.:
- remove fix_test_resample_loffset.patch, doesn't work

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=52
2021-05-21 15:59:35 +00:00
Sebastian Wagner
a3858e8c38 - add fix_test_resample_loffset.patch to fix test fail on i586
https://github.com/pydata/xarray/issues/5341

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=51
2021-05-19 13:55:17 +00:00
Sebastian Wagner
76fa4fe490 - update to version 0.18.1:
- This release is intended as a small patch release to be compatible with the new:
2021.5.0 ``dask.distributed`` release. It also includes a new
``drop_duplicates`` method, some documentation improvements, the beginnings of
 - our internal Index refactoring, and some bug fixes.:
 - Thank you to all 16 contributors!:
 - Anderson Banihirwe, Andrew, Benoit Bovy, Brewster Malevich, Giacomo Caria,:
 - Illviljan, James Bourbeau, Keewis, Maximilian Roos, Ravin Kumar, Stephan Hoyer,:
 - Thomas Nicholas, Tom Nicholas, Zachary Moon.:
 - New Features:
  - Implement :py:meth:`DataArray.drop_duplicates`
    to remove duplicate dimension values (:pull:`5239`).
    By `Andrew Huang <https://github.com/ahuang11>`_.
  - Allow passing ``combine_attrs`` strategy names to the ``keep_attrs`` parameter of
    :py:func:`apply_ufunc` (:pull:`5041`)
    By `Justus Magin <https://github.com/keewis>`_.
  - :py:meth:`Dataset.interp` now allows interpolation with non-numerical datatypes,
    such as booleans, instead of dropping them. (:issue:`4761` :pull:`5008`).
    By `Jimmy Westling <https://github.com/illviljan>`_.
  - Raise more informative error when decoding time variables with invalid reference dates.
    (:issue:`5199`, :pull:`5288`). By `Giacomo Caria <https://github.com/gcaria>`_.
 - Bug fixes:
  - Opening netCDF files from a path that doesn't end in ``.nc`` without supplying
    an explicit ``engine`` works again (:issue:`5295`), fixing a bug introduced in
    0.18.0.
    By `Stephan Hoyer <https://github.com/shoyer>`_
 - Documentation:
  - Clean up and enhance docstrings for the :py:class:`DataArray.plot` and ``Dataset.plot.*``
    families of methods (:pull:`5285`).
    By `Zach Moon <https://github.com/zmoon>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=50
2021-05-19 07:28:12 +00:00
Sebastian Wagner
f445ddbc82 - update to version 0.18.0:
- This release brings a few important performance improvements, a wide range of:
 - usability upgrades, lots of bug fixes, and some new features. These include:
 - a plugin API to add backend engines, a new theme for the documentation,:
 - curve fitting methods, and several new plotting functions.:
 - Many thanks to the 38 contributors to this release: Aaron Spring, Alessandro Amici,:
 - Alex Marandon, Alistair Miles, Ana Paula Krelling, Anderson Banihirwe, Aureliana Barghini,:
 - Baudouin Raoult, Benoit Bovy, Blair Bonnett, David Trémouilles, Deepak Cherian,:
 - Gabriel Medeiros Abrahão, Giacomo Caria, Hauke Schulz, Illviljan, Mathias Hauser, Matthias Bussonnier,:
 - Mattia Almansi, Maximilian Roos, Ray Bell, Richard Kleijn, Ryan Abernathey, Sam Levang, Spencer Clark,:
 - Spencer Jones, Tammas Loughran, Tobias Kölling, Todd, Tom Nicholas, Tom White, Victor Negîrneac,:
 - Xianxiang Li, Zeb Nicholls, crusaderky, dschwoerer, johnomotani, keewis:
 - New Features:
  - apply ``combine_attrs`` on data variables and coordinate variables when concatenating
    and merging datasets and dataarrays (:pull:`4902`).
    By `Justus Magin <https://github.com/keewis>`_.
  - Add :py:meth:`Dataset.to_pandas` (:pull:`5247`)
    By `Giacomo Caria <https://github.com/gcaria>`_.
  - Add :py:meth:`DataArray.plot.surface` which wraps matplotlib's `plot_surface` to make
    surface plots (:issue:`2235` :issue:`5084` :pull:`5101`).
    By `John Omotani <https://github.com/johnomotani>`_.
  - Allow passing multiple arrays to :py:meth:`Dataset.__setitem__` (:pull:`5216`).
    By `Giacomo Caria <https://github.com/gcaria>`_.
  - Add 'cumulative' option to :py:meth:`Dataset.integrate` and
    :py:meth:`DataArray.integrate` so that result is a cumulative integral, like
    :py:func:`scipy.integrate.cumulative_trapezoidal` (:pull:`5153`).
    By `John Omotani <https://github.com/johnomotani>`_.
  - Add ``safe_chunks`` option to :py:meth:`Dataset.to_zarr` which allows overriding
    checks made to ensure Dask and Zarr chunk compatibility (:issue:`5056`).
    By `Ryan Abernathey <https://github.com/rabernat>`_

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=48
2021-05-09 09:51:43 +00:00
Sebastian Wagner
9a88e6ba89 remove obsolete patchfile
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=46
2021-03-06 16:30:15 +00:00
Sebastian Wagner
cbf916e927 - update to version 0.17.0:
- This release brings a few important performance improvements, a wide range of:
 - usability upgrades, lots of bug fixes, and some new features. These include:
 - better ``cftime`` support, a new quiver plot, better ``unstack`` performance,:
 - more efficient memory use in rolling operations, and some python packaging:
 - improvements. We also have a few documentation improvements (and more planned!).:
 - Many thanks to the 36 contributors to this release: Alessandro Amici, Anderson:
 - Banihirwe, Aureliana Barghini, Ayrton Bourn, Benjamin Bean, Blair Bonnett, Chun:
 - Ho Chow, DWesl, Daniel Mesejo-León, Deepak Cherian, Eric Keenan, Illviljan, Jens:
 - Hedegaard Nielsen, Jody Klymak, Julien Seguinot, Julius Busecke, Kai Mühlbauer,:
 - Leif Denby, Martin Durant, Mathias Hauser, Maximilian Roos, Michael Mann, Ray:
 - Bell, RichardScottOZ, Spencer Clark, Tim Gates, Tom Nicholas, Yunus Sevinchan,:
 - alexamici, aurghs, crusaderky, dcherian, ghislainp, keewis, rhkleijn:
 - Breaking changes:
  - xarray no longer supports python 3.6
    The minimum version policy was changed to also apply to projects with irregular
    releases. As a result, the minimum versions of some dependencies have changed:
    ============ ====== ====
    Package      Old    New
    ============ ====== ====
    Python       3.6    3.7
    setuptools   38.4   40.4
    numpy        1.15   1.17
    pandas       0.25   1.0
    dask         2.9    2.11
    distributed  2.9    2.11
    bottleneck   1.2    1.3
    h5netcdf     0.7    0.8
    iris         2.2    2.4
    netcdf4      1.4    1.5

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=45
2021-02-27 14:45:12 +00:00
ffcf88ca69 Accepting request 872458 from home:bnavigator:branches:devel:languages:python:numeric
- Disable python36 build: python36-numpy is no longer in Tumbleweed
  xarray will follow to drop Python 3.6 support on next release.
  (NEP 29)
- Add xarray-pr4884-dask2021.patch gh#pydata/xarray#4884
- Enable parralel testing with pytest-xdist
- Recommend/Suggest the extras

OBS-URL: https://build.opensuse.org/request/show/872458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=43
2021-02-15 13:28:30 +00:00
Sebastian Wagner
a574211654 - update to version 0.16.2:
- This release brings the ability to write to limited regions of ``zarr`` files, open zarr files with :py:func:`open_dataset` and :py:func:`open_mfdataset`, increased support for propagating ``attrs`` using the ``keep_attrs`` flag, as well as numerous bugfixes and documentation improvements.:
 - Deprecations:
  - :py:attr:`~core.accessor_dt.DatetimeAccessor.weekofyear` and :py:attr:`~core.accessor_dt.DatetimeAccessor.week`
    have been deprecated. Use ``DataArray.dt.isocalendar().week``
    instead (:pull:`4534`). By `Mathias Hauser <https://github.com/mathause>`_,
    `Maximilian Roos <https://github.com/max-sixty>`_, and `Spencer Clark <https://github.com/spencerkclark>`_.
  - :py:attr:`DataArray.rolling` and :py:attr:`Dataset.rolling` no longer support passing ``keep_attrs``
    via its constructor. Pass ``keep_attrs`` via the applied function, i.e. use
    ``ds.rolling(...).mean(keep_attrs=False)`` instead of ``ds.rolling(..., keep_attrs=False).mean()``
    Rolling operations now keep their attributes per default (:pull:`4510`).
    By `Mathias Hauser <https://github.com/mathause>`_.
 - New Features:
  - :py:func:`open_dataset` and :py:func:`open_mfdataset`
    now works with ``engine="zarr"`` (:issue:`3668`, :pull:`4003`, :pull:`4187`).
    By `Miguel Jimenez <https://github.com/Mikejmnez>`_ and `Wei Ji Leong <https://github.com/weiji14>`_.
  - Unary & binary operations follow the ``keep_attrs`` flag (:issue:`3490`, :issue:`4065`, :issue:`3433`, :issue:`3595`, :pull:`4195`).
    By `Deepak Cherian <https://github.com/dcherian>`_.
  - Added :py:meth:`~core.accessor_dt.DatetimeAccessor.isocalendar()` that returns a Dataset
    with year, week, and weekday calculated according to the ISO 8601 calendar. Requires
    pandas version 1.1.0 or greater (:pull:`4534`). By `Mathias Hauser <https://github.com/mathause>`_,
    `Maximilian Roos <https://github.com/max-sixty>`_, and `Spencer Clark <https://github.com/spencerkclark>`_.
  - :py:meth:`Dataset.to_zarr` now supports a ``region`` keyword for writing to
    limited regions of existing Zarr stores (:pull:`4035`).
    See :ref:`io.zarr.appending` for full details.
    By `Stephan Hoyer <https://github.com/shoyer>`_.
  - Added typehints in :py:func:`align` to reflect that the same type received in ``objects`` arg will be returned (:pull:`4522`).
    By `Michal Baumgartner <https://github.com/m1so>`_.
  - :py:meth:`Dataset.weighted` and :py:meth:`DataArray.weighted` are now executing value checks lazily if weights are provided as dask arrays (:issue:`4541`, :pull:`4559`).
    By `Julius Busecke <https://github.com/jbusecke>`_.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=41
2020-12-20 16:14:36 +00:00
Sebastian Wagner
b82feb2bc8 - update to version 0.16.1:
- This patch release fixes an incompatability with a recent pandas change, which:
 - was causing an issue indexing with a ``datetime64``. It also includes:
 - improvements to ``rolling``, ``to_dataframe``, ``cov`` & ``corr`` methods and:
 - bug fixes. Our documentation has a number of improvements, including fixing all :
 - doctests and confirming their accuracy on every commit.:
 - Many thanks to the 36 contributors who contributed to this release:
 - Aaron Spring, Akio Taniguchi, Aleksandar Jelenak, Alexandre Poux,:
 - Caleb, Dan Nowacki, Deepak Cherian, Gerardo Rivera, Jacob Tomlinson, James A.:
 - Bednar, Joe Hamman, Julia Kent, Kai Mühlbauer, Keisuke Fujii, Mathias Hauser,:
 - Maximilian Roos, Nick R. Papior, Pascal Bourgault, Peter Hausamann, Romain:
 - Martinez, Russell Manser, Samnan Rahee, Sander, Spencer Clark, Stephan Hoyer,:
 - Thomas Zilio, Tobias Kölling, Tom Augspurger, alexamici, crusaderky, darikg,:
 - inakleinbottle, jenssss, johnomotani, keewis, and rpgoldman.:
 - Breaking changes:
  - :py:meth:`DataArray.astype` and :py:meth:`Dataset.astype` now preserve attributes. Keep the
    old behavior by passing `keep_attrs=False` (:issue:`2049`, :pull:`4314`).
    By `Dan Nowacki <https://github.com/dnowacki-usgs>`_ and `Gabriel Joel Mitchell <https://github.com/gajomi>`_.
 - New Features:
  - :py:meth:`~xarray.DataArray.rolling` and :py:meth:`~xarray.Dataset.rolling`
    now accept more than 1 dimension. (:pull:`4219`)
    By `Keisuke Fujii <https://github.com/fujiisoup>`_.
  - :py:meth:`~xarray.DataArray.to_dataframe` and :py:meth:`~xarray.Dataset.to_dataframe`
    now accept a ``dim_order`` parameter allowing to specify the resulting dataframe's
    dimensions order (:issue:`4331`, :pull:`4333`).
    By `Thomas Zilio <https://github.com/thomas-z>`_.
  - Support multiple outputs in :py:func:`xarray.apply_ufunc` when using
    ``dask='parallelized'``. (:issue:`1815`, :pull:`4060`).
    By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
  - ``min_count`` can be supplied to reductions such as ``.sum`` when specifying

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=39
2020-09-23 06:25:53 +00:00
Tomáš Chvátal
89ade1d8e8 Accepting request 821359 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to version 0.16.0
- Enable now-working tests

OBS-URL: https://build.opensuse.org/request/show/821359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=37
2020-07-17 06:36:15 +00:00
Tomáš Chvátal
3bb1f5dca4 - Package is py3 only -> drop py2 dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=35
2020-04-20 07:15:12 +00:00
Tomáš Chvátal
e6ceec4211 Accepting request 789380 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/789380
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=33
2020-03-29 07:06:28 +00:00
Sebastian Wagner
4c54ff85ae - update to version 0.15.0:
- This release brings many improvements to xarray's documentation: our examples are now binderized notebooks (`click here <https://mybinder.org/v2/gh/pydata/xarray/master?urlpath=lab/tree/doc/examples/weather-data.ipynb>`_):
 - and we have new example notebooks from our SciPy 2019 sprint (many thanks to our contributors!).:
 - This release also features many API improvements such as a new:
:py:class:`~core.accessor_dt.TimedeltaAccessor` and support for :py:class:`CFTimeIndex` in
:py:meth:`~DataArray.interpolate_na`); as well as many bug fixes.
 - Breaking changes:
  - Bumped minimum tested versions for dependencies:
    - numpy 1.15
    - pandas 0.25
    - dask 2.2
    - distributed 2.2
    - scipy 1.3
  - Remove ``compat`` and ``encoding`` kwargs from ``DataArray``, which
    have been deprecated since 0.12. (:pull:`3650`).
    Instead, specify the ``encoding`` kwarg when writing to disk or set
    the :py:attr:`DataArray.encoding` attribute directly.
    By `Maximilian Roos <https://github.com/max-sixty>`_.
  - :py:func:`xarray.dot`, :py:meth:`DataArray.dot`, and the ``@`` operator now
    use ``align="inner"`` (except when ``xarray.set_options(arithmetic_join="exact")``;
    :issue:`3694`) by `Mathias Hauser <https://github.com/mathause>`_.
 - New Features:
  - :py:meth:`DataArray.sel` and :py:meth:`Dataset.sel` now support :py:class:`pandas.CategoricalIndex`. (:issue:`3669`)
    By `Keisuke Fujii <https://github.com/fujiisoup>`_.
  - Support using an existing, opened h5netcdf ``File`` with
    :py:class:`~xarray.backends.H5NetCDFStore`. This permits creating an
    :py:class:`~xarray.Dataset` from a h5netcdf ``File`` that has been opened
    using other means (:issue:`3618`).
    By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
  - Implement ``median`` and ``nanmedian`` for dask arrays. This works by rechunking

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=31
2020-02-01 15:13:57 +00:00
Tomáš Chvátal
e27cfe86b1 Accepting request 750215 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/750215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=29
2019-11-22 08:29:20 +00:00
Sebastian Wagner
6d9a3949fe Accepting request 742733 from home:TheBlackCat:branches:devel:languages:python:numeric
update to version 0.14.0

OBS-URL: https://build.opensuse.org/request/show/742733
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=27
2019-10-24 20:10:08 +00:00
Sebastian Wagner
4df9058ab5 Accepting request 732407 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/732407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=25
2019-09-21 20:14:20 +00:00
Sebastian Wagner
8db6ad13e9 Accepting request 719727 from home:TheBlackCat:branches:devel:languages:python:numeric
Disable non-functional dask tests

OBS-URL: https://build.opensuse.org/request/show/719727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=23
2019-07-30 04:49:59 +00:00
Sebastian Wagner
af8f8637aa - update to version 0.12.3:
- New functions/methods:
  - New methods :py:meth:`Dataset.to_stacked_array` and
    :py:meth:`DataArray.to_unstacked_dataset` for reshaping Datasets of variables
    with different dimensions
    (:issue:`1317`).
    This is useful for feeding data from xarray into machine learning models,
    as described in :ref:`reshape.stacking_different`.
 - Enhancements:
  - Support for renaming ``Dataset`` variables and dimensions independently
    with :py:meth:`~Dataset.rename_vars` and :py:meth:`~Dataset.rename_dims`
    (:issue:`3026`).
  - Add ``scales``, ``offsets``, ``units`` and ``descriptions``
    attributes to :py:class:`~xarray.DataArray` returned by
    :py:func:`~xarray.open_rasterio`. (:issue:`3013`)
 - Bug fixes:
  - Resolved deprecation warnings from newer versions of matplotlib and dask.
  - Compatibility fixes for the upcoming pandas 0.25 and NumPy 1.17 releases.
  - Fix summaries for multiindex coordinates (:issue:`3079`).
  - Fix HDF5 error that could arise when reading multiple groups from a file at
    once (:issue:`2954`).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=21
2019-07-15 19:35:40 +00:00
Sebastian Wagner
376f03501a skip one online test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=19
2019-06-30 10:20:43 +00:00
Sebastian Wagner
05745a2f96 - 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 <http://github.com/TomNicholas>`_.
  - :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 <https://github.com/max-sixty>`_.
  - New :py:func:`DataArray.str <core.accessor_str.StringAccessor>` for string
    related manipulations, based on ``pandas.Series.str``.
    By `0x0L <https://github.com/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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=18
2019-06-30 09:30:45 +00:00
Tomáš Chvátal
6f6f59d916 Accepting request 705725 from home:TheBlackCat:branches:devel:languages:python:numeric
fix building on ARM

OBS-URL: https://build.opensuse.org/request/show/705725
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=16
2019-05-28 07:15:41 +00:00
Tomáš Chvátal
e4c40cde16 - Just use %pytest macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=14
2019-04-23 09:44:37 +00:00
Sebastian Wagner
bea2b3c885 - update to version 0.11.3:
- Bug fixes
  - Saving files with times encoded with reference dates with timezones
    (e.g. '2000-01-01T00:00:00-05:00') no longer raises an error
    (:issue:`2649`).
  - Fixed performance regression with ``open_mfdataset`` (:issue:`2662`).
  - Fixed supplying an explicit dimension in the ``concat_dim`` argument to
    to ``open_mfdataset`` (:issue:`2647`).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=13
2019-04-07 11:53:36 +00:00
Sebastian Wagner
202a08d66f Accepting request 685681 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/685681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=11
2019-03-17 07:56:01 +00:00
Sebastian Wagner
72c6f4f532 Accepting request 674693 from home:TheBlackCat:branches:devel:languages:python:numeric
- update to version 0.11.3
- Fix build errors

OBS-URL: https://build.opensuse.org/request/show/674693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=9
2019-02-13 18:22:35 +00:00
Sebastian Wagner
eb03ec64d8 - update to version 0.11.2:
- Removes inadvertently introduced setup dependency on pytest-runner (:issue:`2641`). Otherwise, this release is exactly equivalent to 0.11.1.
 - Warning:
  - This is the last xarray release that will support Python 2.7. Future releases will be Python 3 only, but older versions of xarray will always be available for Python 2.7 users. For the more details, see:
- update to version 0.11.1:
 - Breaking changes
  - Minimum rasterio version increased from 0.36 to 1.0 (for open_rasterio)
  - Time bounds variables are now also decoded according to CF conventions (:issue:`2565`). The previous behavior was to decode them only if they had specific time attributes, now these attributes are copied automatically from the corresponding time coordinate. This might brake downstream code that was relying on these variables to be not decoded. By Fabien Maussion.
 - Enhancements
  - Ability to read and write consolidated metadata in zarr stores (:issue:`2558`). By Ryan Abernathey.
  - :py:class:`CFTimeIndex` uses slicing for string indexing when possible (like :py:class:`pandas.DatetimeIndex`), which avoids unnecessary copies. By Stephan Hoyer
  - Enable passing rasterio.io.DatasetReader or rasterio.vrt.WarpedVRT to open_rasterio instead of file path string. Allows for in-memory reprojection, see (:issue:`2588`). By Scott Henderson.
  - Like :py:class:`pandas.DatetimeIndex`, :py:class:`CFTimeIndex` now supports "dayofyear" and "dayofweek" accessors (:issue:`2597`). Note this requires a version of cftime greater than 1.0.2. By Spencer Clark.
  - The option 'warn_for_unclosed_files' (False by default) has been added to allow users to enable a warning when files opened by xarray are deallocated but were not explicitly closed. This is mostly useful for debugging; we recommend enabling it in your test suites if you use xarray for IO. By Stephan Hoyer
  - Support Dask HighLevelGraphs by Matthew Rocklin.
  - :py:meth:`DataArray.resample` and :py:meth:`Dataset.resample` now supports the loffset kwarg just like Pandas. By Deepak Cherian
  - Datasets are now guaranteed to have a 'source' encoding, so the source file name is always stored (:issue:`2550`). By Tom Nicholas.
  - The apply methods for DatasetGroupBy, DataArrayGroupBy, DatasetResample and DataArrayResample now support passing positional arguments to the applied function as a tuple to the args argument. By Matti Eskelinen.
  - 0d slices of ndarrays are now obtained directly through indexing, rather than extracting and wrapping a scalar, avoiding unnecessary copying. By Daniel Wennberg.
  - Added support for fill_value with :py:meth:`~xarray.DataArray.shift` and :py:meth:`~xarray.Dataset.shift` By Maximilian Roos
 - Bug fixes
  - Ensure files are automatically closed, if possible, when no longer referenced by a Python variable (:issue:`2560`). By Stephan Hoyer
  - Fixed possible race conditions when reading/writing to disk in parallel (:issue:`2595`). By Stephan Hoyer
  - Fix h5netcdf saving scalars with filters or chunks (:issue:`2563`). By Martin Raspaud.
  - Fix parsing of _Unsigned attribute set by OPENDAP servers. (:issue:`2583`). By Deepak Cherian
  - Fix failure in time encoding when exporting to netCDF with versions of pandas less than 0.21.1 (:issue:`2623`). By Spencer Clark.
  - Fix MultiIndex selection to update label and level (:issue:`2619`). By Keisuke Fujii.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=7
2019-01-03 19:39:55 +00:00
Sebastian Wagner
57dbb695d0 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
2018-11-13 19:35:56 +00:00
Dominique Leuenberger
c41b6b0cb6 Accepting request 638355 from devel:languages:python:numeric
- update to version 0.10.9:
  * Enhancements
    + differentiate() and differentiate() are newly added. (GH1332) By
      Keisuke Fujii.
    + Default colormap for sequential and divergent data can now be
      set via set_options() (GH2394) By Julius Busecke.
    + min_count option is newly supported in sum(), prod() and sum(),
      and prod(). (GH2230) By Keisuke Fujii.
    + plot() now accepts the kwargs xscale, yscale, xlim, ylim,
      xticks, yticks just like Pandas. Also xincrease=False,
      yincrease=False now use matplotlib’s axis inverting methods
      instead of setting limits. By Deepak Cherian. (GH2224)
    + DataArray coordinates and Dataset coordinates and data variables
      are now displayed as a b … y z rather than a b c d …. (GH1186)
      By Seth P.
    + A new CFTimeIndex-enabled cftime_range() function for use in
      generating dates from standard or non-standard calendars. By
      Spencer Clark.
    + When interpolating over a datetime64 axis, you can now provide a
      datetime string instead of a datetime64
      object. E.g. da.interp(time='1991-02-01') (GH2284) By Deepak
      Cherian.
    + A clear error message is now displayed if a set or dict is
      passed in place of an array (GH2331) By Maximilian Roos.
    + Applying unstack to a large DataArray or Dataset is now much
      faster if the MultiIndex has not been modified after stacking
      the indices. (GH1560) By Maximilian Maahn.
    + You can now control whether or not to offset the coordinates
      when using the roll method and the current behavior, coordinates
      rolled by default, raises a deprecation warning unless

OBS-URL: https://build.opensuse.org/request/show/638355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=5
2018-10-01 06:17:06 +00:00
Dominique Leuenberger
3d4028d757 Accepting request 624539 from devel:languages:python
- specfile:
  * updated dependencies according to setup.py
  * removed devel dependency (noarch)
  * be more specific in %files section
- update to version 0.10.8:
  * Xarray no longer supports python 3.4. Additionally, the minimum
    supported versions of the following dependencies has been updated
    and/or clarified:
    + Pandas: 0.18 -> 0.19
    + NumPy: 1.11 -> 1.12
    + Dask: 0.9 -> 0.16
    + Matplotlib: unspecified -> 1.5
    (:issue:`2204`). By Joe Hamman.
  * Enhancements
    + :py:meth:`~xarray.DataArray.interp_like` and
      :py:meth:`~xarray.Dataset.interp_like` methods are newly
      added. (:issue:`2218`) By Keisuke Fujii.
    + Added support for curvilinear and unstructured generic grids to
      :py:meth:`~xarray.DataArray.to_cdms2` and
      :py:meth:`~xarray.DataArray.from_cdms2` (:issue:`2262`). By
      Stephane Raynaud.
  * Bug fixes
    + Fixed a bug in zarr backend which prevented use with datasets
      with incomplete chunks in multiple dimensions
      (:issue:`2225`). By Joe Hamman.
    + Fixed a bug in :py:meth:`~Dataset.to_netcdf` which prevented
      writing datasets when the arrays had different chunk sizes
      (:issue:`2254`). By Mike Neish.
    + Fixed masking during the conversion to cdms2 objects by
      :py:meth:`~xarray.DataArray.to_cdms2` (:issue:`2262`). By

OBS-URL: https://build.opensuse.org/request/show/624539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=4
2018-07-23 16:01:10 +00:00
Dominique Leuenberger
8f687b6fe6 Accepting request 617154 from devel:languages:python
- update to version 0.10.7:
 * Enhancements:
  * Plot labels now make use of metadata that follow CF conventions (:issue:`2135`). By Deepak Cherian and Ryan Abernathey.
  * Line plots now support facetting with row and col arguments (:issue:`2107`). By Yohai Bar Sinai.
  * :py:meth:`~xarray.DataArray.interp` and :py:meth:`~xarray.Dataset.interp` methods are newly added. See :ref:`interpolating values with interp` for the detail. (:issue:`2079`) By Keisuke Fujii.
 * Bug fixes:
  * Fixed a bug in rasterio backend which prevented use with distributed. The rasterio backend now returns pickleable objects (:issue:`2021`).
- update to version 0.10.6:
 * Enhancements:
  * New PseudoNetCDF backend for many Atmospheric data formats including GEOS-Chem, CAMx, NOAA arlpacked bit and many others. See :ref:`io.PseudoNetCDF` for more details. By Barron Henderson.
  * The :py:class:`Dataset` constructor now aligns :py:class:`DataArray` arguments in data_vars to indexes set explicitly in coords, where previously an error would be raised. (:issue:`674`) By Maximilian Roos.
  * :py:meth:`~DataArray.sel`, :py:meth:`~DataArray.isel` & :py:meth:`~DataArray.reindex`, (and their :py:class:`Dataset` counterparts) now support supplying a dict as a first argument, as an alternative to the existing approach of supplying kwargs. This allows for more robust behavior of dimension names which conflict with other keyword names, or are not strings. By Maximilian Roos.
  * :py:meth:`~DataArray.rename` now supports supplying **kwargs, as an alternative to the existing approach of supplying a dict as the first argument. By Maximilian Roos.
  * :py:meth:`~DataArray.cumsum` and :py:meth:`~DataArray.cumprod` now support aggregation over multiple dimensions at the same time. This is the default behavior when dimensions are not specified (previously this raised an error). By Stephan Hoyer
  * :py:meth:`DataArray.dot` and :py:func:`dot` are partly supported with older dask<0.17.4. (related to :issue:`2203`) By Keisuke Fujii.
  * Xarray now uses Versioneer to manage its version strings. (:issue:`1300`). By Joe Hamman.
 * Bug fixes:
  * Fixed a regression in 0.10.4, where explicitly specifying dtype='S1' or dtype=str in encoding with to_netcdf() raised an error (:issue:`2149`). Stephan Hoyer
  * :py:func:`apply_ufunc` now directly validates output variables (:issue:`1931`). By Stephan Hoyer.
  * Fixed a bug where to_netcdf(..., unlimited_dims='bar') yielded NetCDF files with spurious 0-length dimensions (i.e. b, a, and r) (:issue:`2134`). By Joe Hamman.
  * Removed spurious warnings with Dataset.update(Dataset) (:issue:`2161`) and array.equals(array) when array contains NaT (:issue:`2162`). By Stephan Hoyer.
  * Aggregations with :py:meth:`Dataset.reduce` (including mean, sum, etc) no longer drop unrelated coordinates (:issue:`1470`). Also fixed a bug where non-scalar data-variables that did not include the aggregation dimension were improperly skipped. By Stephan Hoyer
  * Fix :meth:`~DataArray.stack` with non-unique coordinates on pandas 0.23 (:issue:`2160`). By Stephan Hoyer
  * Selecting data indexed by a length-1 CFTimeIndex with a slice of strings now behaves as it does when using a length-1 DatetimeIndex (i.e. it no longer falsely returns an empty array when the slice includes the value in the index) (:issue:`2165`). By Spencer Clark.
  * Fix DataArray.groupby().reduce() mutating coordinates on the input array when grouping over dimension coordinates with duplicated entries (:issue:`2153`). By Stephan Hoyer
  * Fix Dataset.to_netcdf() cannot create group with engine="h5netcdf" (:issue:`2177`). By Stephan Hoyer
- 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.
- temporarily deactivated tests because of minor issues with netCDF library
  see https://github.com/pydata/xarray/issues/2050
- update to version 0.10.3:
 * Enhancements
  - :py:meth:`~xarray.DataArray.isin` and :py:meth:`~xarray.Dataset.isin` methods,
    which test each value in the array for whether it is contained in the
    supplied list, returning a bool array. See :ref:`selecting values with isin`
    for full details. Similar to the ``np.isin`` function.
    By `Maximilian Roos <https://github.com/maxim-lian>`_.
  - Some speed improvement to construct :py:class:`~xarray.DataArrayRolling`
    object (:issue:`1993`)
    By `Keisuke Fujii <https://github.com/fujiisoup>`_.
  - Handle variables with different values for ``missing_value`` and
    ``_FillValue`` by masking values for both attributes; previously this
    resulted in a ``ValueError``. (:issue:`2016`)
    By `Ryan May <https://github.com/dopplershift>`_.
 * Bug fixes
  - Fixed ``decode_cf`` function to operate lazily on dask arrays
    (:issue:`1372`). By `Ryan Abernathey <https://github.com/rabernat>`_.
  - Fixed labeled indexing with slice bounds given by xarray objects with
    datetime64 or timedelta64 dtypes (:issue:`1240`).
    By `Stephan Hoyer <https://github.com/shoyer>`_.
  - Attempting to convert an xarray.Dataset into a numpy array now raises an
    informative error message.
    By `Stephan Hoyer <https://github.com/shoyer>`_.
  - Fixed a bug in decode_cf_datetime where ``int32`` arrays weren't parsed
    correctly (:issue:`2002`).
    By `Fabien Maussion <https://github.com/fmaussion>`_.
  - 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) (:issue:`1988`).
    By `Ben Root <https://github.com/WeatherGod>`_.
- update to version 0.10.2:
  * Backwards incompatible changes
    + The addition of __array_ufunc__ for xarray objects (see below)
      means that NumPy ufunc methods (e.g., np.add.reduce) that
      previously worked on xarray.DataArray objects by converting them
      into NumPy arrays will now raise NotImplementedError instead. In
      all cases, the work-around is simple: convert your objects
      explicitly into NumPy arrays before calling the ufunc (e.g.,
      with .values).
  * Enhancements
    + Added dot(), equivalent to np.einsum(). Also, dot() now supports
      dims option, which specifies the dimensions to sum
      over. (GH1951) By Keisuke Fujii.
    + Support for writing xarray datasets to netCDF files (netcdf4
      backend only) when using the dask.distributed scheduler
      (GH1464). By Joe Hamman.
    + Support lazy vectorized-indexing. After this change, flexible
      indexing such as orthogonal/vectorized indexing, becomes
      possible for all the backend arrays. Also, lazy transpose is now
      also supported. (GH1897) By Keisuke Fujii.
    + Implemented NumPy’s __array_ufunc__ protocol for all xarray
      objects (GH1617). This enables using NumPy ufuncs directly on
      xarray.Dataset objects with recent versions of NumPy (v1.13 and
      newer):
         In [1]: ds = xr.Dataset({'a': 1})
         In [2]: np.sin(ds)
         Out[2]:
         <xarray.Dataset>
         Dimensions:  ()
         Data variables:
             a        float64 0.8415
      This obliviates the need for the xarray.ufuncs module, which
      will be deprecated in the future when xarray drops support for
      older versions of NumPy. By Stephan Hoyer.
    + Improve rolling() logic. DataArrayRolling() object now supports
      construct() method that returns a view of the DataArray /
      Dataset object with the rolling-window dimension added to the
      last axis. This enables more flexible operation, such as strided
      rolling, windowed rolling, ND-rolling, short-time FFT and
      convolution. (GH1831, GH1142, GH819) By Keisuke Fujii.
    + line() learned to make plots with data on x-axis if so
      specified. (GH575) By Deepak Cherian.
  * Bug fixes
    + Raise an informative error message when using apply_ufunc with
      numpy v1.11 (GH1956). By Stephan Hoyer.
    + Fix the precision drop after indexing datetime64 arrays
      (GH1932). By Keisuke Fujii.
    + Silenced irrelevant warnings issued by open_rasterio
      (GH1964). By Stephan Hoyer.
    + Fix kwarg colors clashing with auto-inferred cmap (GH1461) By
      Deepak Cherian.
    + Fix imshow() error when passed an RGB array with size one in a
      spatial dimension. By Zac Hatfield-Dodds.
- Replace future goals and aims by present capabilities.
- update to version 0.10.1:
 * please see upstream changelog at: https://github.com/pydata/xarray/blob/v0.10.1/doc/whats-new.rst
- remove check boundary condition
- run spec-cleaner
- use %license for license
- Implement single-spec version
- Update to 0.9.6
  * Please see changelog at:
    https://github.com/pydata/xarray/blob/v0.9.6/doc/whats-new.rst
- Rename package to python3-xray to match upstream naming.
- update to version 0.7.0:
  * The project formerly known as "xray" is now "xarray", pronounced "x-array"!
    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. 
  * 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`` 
      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
      raise ``ValueError``. If the array is unnamed, you need to supply the
      ``name`` argument.
  * Enhancements
    - Basic support for :py:class:`~pandas.MultiIndex` coordinates on xray objects, including
      indexing, :py:meth:`~DataArray.stack` and :py:meth:`~DataArray.unstack`:
    - Support for reading GRIB, HDF4 and other file formats via PyNIO_. See
      :ref:`io.pynio` for more details.
    - Better error message when a variable is supplied with the same name as
      one of its dimensions.
    - Plotting: more control on colormap parameters (:issue:`642`). ``vmin`` and
      ``vmax`` will not be silently ignored anymore. Setting ``center=False``
      prevents automatic selection of a divergent colormap.
    - New :py:meth:`~xray.Dataset.shift` and :py:meth:`~xray.Dataset.roll` methods
      for shifting/rotating datasets or arrays along a dimension
    - Assigning a ``pandas`` object directly as a ``Dataset`` variable is now permitted. Its
      index names correspond to the ``dims`` of the ``Dataset``, and its data is aligned.
    - 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. 
  * 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).
    - ``DataArray.to_masked_array`` always returns masked array with mask being an
      array (not a scalar value) (:issue:`684`)
    - Allows for (imperfect) repr of Coords when underlying index is PeriodIndex (:issue:`645`).
    - 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).
    - Attempting to assign a ``Dataset`` or ``DataArray`` variable/attribute using
      attribute-style syntax (e.g., ``ds.foo = 42``) now raises an error rather
      than silently failing (:issue:`656`, :issue:`714`).
    - You can now pass pandas objects with non-numpy dtypes (e.g., ``categorical``
      or ``datetime64`` with a timezone) into xray without an error
      (:issue:`716`).
- update to version 0.6.1:
  * The handling of colormaps and discrete color lists for 2D plots in
    :py:meth:`~xray.DataArray.plot` was changed to provide more
    compatibility with matplotlib's contour and contourf functions
    (:issue:`538`). Now discrete lists of colors should be specified
    using colors keyword, rather than cmap.
  * Faceted plotting through :py:class:`~xray.plot.FacetGrid` and the
    :py:meth:`~xray.plot.plot` method. See :ref:`plotting.faceting`
    for more details and examples.
  * :py:meth:`~xray.Dataset.sel` and :py:meth:`~xray.Dataset.reindex`
    now support the tolerance argument for controlling
    nearest-neighbor selection (:issue:`629`):
    This feature requires pandas v0.17 or newer.
  * New encoding argument in :py:meth:`~xray.Dataset.to_netcdf` for
    writing netCDF files with compression, as described in the new
    documentation section on :ref:`io.netcdf.writing_encoded`.
  * Add :py:attr:`~xray.Dataset.real` and
    :py:attr:`~xray.Dataset.imag` attributes to Dataset and DataArray
    (:issue:`553`).
  * More informative error message with
    :py:meth:`~xray.Dataset.from_dataframe` if the frame has duplicate
    columns.
  * xray now uses deterministic names for dask arrays it creates or
    opens from disk. This allows xray users to take advantage of
    dask's nascent support for caching intermediate computation
    results. See :issue:`555` for an example.
  * Forwards compatibility with the latest pandas release
    (v0.17.0). We were using some internal pandas routines for
    datetime conversion, which unfortunately have now changed upstream
    (:issue:`569`).
  * Aggregation functions now correctly skip NaN for data for
    complex128 dtype (:issue:`554`).
  * Fixed indexing 0d arrays with unicode dtype (:issue:`568`).
  * :py:meth:`~xray.DataArray.name` and Dataset keys must be a string
    or None to be written to netCDF (:issue:`533`).
  * :py:meth:`~xray.DataArray.where` now uses dask instead of numpy if
    either the array or other is a dask array. Previously, if other
    was a numpy array the method was evaluated eagerly.
  * Global attributes are now handled more consistently when loading
    remote datasets using engine='pydap' (:issue:`574`).
  * It is now possible to assign to the .data attribute of DataArray
    objects.
  * coordinates attribute is now kept in the encoding dictionary after
    decoding (:issue:`610`).
  * Compatibility with numpy 1.10 (:issue:`617
- update to version 0.6.0:
  * Plotting methods have been implemented on DataArray objects
    :py:meth:`~xray.DataArray.plot` through integration with matplotlib
    (:issue:`185`). For an introduction, see :ref:`plotting`.
  * Variables in netCDF files with multiple missing values are now decoded as
    NaN after issuing a warning if open_dataset is called with
    mask_and_scale=True.
  * We clarified our rules for when the result from an xray operation is a copy
    vs. a view (see :ref:`copies vs views` for more details).
  * Dataset variables are now written to netCDF files in order of appearance
    when using the netcdf4 backend (:issue:`479`).
  * Added :py:meth:`~xray.Dataset.isel_points` and
    :py:meth:`~xray.Dataset.sel_points` to support pointwise indexing of
    Datasets and DataArrays (:issue:`475`).
  * New :py:meth:`~xray.Dataset.where` method for masking xray objects
    according to some criteria. This works particularly well with
    multi-dimensional data:
  * Added new methods :py:meth:`DataArray.diff <xray.DataArray.diff>` and
    :py:meth:`Dataset.diff <xray.Dataset.diff>` for finite difference
    calculations along a given axis.
  * New :py:meth:`~xray.DataArray.to_masked_array` convenience method for
    returning a numpy.ma.MaskedArray.
  * Added new flag "drop_variables" to :py:meth:`~xray.open_dataset` for
    excluding variables from being parsed. This may be useful to drop variables
    with problems or inconsistent values.
  * Fixed aggregation functions (e.g., sum and mean) on big-endian arrays when
    bottleneck is installed (:issue:`489`).
  * Dataset aggregation functions dropped variables with unsigned integer dtype
    (:issue:`505`).
  * .any() and .all() were not lazy when used on xray objects containing dask
    arrays.
  * Fixed an error when attempting to saving datetime64 variables to netCDF
    files when the first element is NaT (:issue:`528`).
  * Fix pickle on DataArray objects (:issue:`515`).
  * Fixed unnecessary coercion of float64 to float32 when using netcdf3 and
    netcdf4_classic formats (:issue:`526`).
- Initial version

OBS-URL: https://build.opensuse.org/request/show/617154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=3
2018-06-29 20:27:12 +00:00
Dominique Leuenberger
5cee71a8ba 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
2018-05-29 08:34:57 +00:00
Dominique Leuenberger
225c0cbf1d Accepting request 596516 from devel:languages:python
for openSUSE:Factory:Staging:adi:14 fixing build there

OBS-URL: https://build.opensuse.org/request/show/596516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=1
2018-04-24 13:31:25 +00:00