summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-04-14 15:48:31 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 13:20:53 +0100
commita9f7d407fe55f033a87c6e3f5c0089f9fb28d617 (patch)
tree21144e1735bf0de57932e606e1817860f433246e
parent8052c7f993b193684477860c1e61fe83d01e334b (diff)
gnu: Add python-pyspedas.
* gnu/packages/astronomy.scm (python-pyspedas): New variable. Change-Id: Ie69dfdcc25774438a5ae82ebdb85c51664374397
-rw-r--r--gnu/packages/astronomy.scm53
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index faddcce2a7..854a1ddf21 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -8644,6 +8644,59 @@ experiments. It is a large refactor of
memory usage, improving performance and run in parallel with MPI.")
(license license:bsd-3)))
+(define-public python-pyspedas
+ (package
+ (name "python-pyspedas")
+ (version "2.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spedas/pyspedas")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12fdqf45rxwcsy72vbfwrzmd03zlcan62bawq966rcmqs1riwqwn"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: Netowrk access is required and set up of geopack.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'sanity-check 'set-HOME
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-aioboto3
+ python-astropy
+ python-cdasws
+ python-cdflib
+ python-fsspec
+ python-geopack
+ python-hapiclient
+ python-matplotlib
+ python-netcdf4
+ python-numpy
+ python-pandas
+ python-pywavelets
+ python-requests
+ python-s3fs
+ python-scipy
+ python-setuptools
+ python-spacepy
+ python-xarray))
+ (home-page "https://spedas.org")
+ (synopsis "Python Space Physics Environment Data Analysis Software")
+ (description
+ "The Python-based Space Physics Environment Data Analysis Software
+(PySPEDAS) framework supports multi-mission, multi-instrument retrieval,
+analysis, and visualization of heliophysics time series data.")
+ (license license:expat)))
+
(define-public python-pysynphot
;; XXX: 2.0.0 was released in 2021 there are a lot of changes since that
;; time and it failed to build with python-astropy 6.0.0, use the latest