public final class SolarActivityDataFactory extends Object
solar activity data providers
DataProvidersManager
which is thread hostileModifier and Type | Field and Description |
---|---|
static String |
ACSOL_FILENAME
Default file name for ACSOL
|
static String |
NOAA_FILENAME
Default file name for NOAA
|
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultSolarActivityDataReaders()
Add the default READERS for solar activity
The default READERS supports ACSOL format with the default name
ACSOL_FILENAME |
static void |
addSolarActivityDataReader(SolarActivityDataReader reader)
Add a reader for solar activity
|
static void |
clearSolarActivityDataReaders()
Clear solar activity READERS.
|
static SolarActivityDataProvider |
getSolarActivityDataProvider()
Get the solar activity provider from the first supported file.
|
public static final String ACSOL_FILENAME
public static final String NOAA_FILENAME
public static void addSolarActivityDataReader(SolarActivityDataReader reader)
reader
- custom reader to addpublic static void addDefaultSolarActivityDataReaders() throws PatriusException
The default READERS supports ACSOL format with the default name ACSOL_FILENAME
PatriusException
- thrown if readers could not properly initializedaddSolarActivityDataReader(SolarActivityDataReader)
,
clearSolarActivityDataReaders()
public static void clearSolarActivityDataReaders()
public static SolarActivityDataProvider getSolarActivityDataProvider() throws PatriusException
If no SolarActivityDataProvider
has been added by calling
addSolarActivityDataReader
or if
clearSolarActivityDataReaders
has been called afterwards,the
addDefaultSolarActivityDataReaders
method will be called
automatically.
PatriusException
- if some data is missing or if some loader specific error occursCopyright © 2021 CNES. All rights reserved.