public class JB2008SpaceEnvironmentData extends Object implements JB2008InputParameters
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.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SUPPORTED_NAMES_DTC
Default regular expression for supported names that works with test and published files for the DTCFILE file.
|
static String |
DEFAULT_SUPPORTED_NAMES_SOLFSMY
Default regular expression for supported names that works with test and published files for the SOLFSMY file.
|
Constructor and Description |
---|
JB2008SpaceEnvironmentData(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.
|
Modifier and Type | Method and Description |
---|---|
double |
getDSTDTC(AbsoluteDate date)
Get the temperature change computed from Dst index.
|
double |
getF10(AbsoluteDate date)
Get the value of the instantaneous solar flux index
(1e-22*Watt/(m²*Hertz)).
|
double |
getF10B(AbsoluteDate date)
Get the value of the mean solar flux.
|
AbsoluteDate |
getMaxDate()
Gets the available data range maximum date.
|
AbsoluteDate |
getMinDate()
Gets the available data range minimum date.
|
double |
getS10(AbsoluteDate date)
Get the EUV index (26-34 nm) scaled to F10.
|
double |
getS10B(AbsoluteDate date)
Get the EUV 81-day averaged centered index.
|
double |
getXM10(AbsoluteDate date)
Get the MG2 index scaled to F10.
|
double |
getXM10B(AbsoluteDate date)
Get the MG2 81-day average centered index.
|
double |
getY10(AbsoluteDate date)
Get the Solar X-Ray & Lya index scaled to F10.
|
double |
getY10B(AbsoluteDate date)
Get the Solar X-Ray & Lya 81-day ave.
|
public static final String DEFAULT_SUPPORTED_NAMES_SOLFSMY
public static final String DEFAULT_SUPPORTED_NAMES_DTC
@DefaultDataContext public JB2008SpaceEnvironmentData(String supportedNamesSOL, String supportedNamesDTC)
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.public JB2008SpaceEnvironmentData(String supportedNamesSOL, String supportedNamesDTC, DataProvidersManager dataProvidersManager, TimeScale utc)
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.public AbsoluteDate getMinDate()
getMinDate
in interface JB2008InputParameters
public AbsoluteDate getMaxDate()
getMaxDate
in interface JB2008InputParameters
public double getF10(AbsoluteDate date)
Tabular time 1.0 day earlier.
getF10
in interface JB2008InputParameters
date
- the current datepublic double getF10B(AbsoluteDate date)
Tabular time 1.0 day earlier.
getF10B
in interface JB2008InputParameters
date
- the current datepublic double getS10(AbsoluteDate date)
Tabular time 1.0 day earlier.
getS10
in interface JB2008InputParameters
date
- the current datepublic double getS10B(AbsoluteDate date)
Tabular time 1.0 day earlier.
getS10B
in interface JB2008InputParameters
date
- the current datepublic double getXM10(AbsoluteDate date)
Tabular time 2.0 days earlier.
getXM10
in interface JB2008InputParameters
date
- the current datepublic double getXM10B(AbsoluteDate date)
Tabular time 2.0 days earlier.
getXM10B
in interface JB2008InputParameters
date
- the current datepublic double getY10(AbsoluteDate date)
Tabular time 5.0 days earlier.
getY10
in interface JB2008InputParameters
date
- the current datepublic double getY10B(AbsoluteDate date)
Tabular time 5.0 days earlier.
getY10B
in interface JB2008InputParameters
date
- the current datepublic double getDSTDTC(AbsoluteDate date)
getDSTDTC
in interface JB2008InputParameters
date
- the current dateCopyright © 2002-2022 CS GROUP. All rights reserved.