public class CssiSpaceWeatherData extends AbstractSelfFeedingLoader implements DTM2000InputParameters, NRLMSISE00InputParameters
DataLoader
implementation and the parsing is handled by the class CssiSpaceWeatherDataLoader
.
The data are retrieved through space weather files offered by AGI/CSSI on the AGI FTP as well as on the CelesTrack website. These files are updated several times a day by using several sources mentioned in the Celestrak space weather data documentation.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SUPPORTED_NAMES
Default regular expression for supported names that works with all officially published files.
|
Constructor and Description |
---|
CssiSpaceWeatherData(String supportedNames)
Simple constructor.
|
CssiSpaceWeatherData(String supportedNames,
DataProvidersManager dataProvidersManager,
TimeScale utc)
Constructor that allows specifying the source of the CSSI space weather
file.
|
Modifier and Type | Method and Description |
---|---|
double |
get24HoursKp(AbsoluteDate date)
Get the last 24H mean geomagnetic index.
|
double[] |
getAp(AbsoluteDate date)
Get the Ap geomagnetic indices.
|
double |
getAverageFlux(AbsoluteDate date)
Get the value of the 81 day average of F10.7 solar flux centered on current day.
|
double |
getDailyFlux(AbsoluteDate date)
Get the value of the daily F10.7 solar flux for previous day.
|
double |
getInstantFlux(AbsoluteDate date)
Get the value of the instantaneous solar flux.
|
AbsoluteDate |
getMaxDate()
Gets the available data range maximum date.
|
double |
getMeanFlux(AbsoluteDate date)
Get the value of the mean solar flux.
|
AbsoluteDate |
getMinDate()
Gets the available data range minimum date.
|
String |
getSupportedNames()
Get the supported names regular expression.
|
double |
getThreeHourlyKP(AbsoluteDate date)
Get the value of the 3 hours geomagnetic index.
|
feed, getDataProvidersManager, setSupportedNames
public static final String DEFAULT_SUPPORTED_NAMES
@DefaultDataContext public CssiSpaceWeatherData(String supportedNames)
The original file names provided by AGI/CSSI are of the form:
SpaceWeather-All-v1.2.txt (AGI's ftp) or SW-Last5Years.txt (CelesTrak's website).
So a recommended regular expression for the supported names that works
with all published files is: DEFAULT_SUPPORTED_NAMES
.
supportedNames
- regular expression for supported AGI/CSSI space weather files namespublic CssiSpaceWeatherData(String supportedNames, DataProvidersManager dataProvidersManager, TimeScale utc)
supportedNames
- regular expression for supported AGI/CSSI space weather files namesdataProvidersManager
- provides access to auxiliary data files.utc
- UTC time scale.public AbsoluteDate getMinDate()
getMinDate
in interface DTM2000InputParameters
getMinDate
in interface NRLMSISE00InputParameters
public AbsoluteDate getMaxDate()
getMaxDate
in interface DTM2000InputParameters
getMaxDate
in interface NRLMSISE00InputParameters
public double getInstantFlux(AbsoluteDate date)
getInstantFlux
in interface DTM2000InputParameters
date
- the current datepublic double getMeanFlux(AbsoluteDate date)
getMeanFlux
in interface DTM2000InputParameters
date
- the current datepublic double getThreeHourlyKP(AbsoluteDate date)
getThreeHourlyKP
in interface DTM2000InputParameters
date
- the current datepublic double get24HoursKp(AbsoluteDate date)
get24HoursKp
in interface DTM2000InputParameters
date
- the current datepublic double getDailyFlux(AbsoluteDate date)
getDailyFlux
in interface NRLMSISE00InputParameters
date
- the current datepublic double getAverageFlux(AbsoluteDate date)
getAverageFlux
in interface NRLMSISE00InputParameters
date
- the current datepublic double[] getAp(AbsoluteDate date)
Ap indices are provided as an array such as:
getAp
in interface NRLMSISE00InputParameters
date
- the current datepublic String getSupportedNames()
AbstractSelfFeedingLoader
getSupportedNames
in class AbstractSelfFeedingLoader
DataProvidersManager.feed(String, DataLoader)
Copyright © 2002-2021 CS GROUP. All rights reserved.