|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.frames.configuration.eop.RapidDataAndPredictionXMLLoader
public class RapidDataAndPredictionXMLLoader
Loader for IERS rapid data and prediction file in XML format (finals file).
Rapid data and prediction file contain Earth Orientation Parameters for several years periods, in one file
only that is updated regularly.
The XML EOP files are recognized thanks to their base names, which
must match one of the the patterns finals.2000A.*.xml or
finals.*.xml (or the same ending with .gz for
gzip-compressed files) where * stands for a word like "all", "daily",
or "data".
Files containing data (back to 1973) are available at IERS web site: Earth orientation data.
| Constructor Summary | |
|---|---|
RapidDataAndPredictionXMLLoader(String supportedNames)
Build a loader for IERS XML EOP files. |
|
| Method Summary | |
|---|---|
void |
fillHistory(EOP1980History history)
Load celestial body. |
void |
fillHistory(EOP2000History history)
Load celestial body. |
void |
loadData(InputStream input,
String name)
Load data from a stream. |
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 RapidDataAndPredictionXMLLoader(String supportedNames)
supportedNames - regular expression for supported files names| Method Detail |
|---|
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 void fillHistory(EOP1980History history)
throws OrekitException
fillHistory in interface EOP1980HistoryLoaderhistory - history to fill up
OrekitException - if the history cannot be loaded
public void fillHistory(EOP2000History history)
throws OrekitException
fillHistory in interface EOP2000HistoryLoaderhistory - history to fill up
OrekitException - if the history cannot be loaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||