Introduction#

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.

Installation#

Required dependencies#

Instructions#

mmspy is distributed on the Python package Index (PyPI). To install, run:

pip install mmspy