|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.frames.configuration.eop.EOP05C04FilesLoader
public class EOP05C04FilesLoader
Loader for EOP 05 C04 files.
EOP 05 C04 files contain Earth Orientation Parameters consistent with ITRF2005 for one year periods.
The EOP 05 C04 files are recognized thanks to their base names, which
must match one of the the patterns eopc04_IAU2000.## or
eopc04.## (or the same ending with .gz for
gzip-compressed files) where # stands for a digit character.
Between 2002 and 2007, another series of Earth Orientation Parameters was in use: EOPC04 (without the 05). These parameters were consistent with the previous ITRS realization: ITRF2000. These files are no longer provided by IERS and only 6 files covering the range 2002 to 2007 were generated. The content of these files is not the same as the content of the new files supported by this class, however IERS uses the same file naming convention for both. If a file from the older series is found by this class, a parse error will be triggered. Users must remove such files to avoid being lured in believing they do have EOP data.
Files containing old data (back to 1962) have been regenerated in the new file format and are available at IERS web site: Index of /iers/eop/eopc04_05.
| Constructor Summary | |
|---|---|
EOP05C04FilesLoader(String supportedNames)
Build a loader for IERS EOP 05 C04 files. |
|
| Method Summary | |
|---|---|
void |
fillHistory(EOP1980History history)
Load celestial body. |
static void |
fillHistory(EOP1980History history,
InputStream istream)
Fills the history object directy with data from the InputStream, bypassing the Orekit data loaders. |
void |
fillHistory(EOP2000History history)
Load celestial body. |
static void |
fillHistory(EOP2000History history,
InputStream istream)
Fills the history object directy with data from the InputStream, bypassing the Orekit data loaders. |
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 EOP05C04FilesLoader(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
public static void fillHistory(EOP1980History history,
InputStream istream)
throws OrekitException,
IOException
InputStream, bypassing the Orekit data loaders.
history - history objectistream - input stream
OrekitException - if some data is missing
IOException - if data can't be read
public static void fillHistory(EOP2000History history,
InputStream istream)
throws OrekitException,
IOException
InputStream, bypassing the Orekit data loaders.
history - history objectistream - input stream
OrekitException - if some data is missing
IOException - if data can't be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||