public final class EOPHistoryFactory extends Object
Loading of EOP data follows PATRIUS standard way of handling data:
EOP2000HistoryLoader
and EOP1980HistoryLoader
.addEOP2000HistoryLoader(EOP2000HistoryLoader)
(and equivalent for 1980 data).DataProvidersManager
.clearEOP2000HistoryLoaders()
and equivalent for
1980 data.
By default, some loaders are added in the following order:
RapidDataAndPredictionColumnsLoader
: IERS rapid data and prediction files in columns format
(finals file). See IERS rapid data and prediction files
for more information.
RapidDataAndPredictionXMLLoader
: IERS rapid data and prediction files in XML format
(finals file). See
IERS rapid data and prediction files for more information.
EOPC04FilesLoader
: IERS EOP 05 C04 files.
See EOP 05 C04
for more information.
BulletinBFilesLoader
: IERS bulletin B files. See Bulletin B
for more information.
Modifier and Type | Field and Description |
---|---|
static String |
BULLETINB_1980_FILENAME
Default regular expression for the BulletinB files (IAU1980 compatibles).
|
static String |
BULLETINB_2000_FILENAME
Default regular expression for the BulletinB files (IAU2000 compatibles).
|
static String |
EOPC04_1980_FILENAME
Default regular expression for the EOPC04 files (IAU1980 compatibles).
|
static String |
EOPC04_2000_FILENAME
Default regular expression for the EOPC04 files (IAU2000 compatibles).
|
static String |
RAPID_DATA_PREDICITON_COLUMNS_1980_FILENAME
Default regular expression for the Rapid Data and Prediction EOP columns files (IAU1980
compatibles).
|
static String |
RAPID_DATA_PREDICITON_COLUMNS_2000_FILENAME
Default regular expression for the Rapid Data and Prediction EOP columns files (IAU2000
compatibles).
|
static String |
RAPID_DATA_PREDICITON_XML_1980_FILENAME
Default regular expression for the Rapid Data and Prediction EOP XML files (IAU1980
compatibles).
|
static String |
RAPID_DATA_PREDICITON_XML_2000_FILENAME
Default regular expression for the Rapid Data and Prediction EOP XML files (IAU2000
compatibles).
|
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultEOP1980HistoryLoaders(String rapidDataColumnsSupportedNames,
String rapidDataXMLSupportedNames,
String eopC04SupportedNames,
String bulletinBSupportedNames)
Add the default loaders for EOP 1980 history.
|
static void |
addDefaultEOP2000HistoryLoaders(String rapidDataColumnsSupportedNames,
String rapidDataXMLSupportedNames,
String eopC04SupportedNames,
String bulletinBSupportedNames)
Add the default loaders for EOP 2000 history.
|
static void |
addEOP1980HistoryLoader(EOP1980HistoryLoader loader)
Add a loader for EOP 1980 history.
|
static void |
addEOP2000HistoryLoader(EOP2000HistoryLoader loader)
Add a loader for EOP 2000 history.
|
static void |
clearEOP1980HistoryLoaders()
Clear loaders for EOP 1980 history.
|
static void |
clearEOP2000HistoryLoaders()
Clear loaders for EOP 2000 history.
|
static EOP1980History |
getEOP1980History()
Get Earth Orientation Parameters history (IAU1980) data.
|
static EOP1980History |
getEOP1980History(EOPInterpolators interpMethod)
Get Earth Orientation Parameters history (IAU1980) data.
|
static EOP2000History |
getEOP2000History()
Get Earth Orientation Parameters history (IAU2000) data.
|
static EOP2000History |
getEOP2000History(EOPInterpolators interpMethod)
Get Earth Orientation Parameters history (IAU2000) data.
|
static EOP2000History |
getEOP2000History(EOPInterpolators interpMethod,
EOP2000HistoryLoader loader)
Get Earth Orientation Parameters history (IAU2000) data using a specific loader.
|
static EOP2000HistoryConstantOutsideInterval |
getEOP2000HistoryConstant()
Get Earth Orientation Parameters history (IAU2000) data.
|
static EOP2000HistoryConstantOutsideInterval |
getEOP2000HistoryConstant(EOPInterpolators interpMethod)
Get Earth Orientation Parameters history (IAU2000) data.
|
static EOP2000HistoryConstantOutsideInterval |
getEOP2000HistoryConstant(EOPInterpolators interpMethod,
EOP2000HistoryLoader loader)
Get Earth Orientation Parameters history (IAU2000) data using a specific loader.
|
public static final String RAPID_DATA_PREDICITON_COLUMNS_1980_FILENAME
public static final String RAPID_DATA_PREDICITON_XML_1980_FILENAME
public static final String EOPC04_1980_FILENAME
public static final String BULLETINB_1980_FILENAME
public static final String RAPID_DATA_PREDICITON_COLUMNS_2000_FILENAME
public static final String RAPID_DATA_PREDICITON_XML_2000_FILENAME
public static final String EOPC04_2000_FILENAME
public static final String BULLETINB_2000_FILENAME
public static void addEOP1980HistoryLoader(EOP1980HistoryLoader loader)
loader
- custom loader to add for the EOP historyaddDefaultEOP1980HistoryLoaders(String, String, String, String)
,
clearEOP1980HistoryLoaders()
,
addEOP2000HistoryLoader(EOP2000HistoryLoader)
public static void addDefaultEOP1980HistoryLoaders(String rapidDataColumnsSupportedNames, String rapidDataXMLSupportedNames, String eopC04SupportedNames, String bulletinBSupportedNames)
The default loaders look for IERS EOP 05 C04 and bulletins B files.
rapidDataColumnsSupportedNames
- regular expression for supported rapid data columns EOP
files names (may be null if the default IERS file names are used)rapidDataXMLSupportedNames
- regular expression for supported rapid data XML EOP files
names (may be null if the default IERS file names are used)eopC04SupportedNames
- regular expression for supported EOP05 C04 files names (may be
null if the default IERS file names are used)bulletinBSupportedNames
- regular expression for supported bulletin B files names (may
be null if the default IERS file names are used)addEOP1980HistoryLoader(EOP1980HistoryLoader)
,
clearEOP1980HistoryLoaders()
,
addDefaultEOP2000HistoryLoaders(String, String, String, String)
public static void clearEOP1980HistoryLoaders()
public static EOP1980History getEOP1980History() throws PatriusException
If no EOP1980HistoryLoader
has been added by calling addEOP1980HistoryLoader
or if clearEOP1980HistoryLoaders
has been called afterwards, the addDefaultEOP1980HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method will be called
automatically with two null parameters (supported file names).
PatriusException
- if the data cannot be loadedpublic static EOP1980History getEOP1980History(EOPInterpolators interpMethod) throws PatriusException
If no EOP1980HistoryLoader
has been added by calling addEOP1980HistoryLoader
or if clearEOP1980HistoryLoaders
has been called afterwards, the addDefaultEOP1980HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method will be called
automatically with two null parameters (supported file names).
interpMethod
- : interpolation method for EOP dataPatriusException
- if the data cannot be loadedpublic static void addEOP2000HistoryLoader(EOP2000HistoryLoader loader)
loader
- custom loader to add for the EOP historyaddDefaultEOP2000HistoryLoaders(String, String, String, String)
,
clearEOP2000HistoryLoaders()
,
addEOP1980HistoryLoader(fr.cnes.sirius.patrius.frames.configuration.eop.EOP1980HistoryLoader)
public static void addDefaultEOP2000HistoryLoaders(String rapidDataColumnsSupportedNames, String rapidDataXMLSupportedNames, String eopC04SupportedNames, String bulletinBSupportedNames)
The default loaders look for IERS EOP 05 C04 and bulletins B files.
rapidDataColumnsSupportedNames
- regular expression for supported rapid data columns EOP
files names (may be null if the default IERS file names are used)rapidDataXMLSupportedNames
- regular expression for supported rapid data XML EOP files
names (may be null if the default IERS file names are used)eopC04SupportedNames
- regular expression for supported EOP05 C04 files names (may be
null if the default IERS file names are used)bulletinBSupportedNames
- regular expression for supported bulletin B files names (may
be null if the default IERS file names are used)addEOP2000HistoryLoader(fr.cnes.sirius.patrius.frames.configuration.eop.EOP2000HistoryLoader)
,
clearEOP2000HistoryLoaders()
,
addDefaultEOP1980HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static void clearEOP2000HistoryLoaders()
public static EOP2000History getEOP2000History() throws PatriusException
If no EOP2000HistoryLoader
has been added by calling addEOP2000HistoryLoader
or if clearEOP2000HistoryLoaders
has been called afterwards, the addDefaultEOP2000HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method will be called
automatically with two null parameters (supported file names).
PatriusException
- if the data cannot be loadedpublic static EOP2000History getEOP2000History(EOPInterpolators interpMethod) throws PatriusException
If no EOP2000HistoryLoader
has been added by calling addEOP2000HistoryLoader
or if clearEOP2000HistoryLoaders
has been called afterwards, the addDefaultEOP2000HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method will be called
automatically with two null parameters (supported file names).
interpMethod
- : interpolation method for EOP dataPatriusException
- if the data cannot be loadedpublic static EOP2000History getEOP2000History(EOPInterpolators interpMethod, EOP2000HistoryLoader loader) throws PatriusException
interpMethod
- : interpolation method for EOP dataloader
- : EOP data loader to feedPatriusException
- if the data cannot be loadedpublic static EOP2000HistoryConstantOutsideInterval getEOP2000HistoryConstant() throws PatriusException
If no EOP2000HistoryLoader
has been added by calling addEOP2000HistoryLoader
or if clearEOP2000HistoryLoaders
has been called afterwards, the addDefaultEOP2000HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method will be called
automatically with two null parameters (supported file names).
PatriusException
- if the data cannot be loadedpublic static EOP2000HistoryConstantOutsideInterval getEOP2000HistoryConstant(EOPInterpolators interpMethod) throws PatriusException
If no EOP2000HistoryLoader
has been added by calling addEOP2000HistoryLoader
or if clearEOP2000HistoryLoaders
has been called afterwards, the addDefaultEOP2000HistoryLoaders(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
method will be called
automatically with two null parameters (supported file names).
interpMethod
- : interpolation method for EOP dataPatriusException
- if the data cannot be loadedpublic static EOP2000HistoryConstantOutsideInterval getEOP2000HistoryConstant(EOPInterpolators interpMethod, EOP2000HistoryLoader loader) throws PatriusException
interpMethod
- : interpolation method for EOP dataloader
- : EOP data loader to feedPatriusException
- if the data cannot be loadedCopyright © 2023 CNES. All rights reserved.