Package org.orekit.files.ilrs
Class CPF
java.lang.Object
org.orekit.files.ilrs.CPF
- All Implemented Interfaces:
EphemerisFile<CPF.CPFCoordinate,CPF.CPFEphemeris>
This class stores all the information of the Consolidated laser ranging Prediction File (CPF) parsed
by CPFParser. It contains the header and a list of ephemeris entry.
- Since:
- 10.3
- Author:
- Bryan Cazabonne
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA single record of position and possibility velocity in an SP3 file.classAn ephemeris entry for a single satellite contains in a CPF file.Nested classes/interfaces inherited from interface org.orekit.files.general.EphemerisFile
EphemerisFile.EphemerisSegment<C extends TimeStampedPVCoordinates>, EphemerisFile.SatelliteEphemeris<C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault satellite ID, used if header is null when initializing the ephemeris. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSatelliteCoordinate(String id, CPF.CPFCoordinate coord) Add a new P/V coordinates to the satellite.voidaddSatelliteCoordinates(String id, List<CPF.CPFCoordinate> coord) Adds a set of P/V coordinates to the satellite.voidaddSatelliteVelocityToCPFCoordinate(String id, Vector3D velocity) Add the velocity to the last CPF coordinate entry.Get the comments contained in the file.Get the CPF file header.Get the loaded ephemeris for each satellite in the file.Get the time scale used in CPF file.voidsetFilter(CartesianDerivativesFilter filter) Set the derivatives filter.voidsetInterpolationSample(int interpolationSample) Set the interpolation sample.voidsetMu(double mu) Set the gravitational coefficient.voidsetTimeScale(TimeScale timeScale) Set the time scale.
-
Field Details
-
DEFAULT_ID
Default satellite ID, used if header is null when initializing the ephemeris.- See Also:
-
-
Constructor Details
-
CPF
public CPF()Constructor.
-
-
Method Details
-
getSatellites
Get the loaded ephemeris for each satellite in the file. First key corresponds to String value ofILRSHeader.getIlrsSatelliteId()- Specified by:
getSatellitesin interfaceEphemerisFile<CPF.CPFCoordinate,CPF.CPFEphemeris> - Returns:
- a map from the satellite's ID to the information about that satellite contained in the file.
-
getHeader
Get the CPF file header.- Returns:
- the CPF file header
-
getTimeScale
Get the time scale used in CPF file.- Returns:
- the time scale used to parse epochs in CPF file.
-
getComments
Get the comments contained in the file.- Returns:
- the comments contained in the file
-
addSatelliteCoordinates
Adds a set of P/V coordinates to the satellite.- Parameters:
id- satellite ILRS identifiercoord- set of coordinates- Since:
- 11.0.1
-
addSatelliteCoordinate
Add a new P/V coordinates to the satellite.- Parameters:
id- satellite ILRS identifiercoord- the P/V coordinate of the satellite- Since:
- 11.0.1
-
addSatelliteVelocityToCPFCoordinate
Add the velocity to the last CPF coordinate entry.- Parameters:
id- satellite ILRS identifiervelocity- the velocity vector of the satellite- Since:
- 11.2
-
setInterpolationSample
public void setInterpolationSample(int interpolationSample) Set the interpolation sample.- Parameters:
interpolationSample- interpolation sample
-
setMu
public void setMu(double mu) Set the gravitational coefficient.- Parameters:
mu- the coefficient to be set
-
setTimeScale
Set the time scale.- Parameters:
timeScale- use to parse dates in this file.
-
setFilter
Set the derivatives filter.- Parameters:
filter- that indicates which derivatives of position are available.
-