|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.frames.configuration.eop.BulletinBFilesLoader
public class BulletinBFilesLoader
Loader for bulletin B files.
Bulletin B files contain Earth Orientation Parameters
for a few months periods.
The bulletin B files are recognized thanks to their base names,
which must match one of the the patterns bulletinb_IAU2000-###.txt
,
bulletinb_IAU2000.###
, bulletinb-###.txt
or
bulletinb.###
(or the same ending with .gz
for gzip-compressed files) where # stands for a digit character. The files
with IAU_2000 in their names correspond to the IAU-2000 precession-nutation model
wheareas the files without any identifier correspond to the IAU-1980
precession-nutation model.
Note that since early 2010, IERS has ceased publication of bulletin B for both
precession-nutation models from its
main site. The files for IAU-1980 only are still available from Paris-Meudon
observatory site in a new format (but with the same name pattern
bulletinb.###
). This class handles both the old and the new format
and takes care to use the new format only for the IAU-2000 precession-nutation model.
Constructor Summary | |
---|---|
BulletinBFilesLoader(String supportedNames)
Build a loader for IERS bulletins B 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 BulletinBFilesLoader(String supportedNames)
supportedNames
- regular expression for supported files namesMethod 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 OrekitException, IOException
loadData
in interface DataLoader
input
- data input streamname
- name of the file (or zip entry)
OrekitException
- if some data is missing
or if some loader specific error occurs
IOException
- if data can't be readpublic void fillHistory(EOP1980History history) throws OrekitException
fillHistory
in interface EOP1980HistoryLoader
history
- history to fill up
OrekitException
- if the history cannot be loadedpublic void fillHistory(EOP2000History history) throws OrekitException
fillHistory
in interface EOP2000HistoryLoader
history
- 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 |