|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.signalpropagation.iono.USKLoader
public final class USKLoader
Reader for the USK data file (file of the "NEWUSK" type). Note : the code is ported from Fortran and not optimized. Since the file is not big, and its format is not meant to change often, it was decided an optimization pass was not needed.
| Constructor Summary | |
|---|---|
USKLoader(String fileName)
Creates a USK data file reader and load the file. |
|
| Method Summary | |
|---|---|
fr.cnes.sirius.patrius.signalpropagation.iono.USKData |
getData(AbsoluteDate date,
double r12)
Returns the USK data for the Bent model. |
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 USKLoader(String fileName)
throws OrekitException
fileName - name of the file
OrekitException - if a problem occurs during the file loading.| Method Detail |
|---|
public boolean stillAcceptsData()
DataLoaderThis 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,
ParseException,
OrekitException
loadData in interface DataLoaderinput - data input streamname - name of the file (or zip entry)
IOException - if data can't be read
ParseException - if data can't be parsed
OrekitException - if some data is missing
or if some loader specific error occurs
public fr.cnes.sirius.patrius.signalpropagation.iono.USKData getData(AbsoluteDate date,
double r12)
throws OrekitException
getData in interface USKProviderdate - the dater12 - R12 constant value
OrekitException - if a problem occurs in time scales management
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||