Commit Graph

111 Commits

Author SHA256 Message Date
Ana Guerrero
852099ad70 Accepting request 1199626 from devel:languages:python:numeric
- Update to 2024.7.0
  * Add test for rechunking to a size string by @dcherian in #9117
  * Update docstring in api.py for open_mfdataset(), clarifying
    "chunks" argument by @arthur-e in #9121
  * Grouper refactor by @dcherian in #9122
  * adjust repr tests to account for different platforms (#9127) by
    @mgorny in #9128
  * Support duplicate dimensions in .chunk by @mraspaud in #9099
  * Update zendoo badge link by @max-sixty in #9133
  * Split out distributed writes in zarr docs by @max-sixty in
    #9132
  * Improve to_zarr docs by @max-sixty in #9139
  * groupby: remove some internal use of IndexVariable by @dcherian
    in #9123
  * Improve zarr chunks docs by @max-sixty in #9140
  * Include numbagg in type checks by @max-sixty in #9159
  * Remove mypy exclusions for a couple more libraries by
    @max-sixty in #9160
  * Add test for #9155 by @max-sixty in #9161
  * switch to datetime unit "D" by @keewis in #9170
  * Slightly improve DataTree repr by @shoyer in #9064
  * Fix example code formatting for CachingFileManager by @djhoese
    in #9178
  * Change np.core.defchararray to np.char (#9165) by @pont-us in
    #9166
  * temporarily remove pydap from CI by @keewis in #9183
  * also pin numpy in the all-but-dask CI by @keewis in #9184
  * promote floating-point numeric datetimes to 64-bit before
    decoding by @keewis in #9182
  * "source" encoding for datasets opened from fsspec objects by

OBS-URL: https://build.opensuse.org/request/show/1199626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=50
2024-09-09 12:45:45 +00:00
d5f8b0ae0d - 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
2024-09-09 08:37:45 +00:00
02ec22b4b5 Revert change of old changelog entry. I should not have been declined
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=100
2024-09-09 08:37:20 +00:00
Sebastian Wagner
d3af5d70ef - Update to 2024.7.0
* Add test for rechunking to a size string by @dcherian in #9117
  * Update docstring in api.py for open_mfdataset(), clarifying
    "chunks" argument by @arthur-e in #9121
  * Grouper refactor by @dcherian in #9122
  * adjust repr tests to account for different platforms (#9127) by
    @mgorny in #9128
  * Support duplicate dimensions in .chunk by @mraspaud in #9099
  * Update zendoo badge link by @max-sixty in #9133
  * Split out distributed writes in zarr docs by @max-sixty in
    #9132
  * Improve to_zarr docs by @max-sixty in #9139
  * groupby: remove some internal use of IndexVariable by @dcherian
    in #9123
  * Improve zarr chunks docs by @max-sixty in #9140
  * Include numbagg in type checks by @max-sixty in #9159
  * Remove mypy exclusions for a couple more libraries by
    @max-sixty in #9160
  * Add test for #9155 by @max-sixty in #9161
  * switch to datetime unit "D" by @keewis in #9170
  * Slightly improve DataTree repr by @shoyer in #9064
  * Fix example code formatting for CachingFileManager by @djhoese
    in #9178
  * Change np.core.defchararray to np.char (#9165) by @pont-us in
    #9166
  * temporarily remove pydap from CI by @keewis in #9183
  * also pin numpy in the all-but-dask CI by @keewis in #9184
  * promote floating-point numeric datetimes to 64-bit before
    decoding by @keewis in #9182
  * "source" encoding for datasets opened from fsspec objects by

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=99
2024-09-04 13:02:54 +00:00
Ana Guerrero
02ceca8775 Accepting request 1179055 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1179055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=49
2024-06-07 13:03:57 +00:00
Sebastian Wagner
4042c8f6d5 Accepting request 1179054 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 2024.5.0
  * Update reference to 'Weighted quantile estimators' by
    @AndreyAkinshin in #8898
  * Update docstring for compute and persist by @saschahofmann in
    #8903
  * Stateful tests with Dataset by @dcherian in #8658
  * Trigger hypothesis stateful tests nightly by @dcherian in #8907
  * Don't access data when creating DataArray from Variable. by
    @dcherian in #8754
  * Add typing to test_plot.py by @Illviljan in #8889
  * Update hypothesis action to always save the cache by @dcherian
    in #8913
  * Add typing to some functions in indexing.py by @Illviljan in
    #8922
  * Enhance the ugly error in constructor when no data passed by
    @aimtsou in #8920
  * Migrate iterators.py for datatree. by @owenlittlejohns in #8879
  * use pd.to_timedelta instead of TimedeltaIndex by @keewis in
    #8938
  * adapt more tests to the copy-on-write behavior of pandas by
    @keewis in #8940
  * Correct save_mfdataset docstring by @TomNicholas in #8934
  * Convert 360_day calendars by choosing random dates to drop or
    add by @aulemahal in #8603
  * Migrate datatree mapping.py by @owenlittlejohns in #8948
  * (feat): Support for pandas ExtensionArray by @ilan-gold in
    #8723
  * Migrate formatting_html.py into xarray core by @eni-awowale in
    #8930
  * use nan instead of NaN by @keewis in #8961
  * stop pruning datatree_ directory from distribution by
    @flamingbear in #8953
  * Delete pynio backend. by @dcherian in #8971
  * Migrate datatreee assertions/extensions/formatting by
    @owenlittlejohns in #8967
  * Bump dependencies incl pandas>=2 by @dcherian in #8968
  * Option to not auto-create index during expand_dims by
    @TomNicholas in #8960
  * Raise errors on new warnings from within xarray by @max-sixty
    in #8974
  * more engine environment tricks in preparation for numpy>=2 by
    @keewis in #8978
  * Switch all methods to dim by @max-sixty in #8982
  * Docstring and documentation improvement for the Dataset class
    by @noahbenson in #8973
  * Add notes on when to add ignores to warnings by @max-sixty in
    #8987
  * Remove .drop warning allow by @max-sixty in #8988
  * Skip flaky test_open_mfdataset_manyfiles test by @max-sixty in
    #8989
  * avoid a couple of warnings in polyfit by @keewis in #8939
  * Migration of datatree/ops.py -> datatree_ops.py by @flamingbear
    in #8976
  * Mark test_use_cftime_false_standard_calendar_in_range as an
    expected failure by @spencerkclark in #8996
  * call np.cross with 3D vectors only by @keewis in #8993
  * Fix syntax error in test related to cupy by @hmaarrfk in #9000
  * Add argument check_dims to assert_allclose to allow transposed
    inputs (#5733) by @ignamv in #8991
  * Faster fastpath by @hmaarrfk in #9001
  * Speed up localize by @Illviljan in #8536
  * Port negative frequency fix for pandas.date_range to
    cftime_range by @spencerkclark in #8999
  * Zarr: Optimize region="auto" detection by @dcherian in #8997
  * Add a benchmark to monitor performance for large dataset
    indexing by @hmaarrfk in #9012
  * Avoid extra read from disk when creating Pandas Index. by
    @dcherian in #8893
  * Avoid auto creation of indexes in concat by @TomNicholas in
    #8872
  * Zarr: Optimize appending by @dcherian in #8998
- Drop xarray-pr8953-nodatatreeprune.patch
- Add xarray-pr8854-np2.patch gh#pydata/xarray#8854
- Add xarray-pr9305-cftime.patch gh#pydata/xarray#9305

OBS-URL: https://build.opensuse.org/request/show/1179054
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=97
2024-06-06 17:16:35 +00:00
Ana Guerrero
ae5c6a4f3a Accepting request 1171905 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1171905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=48
2024-05-05 10:11:00 +00:00
Sebastian Wagner
69cc45c6ae Accepting request 1171757 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 2024.3.0
  ## New Features
  * Partial writes to existing chunks with region or append_dim
    will now raise an error (unless safe_chunks=False); previously
    an error would only be raised on new variables. (PR8459,
    GH8371, GH8882) By Maximilian Roos.
  * Grouped and resampling quantile calculations now use the
    vectorized algorithm in flox>=0.9.4 if present. By Deepak
    Cherian.
  * Do not broadcast in arithmetic operations when global option
    arithmetic_broadcast=False (GH6806, PR8784). By Etienne Schalk
    and Deepak Cherian.
  * Add the .oindex property to Explicitly Indexed Arrays for
    orthogonal indexing functionality. (GH8238, PR8750) By Anderson
    Banihirwe.
  * Add the .vindex property to Explicitly Indexed Arrays for
    vectorized indexing functionality. (GH8238, PR8780) By Anderson
    Banihirwe.
  * Expand use of .oindex and .vindex properties. (:pull: 8790) By
    Anderson Banihirwe and Deepak Cherian.
  * Allow creating xr.Coordinates objects with no indexes (PR8711)
    By Benoit Bovy and Tom Nicholas.
  * Enable plotting of datetime.dates. (GH8866, PR8873) By Sascha
    Hofmann.
  ## Breaking changes
  * Don’t allow overwriting index variables with to_zarr region
    writes. (GH8589, PR8876). By Deepak Cherian.
  ## Bug fixes
  * The default freq parameter in xr.date_range() and
    xr.cftime_range() is set to 'D' only if periods, start, or end

OBS-URL: https://build.opensuse.org/request/show/1171757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=95
2024-05-04 11:49:52 +00:00
Ana Guerrero
47d22cc664 Accepting request 1159356 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1159356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=47
2024-03-19 16:32:42 +00:00
2906ec4e42 Accepting request 1159122 from home:bnavigator:branches:devel:languages:python:numeric
- Add xarray-pr8797-tokenize.patch
  * gh#pydata/xarray#8797 fixes gh#pydata/xarray#8788

OBS-URL: https://build.opensuse.org/request/show/1159122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=93
2024-03-19 11:26:48 +00:00
Dominique Leuenberger
201d95acff Accepting request 1154193 from devel:languages:python:numeric
- Skip Python 3.9. It requires pydap, which is not available any
  more.
- Update to 2024.2.0
  * This release brings size information to the text repr, changes
    to the accepted frequency strings, and various bug fixes.
  ## New Features
  * Added a simple nbytes representation in DataArrays and Dataset
    repr. (GH8690, PR8702). By Etienne Schalk.
  * Allow negative frequency strings (e.g. "-1YE"). These strings
    are for example used in date_range(), and cftime_range()
    (PR8651). By Mathias Hauser.
  * Add NamedArray.expand_dims(), NamedArray.permute_dims() and
    NamedArray.broadcast_to() (PR8380) By Anderson Banihirwe.
  * Xarray now defers to flox’s heuristics to set the default
    method for groupby problems. This only applies to flox>=0.9. By
    Deepak Cherian.
  * All quantile methods (e.g. DataArray.quantile()) now use
    numbagg for the calculation of nanquantiles (i.e., skipna=True)
    if it is installed. This is currently limited to the linear
    interpolation method (method=’linear’). (GH7377, PR8684) By
    Marco Wolsza.
  ## Breaking changes
  * infer_freq() always returns the frequency strings as defined in
    pandas 2.2 (GH8612, PR8627). By Mathias Hauser.
  * Deprecations
  * The dt.weekday_name parameter wasn’t functional on modern
    pandas versions and has been removed. (GH8610, PR8664) By Sam
    Coleman.
  ## Bug fixes
  * Fixed a regression that prevented multi-index level coordinates
    being serialized after resetting or dropping the multi-index
    (GH8628, PR8672). By Benoit Bovy.
  * Fix bug with broadcasting when wrapping array API-compliant
    classes. (GH8665, PR8669) By Tom Nicholas.
  * Ensure DataArray.unstack() works when wrapping array
    API-compliant classes. (GH8666, PR8668) By Tom Nicholas.
  * Fix negative slicing of Zarr arrays without dask installed.
    (GH8252) By Deepak Cherian.
  * Preserve chunks when writing time-like variables to zarr by
    enabling lazy CF encoding of time-like variables (GH7132,
    GH8230, GH8432, PR8575). By Spencer Clark and Mattia Almansi.
  * Preserve chunks when writing time-like variables to zarr by
    enabling their lazy encoding (GH7132, GH8230, GH8432, PR8253,
    PR8575; see also discussion in PR8253). By Spencer Clark and
    Mattia Almansi.
  * Raise an informative error if dtype encoding of time-like
    variables would lead to integer overflow or unsafe conversion
    from floating point to integer values (GH8542, PR8575). By
    Spencer Clark.
  * Raise an error when unstacking a MultiIndex that has duplicates
    as this would lead to silent data loss (GH7104, PR8737). By
    Mathias Hauser.
- Release 2024.1.1
  ## Breaking changes
  * Following pandas, infer_freq() will return "YE", instead of "Y"
    (formerly "A"). This is to be consistent with the deprecation
    of the latter frequency string in pandas 2.2. This is a follow
    up to PR8415 (GH8612, PR8642). By Mathias Hauser.
  ## Deprecations
  * Following pandas, the frequency string "Y" (formerly "A") is
    deprecated in favor of "YE". These strings are used, for
    example, in date_range(), cftime_range(), DataArray.resample(),
    and Dataset.resample() among others (GH8612, PR8629). By
    Mathias Hauser.
- Release 2024.1.0
  * This release brings support for weights in correlation and
    covariance functions, a new DataArray.cumulative aggregation,
    improvements to xr.map_blocks, an update to our minimum
    dependencies, and various bugfixes.
  ## New Features
  * xr.cov() and xr.corr() now support using weights (GH8527,
    PR7392). By Llorenç Lledó.
  * Accept the compression arguments new in netCDF 1.6.0 in the
    netCDF4 backend. See netCDF4 documentation for details. Note
    that some new compression filters needs plugins to be installed
    which may not be available in all netCDF distributions. By
    Markel García-Díez. (GH6929, PR7551)
  * Add DataArray.cumulative() & Dataset.cumulative() to compute
    cumulative aggregations, such as sum, along a dimension — for
    example da.cumulative('time').sum(). This is similar to pandas’
    .expanding, and mostly equivalent to .cumsum methods, or to
    DataArray.rolling() with a window length equal to the dimension
    size. By Maximilian Roos. (PR8512)
  * Decode/Encode netCDF4 enums and store the enum definition in
    dataarrays’ dtype metadata. If multiple variables share the
    same enum in netCDF4, each dataarray will have its own enum
    definition in their respective dtype metadata. By Abel Aoun.
    (GH8144, PR8147)
  ## Deprecations
  * The squeeze kwarg to GroupBy is now deprecated. (GH2157,
    PR8507) By Deepak Cherian.
  ## Bug fixes
  * Support non-string hashable dimensions in xarray.DataArray
    (GH8546, PR8559). By Michael Niklas.
  * Reverse index output of bottleneck’s rolling
    move_argmax/move_argmin functions (GH8541, PR8552). By Kai
    Mühlbauer.
  * Vendor SerializableLock from dask and use as default lock for
    netcdf4 backends (GH8442, PR8571). By Kai Mühlbauer.
  * Add tests and fixes for empty CFTimeIndex, including broken
    html repr (GH7298, PR8600). By Mathias Hauser.
- Create subpackages for the python [extras], test dependencies
  with _multibuild

OBS-URL: https://build.opensuse.org/request/show/1154193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=46
2024-03-01 22:40:11 +00:00
3c048e7295 - Skip Python 3.9. It requires pydap, which is not available any
more.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=91
2024-03-01 21:04:42 +00:00
7b4792ad94 Accepting request 1152304 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 2024.2.0
  * This release brings size information to the text repr, changes
    to the accepted frequency strings, and various bug fixes.
  ## New Features
  * Added a simple nbytes representation in DataArrays and Dataset
    repr. (GH8690, PR8702). By Etienne Schalk.
  * Allow negative frequency strings (e.g. "-1YE"). These strings
    are for example used in date_range(), and cftime_range()
    (PR8651). By Mathias Hauser.
  * Add NamedArray.expand_dims(), NamedArray.permute_dims() and
    NamedArray.broadcast_to() (PR8380) By Anderson Banihirwe.
  * Xarray now defers to flox’s heuristics to set the default
    method for groupby problems. This only applies to flox>=0.9. By
    Deepak Cherian.
  * All quantile methods (e.g. DataArray.quantile()) now use
    numbagg for the calculation of nanquantiles (i.e., skipna=True)
    if it is installed. This is currently limited to the linear
    interpolation method (method=’linear’). (GH7377, PR8684) By
    Marco Wolsza.
  ## Breaking changes
  * infer_freq() always returns the frequency strings as defined in
    pandas 2.2 (GH8612, PR8627). By Mathias Hauser.
  * Deprecations
  * The dt.weekday_name parameter wasn’t functional on modern
    pandas versions and has been removed. (GH8610, PR8664) By Sam
    Coleman.
  ## Bug fixes
  * Fixed a regression that prevented multi-index level coordinates
    being serialized after resetting or dropping the multi-index
    (GH8628, PR8672). By Benoit Bovy.

OBS-URL: https://build.opensuse.org/request/show/1152304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=90
2024-02-29 08:58:33 +00:00
Dominique Leuenberger
3d2bebcfd0 Accepting request 1136895 from devel:languages:python:numeric
- Disable ROS3 tests, because hdf5 library was built without ROS3 support.

OBS-URL: https://build.opensuse.org/request/show/1136895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=45
2024-01-04 17:41:18 +00:00
Sebastian Wagner
531768215c - Disable ROS3 tests, because hdf5 library was built without ROS3 support.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=88
2024-01-04 11:17:33 +00:00
Ana Guerrero
21c6595d73 Accepting request 1134379 from devel:languages:python:numeric
- remove obsolete patch file xarray-pr8139-pandas-fill_value.patch
- update to version 2023.12.0:

OBS-URL: https://build.opensuse.org/request/show/1134379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=44
2023-12-21 22:38:54 +00:00
Sebastian Wagner
cd53fc5976 - remove obsolete patch file xarray-pr8139-pandas-fill_value.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=86
2023-12-20 20:41:07 +00:00
Sebastian Wagner
088b745878 remove patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=85
2023-12-20 20:40:51 +00:00
Sebastian Wagner
548007d024 - update to version 2023.12.0:
- This release brings new `hypothesis <https://hypothesis.works/>`_ strategies for testing, significantly faster rolling aggregations as well as:
``ffill`` and ``bfill`` with ``numbagg``, a new :py:meth:`Dataset.eval` method, and improvements to
 - reading and writing Zarr arrays (including a new ``"a-"`` mode).:
 - Thanks to our 16 contributors:
 - Anderson Banihirwe, Ben Mares, Carl Andersson, Deepak Cherian, Doug Latornell, Gregorio L. Trevisan, Illviljan, Jens Hedegaard Nielsen, Justus Magin, Mathias Hauser, Max Jones, Maximilian Roos, Michael Niklas, Patrick Hoefler, Ryan Abernathey, Tom Nicholas:
 - New Features:
  - Added hypothesis strategies for generating :py:class:`xarray.Variable` objects containing arbitrary data, useful for parametrizing downstream tests.
    Accessible under :py:mod:`testing.strategies`, and documented in a new page on testing in the User Guide.
    (:issue:`6911`, :pull:`8404`)
    By `Tom Nicholas <https://github.com/TomNicholas>`_.
  - :py:meth:`rolling` uses `numbagg <https://github.com/numbagg/numbagg>`_ for
    most of its computations by default. Numbagg is up to 5x faster than bottleneck
    where parallelization is possible. Where parallelization isn't possible — for
    example a 1D array — it's about the same speed as bottleneck, and 2-5x faster
    than pandas' default functions. (:pull:`8493`). numbagg is an optional
    dependency, so requires installing separately.
    By `Maximilian Roos <https://github.com/max-sixty>`_.
  - Use a concise format when plotting datetime arrays. (:pull:`8449`).
    By `Jimmy Westling <https://github.com/illviljan>`_.
  - Avoid overwriting unchanged existing coordinate variables when appending with :py:meth:`Dataset.to_zarr` by setting ``mode='a-'``.
    By `Ryan Abernathey <https://github.com/rabernat>`_ and `Deepak Cherian <https://github.com/dcherian>`_.
  - :py:meth:`~xarray.DataArray.rank` now operates on dask-backed arrays, assuming
    the core dim has exactly one chunk. (:pull:`8475`).
    By `Maximilian Roos <https://github.com/max-sixty>`_.
  - Add a :py:meth:`Dataset.eval` method, similar to the pandas' method of the
    same name. (:pull:`7163`). This is currently marked as experimental and
    doesn't yet support the ``numexpr`` engine.
  - :py:meth:`Dataset.drop_vars` & :py:meth:`DataArray.drop_vars` allow passing a
    callable, similar to :py:meth:`Dataset.where` & :py:meth:`Dataset.sortby` & others.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=84
2023-12-13 18:22:40 +00:00
Ana Guerrero
c1c68c6223 Accepting request 1110839 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1110839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=43
2023-09-13 18:45:44 +00:00
dff17e69ab Accepting request 1110376 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 2023.8.0
  * This release brings changes to minimum dependencies, allows
    reading of datasets where a dimension name is associated with a
    multidimensional variable (e.g. finite volume ocean model
    output), and introduces a new xarray.Coordinates object.
  ## Announcements
  * The xarray.Variable class is being refactored out to a new
    project title 'namedarray'. See the design doc for more
    details. Reach out to us on this discussion topic if you have
    any thoughts.
  ## What's Changed
  * Use variable name in all exceptions raised in as_variable by
    @ZedThree in #7995
  * Allow opening datasets with nD dimenson coordinate variables.
    by @dcherian in #7989
  * join together duplicate entries in the text repr by @keewis in
    #7225
  * Expose "Coordinates" as part of Xarray's public API by @benbovy
    in #7368
  * Update interpolate_na in dataset.py by @ilgast in #7974
  * Add HDF5 Section to read/write docs page by @rwegener2 in #8012
  * Add examples to docstrings by @harshitha1201 in #7937
  * (chore) min versions bump by @jhamman in #8022
  * Automatically chunk other in GroupBy binary ops. by @dcherian
    in #7684
  * change cumproduct to cumprod by @quantsnus in #8031
  * Reduce pre-commit update frequency to monthly from weekly. by
    @dcherian in #8033
  * sort when encoding coordinates for deterministic outputs by
    @itcarroll in #8034
  * Zarr : Allow setting write_empty_chunks by @RKuttruff in #8016
  * Count documentation by @Articoking in #8057
  * unpin numpy by @keewis in #8061
- Release 2023.7.0
  * This release brings improvements to the documentation on
    wrapping numpy-like arrays, improved docstrings, and bug fixes.
  ## What's Changed
  * Allow cubed arrays to be passed to flox groupby by @TomNicholas
    in #7941
  * Duck array documentation improvements by @TomNicholas in #7911
  * Docstring examples by @harshitha1201 in #7881
  * Chunked array docs by @TomNicholas in #7951
  * ensure no forward slashes in names for HDF5-based backends by
    @kmuehlbauer in #7953
  * Move absolute path finder from open_mfdataset to own function
    by @Illviljan in #7968
  * Skip broken tests on Python 3.11 and Windows by @Illviljan in
    #7972
  * Examples added to docstrings by @harshitha1201 in #7936
  * Fix typo in zarr.py by @johmathe in #7983
  * Improve explanation in example "Working with Multidimensional
    Coordinates" by @yvonnefroehlich in #7984
  * Remove hue_style from plot1d docstring by @Illviljan in #7925
- Release 2023.06.0
  * This release adds features to curvefit, improves the
    performance of concatenation, and fixes various bugs.
  ## What's Changed
  * Array API fixes for astype by @TomNicholas in #7847
  * Add type hints to test_dtypes by @Illviljan in #7858
  * adapt the pint + dask test to the newest version of pint by
    @keewis in #7855
  * Avoid explicit loop when updating OrderedSet by @Illviljan in
    #7857
  * Improve to_dask_dataframe performance by @Illviljan in #7844
  * Changed duck typing exception to: (ImportError, AttributeError)
    by @vhaasteren in #7874
  * defer to numpy for the expected result by @keewis in #7875
  * deprecate the cdms2 conversion methods by @keewis in #7876
  * Implement multidimensional initial guess and bounds for
    curvefit by @mgunyho in #7821
  * Improve concat performance by @Illviljan in #7824
  * Fix .groupby(multi index level) by @dcherian in #7830
  * don't use CacheFileManager.__del__ on interpreter shutdown by
    @keewis in #7880
  * fix polyfit changing the original object by @malmans2 in #7900
  * Fix flaky doctest for curvefit by @mgunyho in #7893
  * Ensure dtype of reindex result matches dtype of the original
    DataArray by @andersy005 in #7917
  * Add errors option to curvefit by @mgunyho in #7891
  * CF encoding should preserve vlen dtype for empty arrays by
    @tomwhite in #7862
  * use trusted publishers instead of a API token by @keewis in
    #7899
  * Add cfgrib,ipywidgets to doc env by @dcherian in #7888
  * Fix regression with grouper object on an IndexVariable by
    @mwtoews in #7920
  * Fix check for chunk_store in zarr backend by @juntyr in #7923
  * fixing rolling_window issue with cupy by @negin513 in #7938
- Add xarray-pr8139-pandas-fill_value.patch gh#pydata/xarray#8125,
  gh#pydata/xarray#8139

OBS-URL: https://build.opensuse.org/request/show/1110376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=82
2023-09-13 07:39:53 +00:00
Dominique Leuenberger
9b2447cf10 Accepting request 1089954 from devel:languages:python:numeric
- update to 2023.05.0:
  * This release adds some new methods and operators, updates our
    deprecation policy for python versions, fixes some bugs with
    groupby, and introduces experimental support for alternative
    chunked parallel array computation backends via a new plugin
    system!
  * Docstrings examples for string methods
  * Fix groupby_bins when labels are specified
  * Fix binning by unsorted array
  * This release includes support for pandas v2, allows
    refreshing of backend engines in a session, and removes
    deprecated backends for ``rasterio`` and ``cfgrib``.

OBS-URL: https://build.opensuse.org/request/show/1089954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=42
2023-05-31 19:54:47 +00:00
63abaa0ce5 - update to 2023.05.0:
* This release adds some new methods and operators, updates our
    deprecation policy for python versions, fixes some bugs with
    groupby, and introduces experimental support for alternative
    chunked parallel array computation backends via a new plugin
    system!
  * Docstrings examples for string methods
  * Fix groupby_bins when labels are specified
  * Fix binning by unsorted array
  * This release includes support for pandas v2, allows
    refreshing of backend engines in a session, and removes
    deprecated backends for ``rasterio`` and ``cfgrib``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=80
2023-05-31 08:28:20 +00:00
Dominique Leuenberger
d0a877e540 Accepting request 1070561 from devel:languages:python:numeric
- update to version 2023.02.0:
 - This release brings a major upgrade to :py:func:`xarray.concat`, many bug fixes,:
 - and a bump in supported dependency versions. Thanks to our 11 contributors:
 - Aron Gergely, Deepak Cherian, Illviljan, James Bourbeau, Joe Hamman,:
 - Justus Magin, Hauke Schulz, Kai Mühlbauer, Ken Mankoff, Spencer Clark, Tom Nicholas.:
 - Breaking changes:
  - Support for ``python 3.8`` has been dropped and the minimum versions of some
    dependencies were changed (:pull:`7461`):
    ===================== =========  ========
     Package                    Old      New
    ===================== =========  ========
     python                     3.8      3.9
     numpy                     1.20     1.21
     pandas                     1.3      1.4
     dask                   2021.11   2022.1
     distributed            2021.11   2022.1
     h5netcdf                  0.11     0.13
     lxml                       4.6      4.7
     numba                      5.4      5.5
    ===================== =========  ========
 - Deprecations:
  - Following pandas, the `closed` parameters of :py:func:`cftime_range` and
    :py:func:`date_range` are deprecated in favor of the `inclusive` parameters,
    and will be removed in a future version of xarray (:issue:`6985`:,
    :pull:`7373`).
 - Bug fixes:
  - :py:func:`xarray.concat` can now concatenate variables present in some datasets but
    not others (:issue:`508`, :pull:`7400`).
  - Handle ``keep_attrs`` option in binary operators of :py:meth:`Dataset` (:issue:`7390`, :pull:`7391`).
  - Improve error message when using dask in :py:func:`apply_ufunc` with ``output_sizes`` not supplied. (:pull:`7509`)
  - :py:func:`xarray.Dataset.to_zarr` now drops variable encodings that have been added by xarray during reading
    a dataset. (:issue:`7129`, :pull:`7500`).
 - Documentation:
  - Mention the `flox package <https://flox.readthedocs.io>`_ in GroupBy documentation and docstrings.
- update to version 2023.01.0:
 - This release includes a number of bug fixes. Thanks to the 14 contributors to this release:
 - Aron Gergely, Benoit Bovy, Deepak Cherian, Ian Carroll, Illviljan, Joe Hamman, Justus Magin, Mark Harfouche,:
 - Matthew Roeschke, Paige Martin, Pierre, Sam Levang, Tom White,  stefank0.:
 - Breaking changes:
  - :py:meth:`CFTimeIndex.get_loc` has removed the ``method`` and ``tolerance`` keyword arguments.
    Use ``.get_indexer([key], method=..., tolerance=...)`` instead (:pull:`7361`).
 - Bug fixes:
  - Avoid in-memory broadcasting when converting to a dask dataframe
    using ``.to_dask_dataframe.`` (:issue:`6811`, :pull:`7472`).
  - Accessing the property ``.nbytes`` of a DataArray, or Variable no longer
    accidentally triggers loading the variable into memory.
  - Allow numpy-only objects in :py:func:`where` when ``keep_attrs=True`` (:issue:`7362`, :pull:`7364`).
  - add a ``keep_attrs`` parameter to :py:meth:`Dataset.pad`, :py:meth:`DataArray.pad`,
    and :py:meth:`Variable.pad` (:pull:`7267`).
  - Fixed performance regression in alignment between indexed and non-indexed objects
    of the same shape (:pull:`7382`).
  - Preserve original dtype on accessing MultiIndex levels (:issue:`7250`,
    :pull:`7393`).
 - Internal Changes:
  - Add the pre-commit hook `absolufy-imports` to convert relative xarray imports to
    absolute imports (:pull:`7204`, :pull:`7370`).

OBS-URL: https://build.opensuse.org/request/show/1070561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=41
2023-03-10 21:07:29 +00:00
Sebastian Wagner
6654bf4c0c - update to version 2023.02.0:
- This release brings a major upgrade to :py:func:`xarray.concat`, many bug fixes,:
 - and a bump in supported dependency versions. Thanks to our 11 contributors:
 - Aron Gergely, Deepak Cherian, Illviljan, James Bourbeau, Joe Hamman,:
 - Justus Magin, Hauke Schulz, Kai Mühlbauer, Ken Mankoff, Spencer Clark, Tom Nicholas.:
 - Breaking changes:
  - Support for ``python 3.8`` has been dropped and the minimum versions of some
    dependencies were changed (:pull:`7461`):
    ===================== =========  ========
     Package                    Old      New
    ===================== =========  ========
     python                     3.8      3.9
     numpy                     1.20     1.21
     pandas                     1.3      1.4
     dask                   2021.11   2022.1
     distributed            2021.11   2022.1
     h5netcdf                  0.11     0.13
     lxml                       4.6      4.7
     numba                      5.4      5.5
    ===================== =========  ========
 - Deprecations:
  - Following pandas, the `closed` parameters of :py:func:`cftime_range` and
    :py:func:`date_range` are deprecated in favor of the `inclusive` parameters,
    and will be removed in a future version of xarray (:issue:`6985`:,
    :pull:`7373`).
 - Bug fixes:
  - :py:func:`xarray.concat` can now concatenate variables present in some datasets but
    not others (:issue:`508`, :pull:`7400`).
  - Handle ``keep_attrs`` option in binary operators of :py:meth:`Dataset` (:issue:`7390`, :pull:`7391`).
  - Improve error message when using dask in :py:func:`apply_ufunc` with ``output_sizes`` not supplied. (:pull:`7509`)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=78
2023-03-09 20:44:38 +00:00
Dominique Leuenberger
c548749169 Accepting request 1056777 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1056777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=40
2023-01-08 20:25:20 +00:00
Sebastian Wagner
6c35ab0ce3 Accepting request 1056773 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 2022.12.0
  * This release includes a number of bug fixes and experimental
    support for Zarr V3.
  ## New Features
  * Enable using offset and origin arguments in
    DataArray.resample() and Dataset.resample() (GH7266, PR7284).
    By Spencer Clark.
  * Add experimental support for Zarr’s in-progress V3
    specification. (PR6475). By Gregory Lee and Joe Hamman.
  ## Breaking changes
  * The minimum versions of some dependencies were changed
    (PR7300):
  ## Deprecations
  * The PyNIO backend has been deprecated (GH4491, PR7301). By Joe
    Hamman.
  ## Bug fixes
  * Fix handling of coordinate attributes in where(). (GH7220,
    PR7229) By Sam Levang.
  * Import nc_time_axis when needed (GH7275, PR7276). By Michael
    Niklas.
  * Fix static typing of xr.polyval() (GH7312, PR7315). By Michael
    Niklas.
  * Fix multiple reads on fsspec S3 files by resetting file pointer
    to 0 when reading file streams (GH6813, PR7304). By David Hoese
    and Wei Ji Leong.
  * Fix Dataset.assign_coords() resetting all dimension coordinates
    to default (pandas) index (GH7346, PR7347). By Benoît Bovy.

OBS-URL: https://build.opensuse.org/request/show/1056773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=76
2023-01-07 14:07:26 +00:00
Dominique Leuenberger
4b53f55261 Accepting request 1037357 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1037357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=39
2022-11-23 08:48:05 +00:00
Sebastian Wagner
5a954fae78 Accepting request 1037318 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 2022.11.0
  * This release brings a number of bugfixes and documentation
    improvements. Both text and HTML reprs now have a new "Indexes"
    section, which we expect will help with development of new
    Index objects. This release also features more support for the
    Python Array API.
  ## New Features
  * Add static typing to plot accessors (GH6949, PR7052). By
    Michael Niklas.
  * Display the indexes in a new section of the text and HTML reprs
    (PR6795, PR7183, PR7185) By Justus Magin and Benoît Bovy.
  * Added methods DataArrayGroupBy.cumprod() and
    DatasetGroupBy.cumprod(). (PR5816) By Patrick Naylor
  ## Breaking changes
  * repr(ds) may not show the same result because it doesn’t load
    small, lazy data anymore. Use ds.head().load() when wanting to
    see just a sample of the data. (GH6722, PR7203). By Jimmy
    Westling.
  * Many arguments of plotmethods have been made keyword-only.
  * xarray.plot.plot module renamed to xarray.plot.dataarray_plot
    to prevent shadowing of the plot method. (GH6949, PR7052). By
    Michael Niklas.
  ## Deprecations
  * Positional arguments for all plot methods have been deprecated
    (GH6949, PR7052). By Michael Niklas.
  * xarray.plot.FacetGrid.axes has been renamed to
    xarray.plot.FacetGrid.axs because it’s not clear if axes refers
    to single or multiple Axes instances. This aligns with
    matplotlib.pyplot.subplots. (PR7194) By Jimmy Westling.
  ## Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1037318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=74
2022-11-22 15:35:40 +00:00
Dominique Leuenberger
0c162d1e10 Accepting request 1029886 from devel:languages:python:numeric
- Update to 2022.10.0:
  - This release brings numerous bugfixes, a change in minimum
    supported versions, and a new scatter plot method for
    DataArrays.
  - Also, temporarily import loop_in_thread fixture from
    distributed.
- Update to 2022.9.0:
  - This release brings a large number of bugfixes and
    documentation improvements, as well as an external interface
    for setting custom indexes!

OBS-URL: https://build.opensuse.org/request/show/1029886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=38
2022-10-19 11:17:51 +00:00
8cae4b873e Remove conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=72
2022-10-18 22:37:05 +00:00
a47fd6be25 - Also, temporarily import loop_in_thread fixture from
distributed.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=71
2022-10-18 22:27:13 +00:00
36150b10c4 - Update to 2022.10.0:
- This release brings numerous bugfixes, a change in minimum
    supported versions, and a new scatter plot method for
    DataArrays.
- Update to 2022.9.0:
  - This release brings a large number of bugfixes and
    documentation improvements, as well as an external interface
    for setting custom indexes!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=70
2022-10-18 22:26:22 +00:00
Dominique Leuenberger
de041fdb7a Accepting request 997996 from devel:languages:python:numeric
- specfile:
  * updated requirements versions
  * added new requirements: packaging and flox (recommends)
  * require python >= 3.8
  * update line numbers in patches
  * changed README.rst->README.md
- update to version 2022.6.0:
  * This release brings a number of bug fixes and improvements, most
    notably a major internal refactor of the indexing functionality,
    the use of flox in groupby operations, and experimental support
    for the new Python Array API standard. It also stops testing
    support for the abandoned PyNIO.
  * Much effort has been made to preserve backwards compatibility as
    part of the indexing refactor. We are aware of one unfixed issue.
  * New Features
    + Add Dataset.dtypes, core.coordinates.DatasetCoordinates.dtypes,
      core.coordinates.DataArrayCoordinates.dtypes properties: Mapping
      from variable names to dtypes. (PR6706) By Michael Niklas.
    + Initial typing support for groupby(), rolling(), rolling_exp(),
      coarsen(), weighted(), resample(), (PR6702) By Michael Niklas.
    + Experimental support for wrapping any array type that conforms
      to the python array api standard. (PR6804) By Tom White.
  * Bug fixes
    + save_mfdataset() now passes **kwargs on to Dataset.to_netcdf(),
      allowing the encoding and unlimited_dims options with
      save_mfdataset(). (GH6684) By Travis A. O’Brien.
    + Fix backend support of pydap versions <3.3.0 (GH6648,
      PR6656). By Hauke Schulz.
    + Dataset.where() with drop=True now behaves correctly with mixed
      dimensions. (GH6227, PR6690) By Michael Niklas.
    + Accommodate newly raised OutOfBoundsTimedelta error in the
      development version of pandas when decoding times outside the
      range that can be represented with nanosecond-precision values
      (GH6716, PR6717). By Spencer Clark.
    + open_dataset() with dask and ~ in the path now resolves the home
      directory instead of raising an error. (GH6707, PR6710) By
      Michael Niklas.
    + DataArrayRolling.__iter__() with center=True now works
      correctly. (GH6739, PR6744) By Michael Niklas.
  * Internal Changes
    + xarray.core.groupby, xarray.core.rolling,
      xarray.core.rolling_exp, xarray.core.weighted and
      xarray.core.resample modules are no longer imported by
      default. (PR6702)
- changes from version 2022.06.0rc0:
  * This pre-release brings a number of bug fixes and improvements,
    most notably a major internal refactor of the indexing
    functionality and the use of flox in groupby operations. It also
    stops testing support for the abandoned PyNIO.
  * Known Regressions
    + reset_coords(drop=True) does not create indexes (GH6607)
  * New Features
    + The zarr backend is now able to read NCZarr. By Mattia Almansi.
    + Add a weighted quantile method to DatasetWeighted and
      DataArrayWeighted (PR6059). By Christian Jauvin and David Huard.
    + Add a create_index=True parameter to Dataset.stack() and
      DataArray.stack() so that the creation of multi-indexes is
      optional (PR5692). By Benoît Bovy.
    + Multi-index levels are now accessible through their own, regular
      coordinates instead of virtual coordinates (PR5692). By Benoît
      Bovy.
    + Add a display_values_threshold option to control the total
      number of array elements which trigger summarization rather than
      full repr in (numpy) array detailed views of the html repr
      (PR6400). By Benoît Bovy.
    + Allow passing chunks in kwargs form to Dataset.chunk(),
      DataArray.chunk(), and Variable.chunk(). (PR6471) By Tom
      Nicholas.
    + Add core.groupby.DatasetGroupBy.cumsum() and
      core.groupby.DataArrayGroupBy.cumsum(). By Vladislav Skripniuk
      and Deepak Cherian. (PR3147, PR6525, GH3141)
    + Expose inline_array kwarg from dask.array.from_array in
      open_dataset(), Dataset.chunk(), DataArray.chunk(), and
      Variable.chunk(). (PR6471)
    + Expose the inline_array kwarg from dask.array.from_array() in
      open_dataset(), Dataset.chunk(), DataArray.chunk(), and
      Variable.chunk(). (PR6471) By Tom Nicholas.
    + polyval() now supports Dataset and DataArray args of any shape,
      is faster and requires less memory. (PR6548) By Michael Niklas.
    + Improved overall typing.
    + Dataset.to_dict() and DataArray.to_dict() may now optionally
      include encoding attributes. (PR6635) By Joe Hamman.
    + Upload development versions to TestPyPI. By Justus Magin.
  * Breaking changes
    + PyNIO support is now untested.
    + The Dataset and DataArray rename" methods do not implicitly add
      or drop indexes. (PR5692). By Benoît Bovy.
    + Many arguments like keep_attrs, axis, and skipna are now keyword
      only for all reduction operations like .mean. By Deepak Cherian,
      Jimmy Westling.
    + Xarray’s ufuncs have been removed, now that they can be replaced
      by numpy’s ufuncs in all supported versions of numpy. By
      Maximilian Roos.
    + xr.polyval() now uses the coord argument directly instead of its
      index coordinate. (PR6548) By Michael Niklas.
  * Bug fixes
    + Dataset.to_zarr() now allows to write all attribute types
      supported by zarr-python. By Mattia Almansi.
    + Set skipna=None for all quantile methods
      (e.g. Dataset.quantile()) and ensure it skips missing values for
      float dtypes (consistent with other methods). This should not
      change the behavior (PR6303). By Mathias Hauser.
    + Many bugs fixed by the explicit indexes refactor, mainly related
      to multi-index (virtual) coordinates. See the corresponding
      pull-request on GitHub for more details. (PR5692). By Benoît
      Bovy.
    + Fixed “unhashable type” error trying to read NetCDF file with
      variable having its ‘units’ attribute not str
      (e.g. numpy.ndarray) (GH6368). By Oleh Khoma.
    + Omit warning about specified dask chunks separating chunks on
      disk when the underlying array is empty (e.g., because of an
      empty dimension) (GH6401). By Joseph K Aicher.
    + Fixed the poor html repr performance on large multi-indexes
      (PR6400). By Benoît Bovy.
    + Allow fancy indexing of duck dask arrays along multiple
      dimensions. (PR6414) By Justus Magin.
    + In the API for backends, support dimensions that express their
      preferred chunk sizes as a tuple of integers. (GH6333, PR6334)
      By Stan West.
    + Fix bug in where() when passing non-xarray objects with
      keep_attrs=True. (GH6444, PR6461) By Sam Levang.
    + Allow passing both other and drop=True arguments to
      DataArray.where() and Dataset.where() (PR6466, PR6467). By
      Michael Delgado.
    + Ensure dtype encoding attributes are not added or modified on
      variables that contain datetime-like values prior to being
      passed to xarray.conventions.decode_cf_variable() (GH6453,
      PR6489). By Spencer Clark.
    + Dark themes are now properly detected in Furo-themed Sphinx
      documents (GH6500, PR6501). By Kevin Paul.
    + Dataset.isel(), DataArray.isel() with drop=True works as
      intended with scalar DataArray indexers. (GH6554, PR6579) By
      Michael Niklas.
    + Fixed silent overflow issue when decoding times encoded with
      32-bit and below unsigned integer data types (GH6589,
      PR6598). By Spencer Clark.
    + Fixed .chunks loading lazy data (GH6538). By Deepak Cherian.
  * Documentation
    + Revise the documentation for developers on specifying a
      backend’s preferred chunk sizes. In particular, correct the
      syntax and replace lists with tuples in the examples. (GH6333,
      PR6334) By Stan West.
    + Mention that DataArray.rename() can rename coordinates. (GH5458,
      PR6665) By Michael Niklas.
    + Added examples to Dataset.thin() and DataArray.thin() By Emma
      Marshall.
  * Performance
    + GroupBy binary operations are now vectorized. Previously this
      involved looping over all groups. (GH5804, PR6160) By Deepak
      Cherian.
    + Substantially improved GroupBy operations using flox. This is
      auto-enabled when flox is installed. Use
      xr.set_options(use_flox=False) to use the old
      algorithm. (GH4473, GH4498, GH659, GH2237, PR271). By Deepak
      Cherian, Anderson Banihirwe, Jimmy Westling.
  * Internal Changes
    + Many internal changes due to the explicit indexes refactor. See
      the corresponding pull-request on GitHub for more
      details. (PR5692). By Benoît Bovy.

OBS-URL: https://build.opensuse.org/request/show/997996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=37
2022-08-19 15:56:07 +00:00
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
Dominique Leuenberger
a66c3b0d3a Accepting request 961121 from devel:languages:python:numeric
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/961121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=36
2022-03-11 20:41:44 +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
Dominique Leuenberger
db47502d37 Accepting request 953061 from devel:languages:python:numeric
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/953061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=35
2022-02-10 22:12:11 +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
Dominique Leuenberger
9ea34d4aa6 Accepting request 949122 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/949122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=34
2022-01-26 20:26:51 +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
Dominique Leuenberger
3027517c45 Accepting request 941018 from devel:languages:python:numeric
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/941018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=33
2021-12-17 22:54:27 +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
Dominique Leuenberger
72125fddb2 Accepting request 933115 from devel:languages:python:numeric
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/933115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=32
2021-11-22 22:04:31 +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
Dominique Leuenberger
dd7d923faf Accepting request 930552 from devel:languages:python:numeric
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/930552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=31
2021-11-10 20:46:27 +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
Dominique Leuenberger
ecab81b6e4 Accepting request 921048 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/921048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xarray?expand=0&rev=30
2021-09-23 21:03:56 +00:00