DataLoader
@Deprecated public class TLESeries extends Object implements DataLoader
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
Constructor | Description |
---|---|
TLESeries(String supportedNames,
boolean ignoreNonTLELines) |
Deprecated.
Simple constructor with a TLE file.
|
Modifier and Type | Method | Description |
---|---|---|
Set<Integer> |
getAvailableSatelliteNumbers() |
Deprecated.
Get the available satellite numbers.
|
TLE |
getClosestTLE(AbsoluteDate date) |
Deprecated.
Get the closest TLE to the selected date.
|
TLE |
getFirst() |
Deprecated.
Get the first TLE.
|
AbsoluteDate |
getFirstDate() |
Deprecated.
Get the start date of the series.
|
TLE |
getLast() |
Deprecated.
Get the last TLE.
|
AbsoluteDate |
getLastDate() |
Deprecated.
Get the last date of the series.
|
PVCoordinates |
getPVCoordinates(AbsoluteDate date) |
Deprecated.
Get the extrapolated position and velocity from an initial date.
|
void |
loadData(InputStream input,
String name) |
Deprecated.
Load data from a stream.
|
void |
loadTLEData() |
Deprecated.
Load TLE data for a specified object.
|
void |
loadTLEData(int satelliteNumber) |
Deprecated.
Load TLE data for a specified object.
|
void |
loadTLEData(int launchYear,
int launchNumber,
String launchPiece) |
Deprecated.
Load TLE data for a specified object.
|
boolean |
stillAcceptsData() |
Deprecated.
Check if the loader still accepts new data.
|
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)
public void loadTLEData()
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.
loadTLEData(int)
,
loadTLEData(int, int, String)
public Set<Integer> getAvailableSatelliteNumbers()
public void loadTLEData(int satelliteNumber)
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 numberloadTLEData()
,
loadTLEData(int, int, String)
public void loadTLEData(int launchYear, int launchNumber, String launchPiece)
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 pieceloadTLEData()
,
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 DataLoader
input
- data input streamname
- name of the file (or zip entry)IOException
- if data can't be readOrekitException
public PVCoordinates getPVCoordinates(AbsoluteDate date)
first date
; last date
].date
- the final datepublic TLE getClosestTLE(AbsoluteDate date)
date
- the datepublic AbsoluteDate getFirstDate()
public AbsoluteDate getLastDate()
public TLE getFirst()
public TLE getLast()
Copyright © 2002-2019 CS Systèmes d'information. All rights reserved.