guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/53: gnu: Add python-xarray-datatree.


From: guix-commits
Subject: 36/53: gnu: Add python-xarray-datatree.
Date: Sun, 21 Apr 2024 07:49:12 -0400 (EDT)

rekado pushed a commit to branch wip-pandas-upgrade
in repository guix.

commit f5465948c093b7f42ad3ab4633d648a3dd10dd20
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Apr 19 13:35:37 2024 +0200

    gnu: Add python-xarray-datatree.
    
    * gnu/packages/python-science.scm (python-xarray-datatree): New variable.
    
    Change-Id: I403f241b6daae8b5c835f4517a1dceca0393f8e6
---
 gnu/packages/python-science.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]