pymsis.utils.get_f107_ap#
- pymsis.utils.get_f107_ap(dates)#
Retrieve the F10.7 and ap data needed to run msis for the given times.
The MSIS model uses historical F10.7 and ap values for the calculations, and these are also derived quantities.
- Parameters:
dates (datetime-like or sequence of datetimes) – times of interest to get the proper ap and F10.7 values for
- Returns:
Three arrays containing the f107, f107a, and ap values corresponding to the input times of length n.
- f107np.ndarray
Daily F10.7 of the previous day for the given date(s)
- f107anp.ndarray
F10.7 running 81-day average centered on the given date(s)
- apnp.ndarray
- Ap for the given date(s), (1-6 only used if
geomagnetic_activity=-1
)(0) Daily Ap(1) 3 hr ap index for current time(2) 3 hr ap index for 3 hrs before current time(3) 3 hr ap index for 6 hrs before current time(4) 3 hr ap index for 9 hrs before current time(5) Average of eight 3 hr ap indices from 12 to 33 hrsprior to current time(6) Average of eight 3 hr ap indices from 36 to 57 hrsprior to current time
- Return type:
tuple (f107 [n], f107a [n], ap [n x 7])