spacepy

Space Science library for Python - contains superposed epoch classes, drift shell tracing, access to magnetic field models, streamline tracing, bootstrap confidence limits, time and coordinate conversions, etc.

https://github.com/spacepy/spacepy

Science Score: 77.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    16 of 44 committers (36.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (22.4%) to scientific vocabulary

Keywords

batsrus cdf coordinates python python3 space swmf
Last synced: 4 months ago · JSON representation ·

Repository

Space Science library for Python - contains superposed epoch classes, drift shell tracing, access to magnetic field models, streamline tracing, bootstrap confidence limits, time and coordinate conversions, etc.

Basic Info
  • Host: GitHub
  • Owner: spacepy
  • License: other
  • Language: Fortran
  • Default Branch: main
  • Homepage: https://spacepy.github.io
  • Size: 87.9 MB
Statistics
  • Stars: 253
  • Watchers: 19
  • Forks: 72
  • Open Issues: 156
  • Releases: 10
Topics
batsrus cdf coordinates python python3 space swmf
Created about 13 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog License Code of conduct Citation

README.md

DOI Build Status

SpacePy

SpacePy is a package for Python, targeted at the space sciences, that aims to make basic data analysis, modeling and visualization easier. It builds on the capabilities of the well-known NumPy and MatPlotLib packages. Publication quality output direct from analyses is emphasized among other goals:

  • Quickly obtain data
  • Read (and write) data from (and to) data formats like NASA CDF and HDF5
  • Create publications quality plots
  • Perform complicated analysis easily
  • Run common empirical models
  • Change coordinates and time systems effortlessly
  • Harness the power of Python

The SpacePy project seeks to promote accurate and open research standards by providing an open environment for code development. In the space physics community there has long been a significant reliance on proprietary languages that restrict free transfer of data and reproducibility of results. By providing a comprehensive, open-source library of widely-used analysis and visualization tools in a free, modern and intuitive language, we hope that this reliance will be diminished.

To help foster an open and welcoming environment, we have adopted a code of conduct that we encourage members of the SpacePy community to read and follow.

Getting SpacePy

Our latest release version is available through PyPI and can be installed using

pip install spacepy --user

This will also automatically install most dependencies.

The latest "bleeding-edge" source code is available from our github repository at https://github.com/spacepy/spacepy.

Further installation documentation, including building from source and OS-specific information, can be found here. Full documentation is at https://spacepy.github.io.

SpacePy supports Python 3.7 and later.

Dependencies

SpacePy has a number of well-maintained dependencies which are automatically installed by pip. These include:

  • numpy (>=1.15.1)
  • dateutil (>=2.5)
  • scipy (>=1.0)
  • matplotlib (>=3.1)
  • h5py (>=2.10)

Attribution

When publishing research which used SpacePy, please provide appropriate credit to the SpacePy team via citation or acknowledgement.

To cite SpacePy in publications, please cite both the code (DOI: 10.5281/zenodo.3252523) and the papers describing the package (BibTeX code):

@article{niehof2022spacepy, title={The SpacePy space science package at 12 years}, author={Niehof, Jonathan T and Morley, Steven K and Welling, Daniel T and Larsen, Brian A}, journal={Frontiers in Astronomy and Space Sciences}, volume={9}, year={2022}, doi={10.3389/fspas.2022.1023612}, publisher={Frontiers} }

and/or

@INPROCEEDINGS{spacepy11, author = {{Morley}, S.~K. and {Koller}, J. and {Welling}, D.~T. and {Larsen}, B.~A. and {Henderson}, M.~G. and {Niehof}, J.~T.}, title = "{Spacepy - A Python-based library of tools for the space sciences}", booktitle = "{Proceedings of the 9th Python in science conference (SciPy 2010)}", year = 2011, address = {Austin, TX} }

For additional information, see the CITATION.cff file. Certain modules may provide additional citations in the __citation__ attribute. Contact a module's author before publication or public presentation of analysis performed by that module. This allows the author to validate the analysis and receive appropriate credit for his or her work.

For acknowledging SpacePy, please provide the URL to our github repository: github.com/spacepy/spacepy.

Changes

Changes in the released version of SpacePy are provided in the release notes. For changes since the latest release, see the repository version.

Owner

  • Name: spacepy
  • Login: spacepy
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
title: SpacePy
message: >-
  If you use this software, please cite it using the
  metadata from this file. Please also cite the papers
  by Morley et al. (2011; https://conference.scipy.org/proceedings/scipy2010/morley.html)
  and Niehof et al. (2022; https://doi.org/10.3389/fspas.2022.1023612)
  and other relevant papers as described in the documentation
  of the features used.
type: software
url: https://spacepy.github.io
authors:
  - given-names: Steven K.
    family-names: Morley
    affiliation: Los Alamos National Laboratory
    orcid: 'https://orcid.org/0000-0001-8520-0199'
  - given-names: Jonathan T.
    family-names: Niehof
    affiliation: University of New Hampshire
    orcid: 'https://orcid.org/0000-0001-6286-5809'
  - given-names: Daniel T.
    family-names: Welling
    affiliation: University of Michigan
    orcid: 'https://orcid.org/0000-0002-0590-1022'
  - given-names: Brian A.
    family-names: Larsen
    affiliation: Los Alamos National Laboratory
    orcid: 'https://orcid.org/0000-0003-4515-0208'
  - given-names: Antoine
    family-names: Brunet
  - given-names: Miles A.
    family-names: Engel
    affiliation: Los Alamos National Laboratory
    orcid: 'https://orcid.org/0000-0003-4248-9636'
  - given-names: Jan
    family-names: Gieseler
    orcid: 'https://orcid.org/0000-0003-1848-7067'
  - given-names: John
    family-names: Haiducek
    orcid: 'https://orcid.org/0000-0002-4027-8475'
  - given-names: Michael
    family-names: Henderson
    orcid: 'https://orcid.org/0000-0003-4975-9029'
  - given-names: Aaron
    family-names: Hendry
  - given-names: Michael
    family-names: Hirsch
  - given-names: Peter
    family-names: Killick
  - given-names: Josef
    family-names: Koller
  - given-names: Asher
    family-names: Merrill
  - given-names: Lutz
    family-names: Rastatter
  - given-names: Ashton
    family-names: Reimer
  - given-names: Albert Y.
    family-names: Shih
  - given-names: Amanda
    family-names: Stricklan
references:
  - type: conference-paper
    scope: Cite this paper as a general reference for the package and its history.
    year: 2011
    title: "Spacepy - a python-based library of tools for the space sciences"
    collection-title: "Proceedings of the 9th Python in science conference (SciPy 2010)"
    authors:
      - family-names: Morley
        given-names: Steven K.
      - family-names: Koller
        given-names: Josef
      - family-names: Welling
        given-names: Daniel T.
      - family-names: Larsen
        given-names: Brian A.
      - family-names: Henderson
        given-names: Michael G.
      - family-names: Niehof
        given-names: Jonathan T.
    start: 67
    end: 72
    doi: 10.25080/Majora-92bf1922-012
  - type: article
    scope: Cite this paper as a general reference, for package scope and specific details of datamodel and coordinates.
    authors:
      - family-names: Niehof
        given-names: Jonathan T.
      - family-names: Morley
        given-names: Steven K.
      - family-names: Welling
        given-names: Daniel T.
      - family-names: Larsen
        given-names: Brian A.
    title: "The SpacePy space science package at 12 years"
    year: 2022
    journal: Frontiers in Astronomy and Space Sciences
    volume: 9
    doi: 10.3389/fspas.2022.1023612

GitHub Events

Total
  • Create event: 1
  • Release event: 1
  • Issues event: 23
  • Watch event: 25
  • Issue comment event: 40
  • Push event: 5
  • Pull request event: 16
  • Pull request review event: 21
  • Pull request review comment event: 17
  • Fork event: 8
Last Year
  • Create event: 1
  • Release event: 1
  • Issues event: 23
  • Watch event: 25
  • Issue comment event: 40
  • Push event: 5
  • Pull request event: 16
  • Pull request review event: 21
  • Pull request review comment event: 17
  • Fork event: 8

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 3,245
  • Total Committers: 44
  • Avg Commits per committer: 73.75
  • Development Distribution Score (DDS): 0.766
Past Year
  • Commits: 100
  • Committers: 7
  • Avg Commits per committer: 14.286
  • Development Distribution Score (DDS): 0.29
Top Committers
Name Email Commits
Jon Niehof j****f@g****m 758
Jonathan Niehof j****f@l****v 510
Brian Larsen b****n@l****v 448
Steve Morley s****y@l****v 442
Jonathan Niehof J****f@u****u 233
Dan Welling d****g@u****u 126
Steve Morley s****y@g****m 125
smorley s****y 124
Dan Welling d****g@u****u 98
jkoller j****r 85
jniehof j****f 80
balarsen b****n 76
dwelling d****g 22
John Haiducek j****e@u****u 18
Dan Welling d****g@l****v 9
John Haiducek j****e@p****l 9
Steve Morley d****e 8
Brian Larsen b****n@g****m 7
Antoine Brunet a****t@o****r 7
Dan Welling d****g@u****u 6
Dan Welling d****g@g****m 6
Asher Merrill a****l@g****m 5
Yiqun Yu y****n@l****v 5
dwelling d****g@k****l 4
Peter Killick p****k@m****k 4
Albert Y. Shih a****h@g****m 3
Daniel Welling d****g@s****l 3
Daniel Welling d****g@g****) 2
Yiqun Yu y****n@d****v 2
Miles Engel P****s 2
and 14 more...
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 138
  • Total pull requests: 101
  • Average time to close issues: almost 2 years
  • Average time to close pull requests: about 2 months
  • Total issue authors: 46
  • Total pull request authors: 14
  • Average comments per issue: 2.53
  • Average comments per pull request: 1.33
  • Merged pull requests: 86
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 16
  • Pull requests: 16
  • Average time to close issues: 5 months
  • Average time to close pull requests: 26 days
  • Issue authors: 11
  • Pull request authors: 5
  • Average comments per issue: 1.13
  • Average comments per pull request: 0.44
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jtniehof (63)
  • drsteve (6)
  • balarsen (5)
  • rebeccaringuette (4)
  • spacecataz (4)
  • aaronhendry (3)
  • Alrobbertz (3)
  • asher-m (3)
  • ideas-moose (2)
  • ericthewizard (2)
  • johncoxon (2)
  • rweigel (2)
  • xbonnin (2)
  • pacesm (2)
  • kmrs-iitd (2)
Pull Request Authors
  • jtniehof (81)
  • jongeorge1999 (13)
  • jamesw732 (12)
  • drsteve (11)
  • spacecataz (6)
  • balarsen (3)
  • namurphy (2)
  • dstansby (2)
  • connordimarco (1)
  • sandyfreelance (1)
  • lpsinger (1)
  • lrastaet (1)
  • aglocer (1)
  • jbfaden (1)
Top Labels
Issue Labels
enhancement (30) testing (17) installer (15) technical-debt (14) documentation (13) bug (8) upstream (6) duplicate (2) Not an issue (2) Windows (2) question (2) cant-reproduce (1)
Pull Request Labels
testing (5) documentation (5) installer (5) bug (2) Windows (1) enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 19,659 last-month
  • Total docker downloads: 53
  • Total dependent packages: 17
  • Total dependent repositories: 39
  • Total versions: 16
  • Total maintainers: 2
pypi.org: spacepy

SpacePy: Tools for Space Science Applications

  • Homepage: https://github.com/spacepy/spacepy
  • Documentation: https://spacepy.readthedocs.io/
  • License: Copyright 2010 Triad National Security, LLC 1. This LICENSE AGREEMENT is between Triad National Security, LLC ("Triad"), and the Individual or Organization ("Licensee") accessing and otherwise using SpacePy software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, Triad hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use SpacePy alone or in any derivative version, provided, however, that Triad's License Agreement and Triad's notice of copyright, i.e., "Copyright (c) 2010 Triad National Security, LLC; All Rights Reserved" are retained in SpacePy alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates SpacePy or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to SpacePy. 4. Triad is making SpacePy available to Licensee on an "AS IS" basis. TRIAD MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, LANS MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF SPACEPY WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. TRIAD SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF SPACEPY FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING SPACEPY, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between LANS and Licensee. This License Agreement does not grant permission to use Triad trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using SpacePy, Licensee agrees to be bound by the terms and conditions of this License Agreement. The modified version of IRBEMlib distributed with SpacePy is covered by the Lesser GNU Public License (LGPL).
  • Latest release: 0.7.0
    published about 1 year ago
  • Versions: 16
  • Dependent Packages: 17
  • Dependent Repositories: 39
  • Downloads: 19,659 Last month
  • Docker Downloads: 53
Rankings
Dependent packages count: 0.7%
Dependent repos count: 2.3%
Docker downloads count: 3.1%
Average: 3.4%
Downloads: 4.1%
Stargazers count: 4.6%
Forks count: 5.4%
Maintainers (2)
Last synced: 4 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
requirements.txt pypi
  • h5py >=2.10
  • matplotlib >=3.1
  • numpy >=1.15.1
  • python-dateutil >=2.1
  • scipy >=1.0