public class SP3Header extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SP3_FRAME_CENTER_STRING
String representation of the center of ephemeris coordinate system.
|
Constructor and Description |
---|
SP3Header()
Create a new SP3 header.
|
Modifier and Type | Method and Description |
---|---|
void |
addComment(String comment)
Add a comment.
|
void |
addSatId(String satId)
Add a satellite identifier.
|
double |
getAccuracy(String satId)
Get the formal accuracy.
|
String |
getAgency()
Returns the agency that prepared this SP3 file.
|
double |
getClockBase()
Get the base for clock/clock-rate accuracy.
|
List<String> |
getComments()
Get the comments.
|
String |
getCoordinateSystem()
Returns the coordinate system of the entries in this orbit file.
|
List<DataUsed> |
getDataUsed()
Returns the data used indicator from the SP3 file.
|
double |
getDayFraction()
Returns the day fraction for this SP3 file.
|
AbsoluteDate |
getEpoch()
Returns the start epoch of the orbit file.
|
double |
getEpochInterval()
Returns the time interval between epochs (in seconds).
|
CartesianDerivativesFilter |
getFilter()
Get the derivatives filter.
|
int |
getGpsWeek()
Returns the GPS week as contained in the SP3 file.
|
int |
getModifiedJulianDay()
Returns the modified julian day for this SP3 file.
|
int |
getNumberOfEpochs()
Returns the number of epochs contained in this orbit file.
|
SP3OrbitType |
getOrbitType()
Returns the
SP3OrbitType for this SP3 file. |
String |
getOrbitTypeKey()
Returns the orbit type key for this SP3 file.
|
double |
getPosVelBase()
Get the base for position/velocity accuracy.
|
List<String> |
getSatIds()
Get the satellite identifiers.
|
double |
getSecondsOfWeek()
Returns the seconds of the GPS week as contained in the SP3 file.
|
TimeSystem |
getTimeSystem()
Returns the
TimeSystem used to time-stamp position entries. |
SP3FileType |
getType()
Returns the
SP3FileType associated with this SP3 file. |
char |
getVersion()
Get the file version.
|
void |
setAccuracy(int index,
double accuracy)
Set the accuracy.
|
void |
setAgency(String agencyStr)
Set the agency string for this SP3 file.
|
void |
setClockBase(double clockBase)
Set the base for clock/clock-rate accuracy.
|
void |
setCoordinateSystem(String system)
Set the coordinate system used for the orbit entries.
|
void |
setDataUsed(List<DataUsed> dataUsed)
Set the data used indicator for this SP3 file.
|
void |
setDayFraction(double fraction)
Set the day fraction for this SP3 file.
|
void |
setEpoch(AbsoluteDate time)
Set the epoch of the SP3 file.
|
void |
setEpochInterval(double interval)
Set the epoch interval for this SP3 file.
|
void |
setFilter(CartesianDerivativesFilter filter)
Set the derivatives filter.
|
void |
setGpsWeek(int week)
Set the GPS week of the SP3 file.
|
void |
setModifiedJulianDay(int day)
Set the modified julian day for this SP3 file.
|
void |
setNumberOfEpochs(int epochCount)
Set the number of epochs as contained in the SP3 file.
|
void |
setOrbitTypeKey(String oTypeKey)
Set the orbit type key for this SP3 file.
|
void |
setPosVelBase(double posVelBase)
Set the base for position/velocity accuracy.
|
void |
setSecondsOfWeek(double seconds)
Set the seconds of the GPS week for this SP3 file.
|
void |
setTimeSystem(TimeSystem system)
Set the time system used in this SP3 file.
|
void |
setType(SP3FileType fileType)
Set the file type for this SP3 file.
|
void |
setVersion(char version)
Set the file version.
|
public static final String SP3_FRAME_CENTER_STRING
public void setVersion(char version)
version
- file versionpublic char getVersion()
public void setFilter(CartesianDerivativesFilter filter)
filter
- that indicates which derivatives of position are available.public CartesianDerivativesFilter getFilter()
public SP3FileType getType()
SP3FileType
associated with this SP3 file.public void setType(SP3FileType fileType)
fileType
- the file type to be setpublic TimeSystem getTimeSystem()
TimeSystem
used to time-stamp position entries.TimeSystem
of the orbit filepublic void setTimeSystem(TimeSystem system)
system
- the time system to be setpublic List<DataUsed> getDataUsed()
public void setDataUsed(List<DataUsed> dataUsed)
dataUsed
- the data used indicator to be setpublic AbsoluteDate getEpoch()
public void setEpoch(AbsoluteDate time)
time
- the epoch to be setpublic int getGpsWeek()
public void setGpsWeek(int week)
week
- the GPS week to be setpublic double getSecondsOfWeek()
public void setSecondsOfWeek(double seconds)
seconds
- the seconds to be setpublic int getModifiedJulianDay()
public void setModifiedJulianDay(int day)
day
- the modified julian day to be setpublic double getDayFraction()
public void setDayFraction(double fraction)
fraction
- the day fraction to be setpublic double getEpochInterval()
public void setEpochInterval(double interval)
interval
- the interval between orbit entriespublic int getNumberOfEpochs()
public void setNumberOfEpochs(int epochCount)
epochCount
- the number of epochs to be setpublic String getCoordinateSystem()
public void setCoordinateSystem(String system)
system
- the coordinate system to be setpublic SP3OrbitType getOrbitType()
SP3OrbitType
for this SP3 file.public String getOrbitTypeKey()
public void setOrbitTypeKey(String oTypeKey)
oTypeKey
- the orbit type key to be setpublic String getAgency()
public void setAgency(String agencyStr)
agencyStr
- the agency string to be setpublic void setPosVelBase(double posVelBase)
posVelBase
- base for position/velocity accuracypublic double getPosVelBase()
public void setClockBase(double clockBase)
clockBase
- base for clock/clock-rate accuracypublic double getClockBase()
public void addSatId(String satId)
satId
- satellite identifierpublic List<String> getSatIds()
public void setAccuracy(int index, double accuracy)
index
- satellite index in getSatIds()
accuracy
- in mpublic double getAccuracy(String satId)
The accuracy is limited by the SP3 standard to be a power of 2 in mm. The value returned here is in meters.
satId
- satellite identifierpublic List<String> getComments()
public void addComment(String comment)
comment
- comment to addCopyright © 2002-2023 CS GROUP. All rights reserved.