diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-04-19 13:35:37 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-04-22 11:29:29 +0200 |
commit | 81eb92105f210516d82f838bdc3d8e8d9d4253bb (patch) | |
tree | 58f9547f6059b4ce7543bfbebe752178fc811b93 /gnu/packages | |
parent | 3c00ef084b5240c4493c5aba9d93da2095871f22 (diff) | |
download | guix-81eb92105f210516d82f838bdc3d8e8d9d4253bb.tar.gz guix-81eb92105f210516d82f838bdc3d8e8d9d4253bb.zip |
gnu: Add python-xarray-datatree.
* gnu/packages/python-science.scm (python-xarray-datatree): New variable.
Change-Id: I403f241b6daae8b5c835f4517a1dceca0393f8e6
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-science.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f5ad86caaa..74b5bc7eb2 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1248,6 +1248,28 @@ are \"typed\" (i.e. fixed dimensions, data type, coordinates, attributes, and name) using the Python's @code{dataclass}.") (license license:expat))) +;; Note that this package will be folded into xarray eventually. See +;; https://github.com/pydata/xarray/issues/8572 for details. +(define-public python-xarray-datatree + (package + (name "python-xarray-datatree") + (version "0.0.14") + (source + (origin + (method url-fetch) + (uri (pypi-uri "xarray-datatree" version)) + (sha256 + (base32 "1x1s25s6dp1f2hck9qw8vl8hgkyy23rcwag2a9vd3w0dbgrrl5i6")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-packaging python-xarray)) + (native-inputs (list python-pytest python-zarr)) + (home-page "https://github.com/xarray-contrib/datatree") + (synopsis "Hierarchical tree-like data structures for xarray") + (description "Datatree is a prototype implementation of a tree-like +hierarchical data structure for @code{xarray}. Datatree is in the process of +being merged upstream into @code{xarray}.") + (license license:asl2.0))) + (define-public python-xarray-einstats (package (name "python-xarray-einstats") |