Class JB2008SpaceEnvironmentData
java.lang.Object
org.orekit.models.earth.atmosphere.data.JB2008SpaceEnvironmentData
- All Implemented Interfaces:
Serializable,JB2008InputParameters
This class provides a container for the solar indices data required by the JB2008
atmospheric model. This container only stores information provided in the SOLFSMY and DTCFILE text file
provided by Space Environment Technologies. Therefore it doesn't provide the geomagnetic storm
indices available in the SOLRESAP file.
The
DataLoader implementations and the parsing are handled by
the SOLFSMYDataLoader DtcDataLoader classes.
Data are available on Space Environment Technologies' website. The work done for this class is based on the CssiSpaceWeatherData class by Clément Jonglez, the JB2008 interface by Pascal Parraud, and corrections for the CssiSpaceWeatherData implementation by Bryan Cazabonne and Evan Ward.
- Since:
- 11.2
- Author:
- Louis Aucouturier
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJB2008SpaceEnvironmentData(String supportedNamesSOL, String supportedNamesDTC) Simple constructor.JB2008SpaceEnvironmentData(String supportedNamesSOL, String supportedNamesDTC, DataProvidersManager dataProvidersManager, TimeScale utc) Constructor that allows specifying the source of the SOLFSMY space weather file.JB2008SpaceEnvironmentData(DataSource sourceSolfsmy, DataSource sourceDtc) Simple constructor.JB2008SpaceEnvironmentData(DataSource sourceSolfsmy, DataSource sourceDtc, TimeScale utc) Constructor that allows specifying the source of the SOLFSMY space weather file. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDSTDTC(AbsoluteDate date) Get the temperature change computed from Dst index.doublegetF10(AbsoluteDate date) Get the value of the instantaneous solar flux index (1e-22*Watt/(m²*Hertz)).doublegetF10B(AbsoluteDate date) Get the value of the mean solar flux.Gets the available data range maximum date.Gets the available data range minimum date.doublegetS10(AbsoluteDate date) Get the EUV index (26-34 nm) scaled to F10.doublegetS10B(AbsoluteDate date) Get the EUV 81-day averaged centered index.doublegetXM10(AbsoluteDate date) Get the MG2 index scaled to F10.doublegetXM10B(AbsoluteDate date) Get the MG2 81-day average centered index.doublegetY10(AbsoluteDate date) Get the Solar X-Ray & Lya index scaled to F10.doublegetY10B(AbsoluteDate date) Get the Solar X-Ray & Lya 81-day ave. centered index.
-
Field Details
-
DEFAULT_SUPPORTED_NAMES_SOLFSMY
Default regular expression for supported names that works with test and published files for the SOLFSMY file.- See Also:
-
DEFAULT_SUPPORTED_NAMES_DTC
Default regular expression for supported names that works with test and published files for the DTCFILE file.- See Also:
-
-
Constructor Details
-
JB2008SpaceEnvironmentData
@DefaultDataContext public JB2008SpaceEnvironmentData(String supportedNamesSOL, String supportedNamesDTC) Simple constructor. This constructor uses the default data context.- Parameters:
supportedNamesSOL- regular expression for SOLFSMY space weather files names with variations allowed between SOLFSMY and the file extension.supportedNamesDTC- regular expression for DTCFILE files names with variations allowed between DTCFILE and the file extension.
-
JB2008SpaceEnvironmentData
public JB2008SpaceEnvironmentData(String supportedNamesSOL, String supportedNamesDTC, DataProvidersManager dataProvidersManager, TimeScale utc) Constructor that allows specifying the source of the SOLFSMY space weather file. This constructor takes a supplementary argument, the supported names for DTCFILE, in order to setup the second loader.- Parameters:
supportedNamesSOL- regular expression for SOLFSMY space weather files names with variations allowed between SOLFSMY and the file extension.supportedNamesDTC- regular expression for DTCFILE files names with variations allowed between DTCFILE and the file extension.dataProvidersManager- provides access to auxiliary data files.utc- UTC time scale.
-
JB2008SpaceEnvironmentData
@DefaultDataContext public JB2008SpaceEnvironmentData(DataSource sourceSolfsmy, DataSource sourceDtc) Simple constructor. This constructor uses thedefault data context.- Parameters:
sourceSolfsmy- source for the SOLFSMY datasourceDtc- source for the DTC data- Since:
- 12.0
-
JB2008SpaceEnvironmentData
Constructor that allows specifying the source of the SOLFSMY space weather file. This constructor takes a supplementary argument, the source for DTCFILE, in order to setup the second loader.- Parameters:
sourceSolfsmy- source for the SOLFSMY datasourceDtc- source for the DTC datautc- UTC time scale- Since:
- 12.0
-
-
Method Details
-
getMinDate
Gets the available data range minimum date.- Specified by:
getMinDatein interfaceJB2008InputParameters- Returns:
- the minimum date.
-
getMaxDate
Gets the available data range maximum date.- Specified by:
getMaxDatein interfaceJB2008InputParameters- Returns:
- the maximum date.
-
getF10
Get the value of the instantaneous solar flux index (1e-22*Watt/(m²*Hertz)).Tabular time 1.0 day earlier.
- Specified by:
getF10in interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the instantaneous F10.7 index
-
getF10B
Get the value of the mean solar flux. Averaged 81-day centered F10.7 B index on the input time.Tabular time 1.0 day earlier.
- Specified by:
getF10Bin interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the mean solar flux F10.7B index
-
getS10
Get the EUV index (26-34 nm) scaled to F10.Tabular time 1.0 day earlier.
- Specified by:
getS10in interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the the EUV S10 index
-
getS10B
Get the EUV 81-day averaged centered index.Tabular time 1.0 day earlier.
- Specified by:
getS10Bin interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the the mean EUV S10B index
-
getXM10
Get the MG2 index scaled to F10.Tabular time 2.0 days earlier.
- Specified by:
getXM10in interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the the MG2 index
-
getXM10B
Get the MG2 81-day average centered index.Tabular time 2.0 days earlier.
- Specified by:
getXM10Bin interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the the mean MG2 index
-
getY10
Get the Solar X-Ray & Lya index scaled to F10.Tabular time 5.0 days earlier.
- Specified by:
getY10in interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the Solar X-Ray & Lya index scaled to F10
-
getY10B
Get the Solar X-Ray & Lya 81-day ave. centered index.Tabular time 5.0 days earlier.
- Specified by:
getY10Bin interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the Solar X-Ray & Lya 81-day ave. centered index
-
getDSTDTC
Get the temperature change computed from Dst index.- Specified by:
getDSTDTCin interfaceJB2008InputParameters- Parameters:
date- the current date- Returns:
- the temperature change computed from Dst index
-