fluxSolarAndGeomagnetic
Syntax
Description
[
extracts the solar flux and geomagnetic data from the MAT-file f107average
,f107daily
,magneticIndex
] = fluxSolarAndGeomagnetic(year
,dayOfYear
,UTseconds
,matFile
)matFile
that is generated by the aeroReadSpaceWeatherData
function.
The fluxSolarAndGeomagnetic
function returns the 81-day average of
F10.7 solar flux f107average
(centered on the day of year), daily F10.7
flux for previous day f107daily
, and geomagnetic index information
magneticIndex
corresponding to the times specified in
year
, dayOfYear
, and
UTseconds
. Use this output to specify the
f107average
,f107daily
, and
magneticIndex
values for the atmosnrlmsise00
function.
[___] = fluxSolarAndGeomagnetic(___,
specifies additional options using one or more name-value arguments. For example, to specify
that the elements of Name=Value
)magneticIndex
are extrapolated to the nearest data
point available in the MAT-file, set MagneticIndexExtrapMethod
to
'none-clip'
.
Input Arguments
Output Arguments
Limitations
When specifying MagneticIndexExtrapvalue
as 'igrf'
,
the fluxSolarAndGeomagnetic
function predicts the elements of
magneticIndex
outside the MAT-file data range using the International
Geomagnetic Reference Field. Because this model is defined for times between January 1, 1900,
12:00 AM UTC and January 1, 2025, 12:00 AM UTC, the predictions for times outside this range
are clipped to values at these time limits.
Algorithms
The default space weather data file aeroSpaceWeatherData.mat
installed with
the Aerospace Toolbox was created using the
aeroReadSpaceWeatherData
function.
aeroReadSpaceWeatherData
reads space weather data from a
CelesTrak® consolidated space weather data file into a MAT file.
Geomagnetic data - Provided by the Geomagnetic Observatory Niemegk, GFZ German Research Center for Geosciences, and licensed under the CC-BY-4.0 license. Matzka, J., Stolle, C., Yamazaki, Y., Bronkalla, O. and Morschhauser, A., 2021. The geomagnetic Kp index and derived indices of geomagnetic activity. Space Weather,
https://doi.org/10.1029/2020SW002641
.Solar Radio Flux Data - Provided by Dominion Radio Astrophysical Observatory and Natural Resources Canada.
45-Day and Monthly predictions - Provided by the Space Weather Prediction center of the National Oceanic and Atmospheric Administration (NOAA).
To generate an up-to-date space weather data MAT file to use with the fluxSolarAndGeomagnetic
function, use the aeroReadSpaceWeatherData
function.
Version History
Introduced in R2023a