Skip to content

tien-vo/mmspy

Repository files navigation

made-with-python PyPI version PyPI license Documentation Zenodo

mmspy is a package for querying and analysing data from the NASA Magnetospheric Multiscale (MMS) mission.

Features

  • Interface for LASP MMS Science Data Center (SDC) web services.
  • Advanced integrator and interpolator for extended 3D particle distribution function.
  • Implementation of multi-spacecraft data analysis methods in xarray.

Why another space physics software?

At the moment, there are already a couple of well-developed Python libraries for loading space physics data, such as PySPEDAS, Speasy, and SciQLop. However, there is a lack of Python utility for direct interactions with the RESTful API provided by the MMS Science Data Center (SDC). Inspired by the Python package for CDAS web services, cdasws, this package intends to provide access to the MMS SDC web services at LASP and fills in that gap.

While the core functionality of mmspy does not differ much from that of PySPEDAS, which is to provide data from a repository to space physics researchers, it puts focus on the broader Xarray ecosystem for distributed and parallel computing with Dask, performant I/O with Zarr, and automatic unit handling with Pint. These features aim to make the most out of metadata provided in CDF files and make analysis of MMS data more intuitive, efficient, and scalable.

Documentation

Learn more about mmspy at https://mmspy.readthedocs.io.

License

This project is licensed under the terms of the GNU General Public License v3.0.