|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdriver.ted.utilities.T_ReadSP3
public class T_ReadSP3
This utility reads a SP3 formatted ephemeris file - typically from the NGA.
| Constructor Summary | |
|---|---|
T_ReadSP3()
Creates a new instance of T_ReadSP3 No File is initialized |
|
T_ReadSP3(java.lang.String filename)
Creates a new instance of T_ReadSP3 with a SP3 file initialized using the filename. |
|
| Method Summary | |
|---|---|
double[] |
getData(int PRN,
double J)
This function returns an array of position and velocity and clock parameters for a given PRN for a given time. |
double[][] |
getDataForPRN(int PRN)
This function returns an 2-D array of position and velocity and clock parameters for a given PRN If the PRN does not exist, a full size array of zeros is returned. |
double[][] |
getDataForTime(double J)
This function returns an 2-D array of position and velocity and clock parameters for a given time If the time does not exist, a full size array of zeros is returned. |
int[] |
getSVIDs()
This function returns an array of SVIDs as defined by the SP3 ephemeris file. |
double[] |
getTimes()
This function returns an array of times as defined by the NGA ephemeris file. |
static void |
main(java.lang.String[] args)
Test program |
void |
setFile(java.lang.String filename)
Use to set the filename if none was initialized by the constructor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public T_ReadSP3()
public T_ReadSP3(java.lang.String filename)
filename - The name of the SP3 file to open| Method Detail |
|---|
public void setFile(java.lang.String filename)
filename - The path to the file to open.public double[] getTimes()
public int[] getSVIDs()
public double[] getData(int PRN,
double J)
PRN - The PRN for which you want to obtain dataJ - The Julian Date for which you want to obtain Data
public double[][] getDataForPRN(int PRN)
PRN - The PRN of the vehicle you want to get data for
public double[][] getDataForTime(double J)
J - The Julian Date you want to obtain data for
public static void main(java.lang.String[] args)
args - Arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||