API reference#

This page gives an overview of the routines within the pymsis package. To run the code, use the pymsis.msis module.

msis.run(dates, lons, lats, alts[, f107s, ...])

Call MSIS looping over all possible inputs.

msis.create_options([f107, ...])

Create the options list based on keyword argument choices.

msis.create_input(dates, lons, lats, alts[, ...])

Combine all input values into a single flattened array.

To get input data for historical events, use the pymsis.utils module.

utils.download_f107_ap()

Download the latest ap and F10.7 values.

utils.get_f107_ap(dates)

Retrieve the F10.7 and ap data needed to run msis for the given times.