[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add python-cdflib.
From: |
guix-commits |
Subject: |
07/08: gnu: Add python-cdflib. |
Date: |
Fri, 8 Jul 2022 17:59:46 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e72c1f148a473d67fa525e49caf18cf138d02e10
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jul 2 21:03:54 2022 +0100
gnu: Add python-cdflib.
* gnu/packages/astronomy.scm (python-cdflib): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/astronomy.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 82a67ce5ef..498252aaf4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -918,6 +918,51 @@ astronomy and astrophysics.")
to access online Astronomical data. Each web service has its own
sub-package.")
(license license:bsd-3)))
+(define-public python-cdflib
+ (package
+ (name "python-cdflib")
+ (version "0.4.4")
+ (source
+ (origin
+ (method git-fetch) ; no tests in pypi archive
+ (uri (git-reference
+ (url "https://github.com/MAVENSDC/cdflib")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h7750xvr6qbhnl2w3bhccs3pwp3hci3624pvvxym0yjinmskjlz"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ (invoke "pytest" "-vv" "tests")))))))
+ (propagated-inputs
+ (list python-attrs python-numpy))
+ (native-inputs
+ (list python-astropy
+ python-hypothesis
+ python-pytest
+ python-pytest-cov
+ python-pytest-remotedata
+ python-xarray))
+ (home-page "https://github.com/MAVENSDC/cdflib")
+ (synopsis "Python library to deal with NASA's CDF astronmical data format")
+ (description "This package provides a Python CDF reader toolkit
+It provides the following functionality:
+@itemize
+@item Ability to read variables and attributes from CDF files
+@item Writes CDF version 3 files
+@item Can convert between CDF time types (EPOCH/EPOCH16/TT2000) to other common
+time formats
+@item Can convert CDF files into XArray Dataset objects and vice versa,
+attempting to maintain ISTP compliance
+@end itemize\n")
+ (license license:expat)))
+
(define-public python-photutils
(package
(name "python-photutils")
- branch master updated (d7d2340721 -> 95ed62c12b), guix-commits, 2022/07/08
- 02/08: profiles: Support the creation of profiles with version 3 manifests., guix-commits, 2022/07/08
- 01/08: profiles: Remove support for reading versions 0 and 1., guix-commits, 2022/07/08
- 04/08: etc: Add 'time-travel-manifest.scm'., guix-commits, 2022/07/08
- 05/08: gnu: Add texlive-babel-finnish., guix-commits, 2022/07/08
- 06/08: gnu: rtl8821ce-linux-module: Update to 0.0.0-6-be733dc., guix-commits, 2022/07/08
- 03/08: channels: Emit version 3 profiles., guix-commits, 2022/07/08
- 07/08: gnu: Add python-cdflib.,
guix-commits <=
- 08/08: gnu: Add python-glymur., guix-commits, 2022/07/08