Files
python-xarray/python-xarray.spec

207 lines
6.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-xarray
#
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
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
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%bcond_without test
%define psuffix -test
%else
%bcond_with test
%define psuffix %{nil}
%endif
%{?sle15_python_module_pythons}
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
Name: python-xarray%{psuffix}
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Version: 2025.12.0
Release: 0
Summary: N-D labeled arrays and datasets in Python
License: Apache-2.0
URL: https://github.com/pydata/xarray
Source: https://github.com/pydata/xarray/archive/refs/tags/v%{version}.tar.gz#/xarray-%{version}-gh.tar.gz
# PATCH-FEATURE-UPSTREAM local_dataset.patch gh#pydata/xarray#5377 mcepl@suse.com
# fix xr.tutorial.open_dataset to work with the preloaded cache.
Patch0: local_dataset.patch
# PATCH-FIX-OPENSUSE: skip dependency on pytest-mypy
Patch1: no-mypy-test-plugin.patch
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
BuildRequires: %{python_module base >= 3.11}
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
BuildRequires: %{python_module pip}
- 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
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
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
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-numpy >= 1.26
Requires: python-packaging >= 24.1
Requires: python-pandas >= 2.2
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
Obsoletes: python-xray <= 0.7
BuildArch: noarch
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
%if %{with test}
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-env}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module ruff >= 0.8.0}
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
BuildRequires: %{python_module xarray-complete = %{version}}
%endif
# /SECTION
%python_subpackages
%description
xarray (formerly xray) is a python-pandas-like and pandas-compatible
toolkit for analytics on multi-dimensional arrays. It provides
N-dimensional variants of the python-pandas labeled data structures,
rather than the tabular data that pandas uses.
The Common Data Model for self-describing scientific data is used.
The dataset is an in-memory representation of a netCDF file.
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
%package accel
Summary: The python xarray[accel] extra
Accepting request 1198677 from home:bnavigator:branches: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/1198677 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
Requires: python-Bottleneck
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-numba >= 0.62
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
Requires: python-opt-einsum
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-scipy >= 1.13
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
Requires: python-xarray = %{version}
# not available yet
Accepting request 1198677 from home:bnavigator:branches: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/1198677 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
Recommends: python-flox
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Recommends: python-numbagg >= 0.8
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
%description accel
The [accel] extra for xarray, N-D labeled arrays and datasets in Python
Except flox and numbagg, because they are not packaged yet.
Use `pip --user install flox numbagg` to install from PyPI, if needed.
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
%package complete
Summary: The python xarray[complete] extra
Requires: python-xarray = %{version}
Requires: python-xarray-accel = %{version}
Requires: python-xarray-io = %{version}
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-xarray-parallel = %{version}
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
Requires: python-xarray-viz = %{version}
%description complete
The [complete] extra for xarray, N-D labeled arrays and datasets in Python
%package io
Summary: The python xarray[io] extra
Accepting request 1198677 from home:bnavigator:branches: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/1198677 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
Requires: python-cftime
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
Requires: python-fsspec
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-h5netcdf
Requires: python-netCDF4 >= 1.6
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
Requires: python-pooch
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-scipy >= 1.13
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
Requires: python-xarray = %{version}
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-zarr >= 2.18
# Not available yet
Recommends: python-pydap
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
%description io
The [io] extra for xarray, N-D labeled arrays and datasets in Python
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
%package parallel
Summary: The python xarray[parallel] extra
Requires: python-dask-complete
Requires: python-xarray = %{version}
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
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
%description parallel
The [parallel] extra for xarray, N-D labeled arrays and datasets in Python
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
%package viz
Summary: The python xarray[viz] extra
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Requires: python-matplotlib >= 3.8
Accepting request 1198677 from home:bnavigator:branches: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/1198677 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
Requires: python-seaborn
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
Requires: python-xarray = %{version}
# Not available yet
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Recommends: python-cartopy >= 0.23
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
Recommends: python-nc-time-axis
%description viz
The [viz] extra for xarray, N-D labeled arrays and datasets in Python
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
Except nc-time-axis and cartopy, because they're not packaged yet.
Use `pip --user install nc-time-axis cartopy` to install from PyPI, if needed.
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
%prep
%autosetup -p1 -n xarray-%{version}
- 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
chmod -x xarray/util/print_versions.py
%build
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
%if !%{with test}
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
%pyproject_wheel
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
%endif
%install
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
%if !%{with test}
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
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
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
%endif
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
%if %{with test}
%check
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
# obs file open race conditions?
donttest="(test_open_mfdataset_manyfiles and (h5netcdf or netCDF4))"
if [ $(getconf LONG_BIT) -eq 32 ]; then
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
# https://github.com/pydata/xarray/issues/5341
# https://github.com/pydata/xarray/issues/5375
# still precision problems in 2022.11.0
donttest="$donttest or (test_interpolate_chunk_advanced and linear)"
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
# tests for 64bit types
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
donttest="$donttest or TestZarrDictStore or TestZarrDirectoryStore or TestZarrWriteEmpty"
donttest="$donttest or test_repr_multiindex or test_array_repr_dtypes_unix or test_asi8"
donttest="$donttest or (test_datatree and TestRepr and test_doc_example)"
fi
# h5py was built without ROS3 support, can't use ros3 driver
donttest="$donttest or TestH5NetCDFDataRos3Driver"
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
# NetCDF4 fails with these unsupported drivers
donttest="$donttest or (TestNetCDF4 and test_compression_encoding and (szip or zstd or blosc_lz or blosc_zlib))"
%pytest -n auto -rsEf -k "not ($donttest)" xarray
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
%endif
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
%if !%{with test}
%files %{python_files}
%doc README.md
%license LICENSE licenses/
%{python_sitelib}/xarray
%{python_sitelib}/xarray-*.dist-info
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
%files %{python_files accel}
%doc README.md
%license LICENSE
%files %{python_files complete}
%doc README.md
%license LICENSE
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
%files %{python_files io}
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
%doc README.md
%license LICENSE
Accepting request 1324291 from home:bnavigator:branches:devel:languages:python:numeric - Update to 2025.12.0 * This release rolls back the default engine for HTTP urls, adds support for DataTree objects in combine_nested and contains numerous bug fixes. - Release 2025.11.0 * This release changes the default for keep_attrs such that attributes are preserved by default, adds support for DataTree in top-level functions, and contains several memory and performance improvements as well as a number of bug fixes. - Release 2025.10.0 and 2025.10.1 * These releases revert a breaking change to Xarray's preferred netCDF backend. - Release 2025.09.1 * This release contains improvements to netCDF IO and the DataTree.from_dict() constructor, as well as a variety of bug fixes. In particular, the default netCDF backend has switched from netCDF4 to h5netcdf, which is typically faster. - Release 2025.09.0 * This release brings a number of small improvements and fixes, especially related to writing DataTree objects and netCDF files to disk. ## New Features * Support rechunking by SeasonResampler for seasonal data analysis (GH10425, PR10519). By Dhruva Kumar Kaushal. * Add convenience methods to Coordinates (PR10318) By Justus Magin. * Added load_datatree() for loading DataTree objects into memory from disk. It has the same relationship to open_datatree(), as load_dataset() has to open_dataset(). By Stephan Hoyer. * compute=False is now supported by DataTree.to_netcdf() and OBS-URL: https://build.opensuse.org/request/show/1324291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=114
2025-12-23 15:18:29 +00:00
%files %{python_files parallel}
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
%doc README.md
%license LICENSE
%files %{python_files viz}
%doc README.md
%license LICENSE
%endif
%changelog