|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.propagation.analytical.tle.TLESeries
public class TLESeries
This class reads and handles series of TLEs for one space object.
TLE data is read using the standard Orekit mechanism based on a configured
DataProvidersManager. This means TLE data may
be retrieved from many different storage media (local disk files, remote servers,
database ...).
This class provides bounded ephemerides by finding the best initial TLE to propagate and then handling the propagation.
TLE,
DataProvidersManager,
Serialized Form| Constructor Summary | |
|---|---|
TLESeries(String supportedNames,
boolean ignoreNonTLELines)
Simple constructor with a TLE file. |
|
| Method Summary | |
|---|---|
Set<Integer> |
getAvailableSatelliteNumbers()
Get the available satellite numbers. |
TLE |
getClosestTLE(AbsoluteDate date)
Get the closest TLE to the selected date. |
TLE |
getFirst()
Get the first TLE. |
AbsoluteDate |
getFirstDate()
Get the start date of the series. |
TLE |
getLast()
Get the last TLE. |
AbsoluteDate |
getLastDate()
Get the last date of the series. |
PVCoordinates |
getPVCoordinates(AbsoluteDate date)
Get the extrapolated position and velocity from an initial date. |
void |
loadData(InputStream input,
String name)
Load data from a stream. |
void |
loadTLEData()
Load TLE data for a specified object. |
void |
loadTLEData(int satelliteNumber)
Load TLE data for a specified object. |
void |
loadTLEData(int launchYear,
int launchNumber,
String launchPiece)
Load TLE data for a specified object. |
boolean |
stillAcceptsData()
Check if the loader still accepts new data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TLESeries(String supportedNames,
boolean ignoreNonTLELines)
This constructor does not load any data by itself. Data must be
loaded later on by calling one of the loadTLEData() method, the loadTLEData(filterSatelliteNumber) method or the loadTLEData(filterLaunchYear, filterLaunchNumber, filterLaunchPiece) method.
supportedNames - regular expression for supported files names
(if null, a default pattern matching files with a ".tle" extension will be used)ignoreNonTLELines - if true, extra non-TLE lines are silently ignored,
if false an exception will be generated when such lines are encounteredloadTLEData(),
loadTLEData(int),
loadTLEData(int, int, String)| Method Detail |
|---|
public void loadTLEData()
throws OrekitException
The TLE data already loaded in the instance will be discarded and replaced by the newly loaded data.
The filtering values will be automatically set to the first loaded
satellite. This feature is useful when the satellite selection is
already set up by either the instance configuration (supported file
names) or by the data providers manager
configuration and the local filtering feature provided here can be ignored.
OrekitException - if some data can't be read, some
file content is corrupted or no TLE data is availableloadTLEData(int),
loadTLEData(int, int, String)
public Set<Integer> getAvailableSatelliteNumbers()
throws OrekitException
OrekitException - if some data can't be read, some
file content is corrupted or no TLE data is available
public void loadTLEData(int satelliteNumber)
throws OrekitException
The TLE data already loaded in the instance will be discarded and replaced by the newly loaded data.
Calling this method with the satellite number set to a negative value,
is equivalent to call loadTLEData().
satelliteNumber - satellite number
OrekitException - if some data can't be read, some
file content is corrupted or no TLE data is available for the selected objectloadTLEData(),
loadTLEData(int, int, String)
public void loadTLEData(int launchYear,
int launchNumber,
String launchPiece)
throws OrekitException
The TLE data already loaded in the instance will be discarded and replaced by the newly loaded data.
Calling this method with either the launch year or the launch number
set to a negative value, or the launch piece set to null or an empty
string are all equivalent to call loadTLEData().
launchYear - launch year (all digits)launchNumber - launch numberlaunchPiece - launch piece
OrekitException - if some data can't be read, some
file content is corrupted or no TLE data is available for the selected objectloadTLEData(),
loadTLEData(int)public boolean stillAcceptsData()
This method is used to speed up data loading by interrupting crawling the data sets as soon as a loader has found the data it was waiting for. For loaders that can merge data from any number of sources (for example JPL ephemerides or Earth Orientation Parameters that are split among several files), this method should always return true to make sure no data is left over.
stillAcceptsData in interface DataLoader
public void loadData(InputStream input,
String name)
throws IOException,
OrekitException
loadData in interface DataLoaderinput - data input streamname - name of the file (or zip entry)
IOException - if data can't be read
OrekitException - if some data is missing
or if some loader specific error occurs
public PVCoordinates getPVCoordinates(AbsoluteDate date)
throws OrekitException
first date ; last date].
date - the final date
OrekitException - if the underlying propagator cannot be initializedpublic TLE getClosestTLE(AbsoluteDate date)
date - the date
public AbsoluteDate getFirstDate()
public AbsoluteDate getLastDate()
public TLE getFirst()
public TLE getLast()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||