2018-04-24 13:31:25 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-xarray
|
|
|
|
|
#
|
2025-03-30 08:22:22 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2018-04-24 13:31:25 +00:00
|
|
|
#
|
|
|
|
|
# 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/
|
2018-04-24 13:31:25 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2023-05-31 08:28:20 +00:00
|
|
|
%{?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}
|
2025-03-30 08:22:22 +00:00
|
|
|
Version: 2025.03.0
|
2018-04-24 13:31:25 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: N-D labeled arrays and datasets in Python
|
|
|
|
|
License: Apache-2.0
|
2019-09-21 20:14:20 +00:00
|
|
|
URL: https://github.com/pydata/xarray
|
2025-03-30 08:22:22 +00:00
|
|
|
Source: https://github.com/pydata/xarray/archive/refs/tags/v%{version}.tar.gz#/xarray-%{version}-gh.tar.gz
|
2021-05-27 06:19:25 +00:00
|
|
|
# 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
|
- update to version 2023.02.0:
- This release brings a major upgrade to :py:func:`xarray.concat`, many bug fixes,:
- and a bump in supported dependency versions. Thanks to our 11 contributors:
- Aron Gergely, Deepak Cherian, Illviljan, James Bourbeau, Joe Hamman,:
- Justus Magin, Hauke Schulz, Kai Mühlbauer, Ken Mankoff, Spencer Clark, Tom Nicholas.:
- Breaking changes:
- Support for ``python 3.8`` has been dropped and the minimum versions of some
dependencies were changed (:pull:`7461`):
===================== ========= ========
Package Old New
===================== ========= ========
python 3.8 3.9
numpy 1.20 1.21
pandas 1.3 1.4
dask 2021.11 2022.1
distributed 2021.11 2022.1
h5netcdf 0.11 0.13
lxml 4.6 4.7
numba 5.4 5.5
===================== ========= ========
- Deprecations:
- Following pandas, the `closed` parameters of :py:func:`cftime_range` and
:py:func:`date_range` are deprecated in favor of the `inclusive` parameters,
and will be removed in a future version of xarray (:issue:`6985`:,
:pull:`7373`).
- Bug fixes:
- :py:func:`xarray.concat` can now concatenate variables present in some datasets but
not others (:issue:`508`, :pull:`7400`).
- Handle ``keep_attrs`` option in binary operators of :py:meth:`Dataset` (:issue:`7390`, :pull:`7391`).
- Improve error message when using dask in :py:func:`apply_ufunc` with ``output_sizes`` not supplied. (:pull:`7509`)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=78
2023-03-09 20:44:38 +00:00
|
|
|
BuildRequires: %{python_module base >= 3.9}
|
2023-09-13 07:39:53 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-02-01 15:13:57 +00:00
|
|
|
BuildRequires: %{python_module setuptools_scm}
|
2018-04-24 13:31:25 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2023-09-13 07:39:53 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2018-04-24 13:31:25 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2024-11-24 14:36:27 +00:00
|
|
|
Requires: python-numpy >= 1.24
|
2024-06-06 17:16:35 +00:00
|
|
|
Requires: python-packaging >= 23.1
|
2024-11-24 14:36:27 +00:00
|
|
|
Requires: python-pandas >= 2.1
|
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
|
2018-05-29 08:34:57 +00:00
|
|
|
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}
|
|
|
|
|
BuildRequires: %{python_module xarray-complete = %{version}}
|
|
|
|
|
%endif
|
2018-04-24 13:31:25 +00:00
|
|
|
# /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
|
|
|
|
|
# for minimum versions, check ci/requirements/min-all-deps.yml
|
|
|
|
|
Summary: The python xarray[accel] extra
|
2024-09-04 13:02:54 +00:00
|
|
|
Requires: python-Bottleneck
|
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
|
2024-11-24 14:36:27 +00:00
|
|
|
Requires: python-scipy >= 1.11
|
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
|
2024-09-04 13:02:54 +00:00
|
|
|
Recommends: python-flox
|
2024-11-24 14:36:27 +00:00
|
|
|
Recommends: python-numbagg >= 0.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
|
|
|
|
|
|
|
|
%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.
|
2025-03-30 08:22:22 +00:00
|
|
|
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-dev = %{version}
|
|
|
|
|
Requires: python-xarray-io = %{version}
|
2024-11-24 13:10:54 +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 dev
|
|
|
|
|
Summary: The python xarray[dev] extra
|
|
|
|
|
Requires: python-hypothesis
|
|
|
|
|
Requires: python-pytest
|
|
|
|
|
Requires: python-pytest-cov
|
|
|
|
|
Requires: python-pytest-env
|
|
|
|
|
Requires: python-pytest-timeout
|
|
|
|
|
Requires: python-pytest-xdist
|
|
|
|
|
Requires: python-ruff
|
|
|
|
|
Requires: python-xarray = %{version}
|
|
|
|
|
Requires: python-xarray-complete = %{version}
|
|
|
|
|
# Not available and not really useful for us
|
|
|
|
|
Recommends: python-pre-commit
|
|
|
|
|
|
|
|
|
|
%description dev
|
|
|
|
|
The [dev] extra for xarray, N-D labeled arrays and datasets in Python
|
2025-03-30 08:22:22 +00:00
|
|
|
Except pre-commit, Use `pip --user install pre-commit` to install, 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 io
|
|
|
|
|
Summary: The python xarray[io] extra
|
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
|
2024-11-24 14:36:27 +00:00
|
|
|
Requires: python-h5netcdf >= 1.3
|
2024-09-04 13:02:54 +00:00
|
|
|
Requires: python-netCDF4
|
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
|
2024-11-24 14:36:27 +00:00
|
|
|
Requires: python-scipy >= 1.11
|
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}
|
2024-11-24 14:36:27 +00:00
|
|
|
Requires: python-zarr >= 2.16
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- update to version .2024.11.0:
- This release brings better support for wrapping JAX arrays and Astropy Quantity objects, :py:meth:`DataTree.persist`, algorithmic improvements:
- to many methods with dask (:py:meth:`Dataset.polyfit`, :py:meth:`Dataset.ffill`, :py:meth:`Dataset.bfill`, rolling reductions), and bug fixes.:
- Thanks to the 22 contributors to this release:
- Benoit Bovy, Deepak Cherian, Dimitri Papadopoulos Orfanos, Holly Mandel, James Bourbeau, Joe Hamman, Justus Magin, Kai Mühlbauer, Lukas Trippe, Mathias Hauser, Maximilian Roos, Michael Niklas, Pascal Bourgault, Patrick Hoefler, Sam Levang, Sarah Charlotte Johnson, Scott Huberty, Stephan Hoyer, Tom Nicholas, Virgile Andreani, joseph nowak and tvo:
- New Features:
- Added :py:meth:`DataTree.persist` method (:issue:`9675`, :pull:`9682`).
By `Sam Levang <https://github.com/slevang>`_.
- Added ``write_inherited_coords`` option to :py:meth:`DataTree.to_netcdf`
and :py:meth:`DataTree.to_zarr` (:pull:`9677`).
By `Stephan Hoyer <https://github.com/shoyer>`_.
- Support lazy grouping by dask arrays, and allow specifying ordered groups with ``UniqueGrouper(labels=["a", "b", "c"])``
(:issue:`2852`, :issue:`757`).
By `Deepak Cherian <https://github.com/dcherian>`_.
- Add new ``automatic_rechunk`` kwarg to :py:meth:`DataArrayRolling.construct` and
:py:meth:`DatasetRolling.construct`. This is only useful on ``dask>=2024.11.0``
(:issue:`9550`). By `Deepak Cherian <https://github.com/dcherian>`_.
- Optimize ffill, bfill with dask when limit is specified
(:pull:`9771`).
By `Joseph Nowak <https://github.com/josephnowak>`_, and
`Patrick Hoefler <https://github.com/phofl>`_.
- Allow wrapping ``np.ndarray`` subclasses, e.g. ``astropy.units.Quantity`` (:issue:`9704`, :pull:`9760`).
By `Sam Levang <https://github.com/slevang>`_ and `Tien Vo <https://github.com/tien-vo>`_.
- Optimize :py:meth:`DataArray.polyfit` and :py:meth:`Dataset.polyfit` with dask, when used with
arrays with more than two dimensions.
(:issue:`5629`). By `Deepak Cherian <https://github.com/dcherian>`_.
- Support for directly opening remote files as string paths (for example, ``s3://bucket/data.nc``)
with ``fsspec`` when using the ``h5netcdf`` engine (:issue:`9723`, :pull:`9797`).
By `James Bourbeau <https://github.com/jrbourbeau>`_.
- Re-implement the :py:mod:`ufuncs` module, which now dynamically dispatches to the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-xarray?expand=0&rev=104
2024-11-24 13:24:06 +00:00
|
|
|
|
|
|
|
|
|
2024-11-24 14:36:27 +00:00
|
|
|
|
|
|
|
|
|
2024-11-24 17:07:17 +00:00
|
|
|
|
2025-03-30 08:22:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-24 13:10:54 +00:00
|
|
|
#%%package parallel
|
|
|
|
|
#Summary: The python xarray[parallel] extra
|
2024-11-24 14:36:27 +00:00
|
|
|
#Requires: python-dask-complete >= 2023.11
|
2024-11-24 13:10:54 +00:00
|
|
|
#Requires: python-xarray = %%{version}
|
|
|
|
|
#
|
|
|
|
|
#%description parallel
|
|
|
|
|
#The [parallel] extra for xarray, N-D labeled arrays and datasets in Python
|
2025-03-30 08:22:22 +00:00
|
|
|
|
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
|
2024-09-04 13:02:54 +00:00
|
|
|
Requires: python-matplotlib
|
|
|
|
|
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
|
|
|
|
|
Recommends: python-nc-time-axis
|
|
|
|
|
|
|
|
|
|
%description viz
|
|
|
|
|
The [viz] extra for xarray, N-D labeled arrays and datasets in Python
|
|
|
|
|
|
|
|
|
|
Except nc-time-axis, because it's not packaged yet.
|
2025-03-30 08:22:22 +00:00
|
|
|
Use `pip --user install nc-time-axis` 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
|
|
|
|
2018-04-24 13:31:25 +00:00
|
|
|
%prep
|
2025-03-30 08:22:22 +00:00
|
|
|
%autosetup -p1 -n xarray-%{version}
|
2020-02-01 15:13:57 +00:00
|
|
|
chmod -x xarray/util/print_versions.py
|
2018-04-24 13:31:25 +00:00
|
|
|
|
|
|
|
|
%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}
|
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
|
2018-04-24 13:31:25 +00:00
|
|
|
|
|
|
|
|
%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}
|
2023-09-13 07:39:53 +00:00
|
|
|
%pyproject_install
|
2018-04-24 13:31:25 +00:00
|
|
|
%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
|
2018-04-24 13:31:25 +00:00
|
|
|
|
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}
|
2018-04-24 13:31:25 +00:00
|
|
|
%check
|
2023-09-13 07:39:53 +00:00
|
|
|
# obs file open race conditions?
|
|
|
|
|
donttest="(test_open_mfdataset_manyfiles and (h5netcdf or netCDF4))"
|
2021-02-15 13:28:30 +00:00
|
|
|
if [ $(getconf LONG_BIT) -eq 32 ]; then
|
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
|
2023-01-07 14:07:26 +00:00
|
|
|
donttest="$donttest or (test_interpolate_chunk_advanced and linear)"
|
2022-11-22 15:35:40 +00:00
|
|
|
# tests for 64bit types
|
2023-09-13 07:39:53 +00:00
|
|
|
donttest="$donttest or TestZarrDictStore or TestZarrDirectoryStore or TestZarrWriteEmpty"
|
2024-11-24 16:26:44 +00:00
|
|
|
donttest="$donttest or test_repr_multiindex or test_array_repr_dtypes_unix or test_asi8"
|
2024-12-06 12:28:41 +00:00
|
|
|
donttest="$donttest or (test_datatree and TestRepr and test_doc_example)"
|
2021-02-15 13:28:30 +00:00
|
|
|
fi
|
2024-01-04 11:17:33 +00:00
|
|
|
# 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))"
|
2024-11-24 14:36:27 +00:00
|
|
|
# skip parallelcompat as the 'parallel' subpackage is not built (see changes file)
|
|
|
|
|
donttest="$donttest or test_h5netcdf_storage_options or test_source_encoding_always_present_with_fsspec"
|
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
|
|
|
|
2023-01-07 14:07:26 +00:00
|
|
|
%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
|
2018-04-24 13:31:25 +00:00
|
|
|
|
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}
|
2018-04-24 13:31:25 +00:00
|
|
|
%files %{python_files}
|
2022-08-18 14:37:42 +00:00
|
|
|
%doc README.md
|
2018-04-24 13:31:25 +00:00
|
|
|
%license LICENSE licenses/
|
2021-02-15 13:28:30 +00:00
|
|
|
%{python_sitelib}/xarray
|
2025-03-30 08:22:22 +00:00
|
|
|
%{python_sitelib}/xarray-*.dist-info
|
2018-04-24 13:31:25 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%files %{python_files dev}
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%files %{python_files io}
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
2024-11-24 13:10:54 +00:00
|
|
|
#%%files %%{python_files parallel}
|
|
|
|
|
#%doc README.md
|
|
|
|
|
#%%license LICENSE
|
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 viz}
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%endif
|
|
|
|
|
|
2018-04-24 13:31:25 +00:00
|
|
|
%changelog
|