[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/34: gnu: Add python-pysat.
From: |
guix-commits |
Subject: |
34/34: gnu: Add python-pysat. |
Date: |
Mon, 30 Dec 2024 10:24:21 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 40b9f330662cdccfa3d279aecc2f447d39f858d4
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Dec 18 01:13:28 2024 +0000
gnu: Add python-pysat.
* gnu/packages/astronomy.scm (python-pysat): New variable.
Change-Id: I689f2423bd811af31190aac37111340b17d0aa0f
---
gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 17b2b82671..21f697a946 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -5636,6 +5636,63 @@ Features:
@end itemize")
(license license:expat)))
+(define-public python-pysat
+ (package
+ (name "python-pysat")
+ (version "3.2.1")
+ (source
+ (origin
+ (method git-fetch) ; no tests data in the PyPI tarball
+ (uri (git-reference
+ (url "https://github.com/pysat/pysat")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xsxj66ybh7q3n68nlasz23x8lsdamny92r960gipzk8xmwwzmcw"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--durations=10" ; report 10 slowest tests
+ ;; Tests require pysatSpaceWeather which is not packed yet.
+ "--ignore=pysat/tests/test_utils_files.py"
+ "-k" "not test_from_os")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Do not run test coverage.
+ (substitute* "pyproject.toml"
+ ((".*addopts.*cov.*") ""))
+ ;; No such file or directory: '/homeless-shelter/.pysat'
+ (setenv "HOME" "/tmp")
+ (mkdir "pysatData")
+ (invoke "python" "-c"
+ "import pysat; pysat.params['data_dirs'] =
'pysatData'"))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-xdist
+ python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-dask
+ python-netcdf4
+ python-numpy
+ python-pandas
+ python-portalocker
+ python-scipy
+ python-toolz
+ python-xarray))
+ (home-page "https://github.com/pysat/pysat")
+ (synopsis "Supports science analysis across disparate data platforms")
+ (description
+ "The Python Satellite Data Analysis Toolkit (pysat) provides a simple and
+flexible interface for robust data analysis from beginning to end - including
+downloading, loading, cleaning, managing, processing, and analyzing
+data. Pysat's plug-in design allows analysis support for any data, including
+user provided data sets.")
+ (license license:bsd-3)))
+
(define-public python-pysiaf
(package
(name "python-pysiaf")
- 22/34: gnu: python-pysiaf: Update to 0.24.1., (continued)
- 22/34: gnu: python-pysiaf: Update to 0.24.1., guix-commits, 2024/12/30
- 09/34: gnu: splash: Update to 3.11.1., guix-commits, 2024/12/30
- 07/34: gnu: healpix: Update to 3.8.3., guix-commits, 2024/12/30
- 15/34: gnu: python-ci-watson: Update to 0.8.0., guix-commits, 2024/12/30
- 26/34: gnu: python-webbpsf: Update to 1.5.0., guix-commits, 2024/12/30
- 29/34: gnu: python-rad: Adjust input., guix-commits, 2024/12/30
- 27/34: gnu: python-stsci-stimage: Adjust inputs., guix-commits, 2024/12/30
- 18/34: gnu: python-extinction: Update to 0.4.7., guix-commits, 2024/12/30
- 19/34: gnu: python-gwcs: Update to 0.22.1., guix-commits, 2024/12/30
- 12/34: gnu: python-asdf-standard: Adjust native inputs., guix-commits, 2024/12/30
- 34/34: gnu: Add python-pysat.,
guix-commits <=
- 02/34: gnu: julia-dataapi: Update to 1.16.0., guix-commits, 2024/12/30
- 10/34: gnu: wcslib: Update to 8.4., guix-commits, 2024/12/30
- 21/34: gnu: python-healpy: Update to 1.18.0., guix-commits, 2024/12/30
- 08/34: gnu: indi-2.0: Update to 2.1.1., guix-commits, 2024/12/30
- 16/34: gnu: python-cmyt: Update to 2.0.1., guix-commits, 2024/12/30
- 33/34: gnu: python-stpipe: Update to 0.8.0., guix-commits, 2024/12/30