Package org.orekit.frames
Class ITRFVersionLoader
- java.lang.Object
-
- org.orekit.frames.ITRFVersionLoader
-
- All Implemented Interfaces:
ItrfVersionProvider
public class ITRFVersionLoader extends Object implements ItrfVersionProvider
Loader for ITRF version configuration file.The ITRF version configuration file specifies the
ITRF versions
that each type of Earth Orientation Parameter file contains for each date. This configuration file is used to interpretEOP C04
files,Bulletin A
files,Bulletin B
files,rapid data and prediction files in columns format
files,rapid data and prediction files in XML format
files...This file is an Orekit-specific configuration file.
This class is immutable and hence thread-safe
- Since:
- 9.2
- Author:
- Luc Maisonobe
- See Also:
EopC04FilesLoader
,BulletinAFilesLoader
,BulletinBFilesLoader
,RapidDataAndPredictionColumnsLoader
,EopXmlLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ITRFVersionLoader.ITRFVersionConfiguration
ITRF version configuration entry.
-
Field Summary
Fields Modifier and Type Field Description static String
SUPPORTED_NAMES
Regular expression for supported files names.
-
Constructor Summary
Constructors Constructor Description ITRFVersionLoader()
Build a loader for ITRF version configuration file using the default name.ITRFVersionLoader(String supportedNames)
Build a loader for ITRF version configuration file.ITRFVersionLoader(String supportedNames, DataProvidersManager dataProvidersManager)
Build a loader for ITRF version configuration file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITRFVersionLoader.ITRFVersionConfiguration
getConfiguration(String name, int mjd)
Get the ITRF version configuration defined by a given file at specified date.
-
-
-
Field Detail
-
SUPPORTED_NAMES
public static final String SUPPORTED_NAMES
Regular expression for supported files names.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ITRFVersionLoader
@DefaultDataContext public ITRFVersionLoader(String supportedNames)
Build a loader for ITRF version configuration file. This constructor uses thedefault data context
.- Parameters:
supportedNames
- regular expression for supported files names- See Also:
ITRFVersionLoader(String, DataProvidersManager)
-
ITRFVersionLoader
public ITRFVersionLoader(String supportedNames, DataProvidersManager dataProvidersManager)
Build a loader for ITRF version configuration file.- Parameters:
supportedNames
- regular expression for supported files namesdataProvidersManager
- provides access to theitrf-versions.conf
file.
-
ITRFVersionLoader
@DefaultDataContext public ITRFVersionLoader()
Build a loader for ITRF version configuration file using the default name. This constructor uses thedefault data context
.This constructor uses the
default data context
.
-
-
Method Detail
-
getConfiguration
public ITRFVersionLoader.ITRFVersionConfiguration getConfiguration(String name, int mjd)
Description copied from interface:ItrfVersionProvider
Get the ITRF version configuration defined by a given file at specified date.- Specified by:
getConfiguration
in interfaceItrfVersionProvider
- Parameters:
name
- EOP file namemjd
- date of the EOP in modified Julian day- Returns:
- configuration valid around specified date in the file
-
-