Package org.orekit.files.sinex
Class Station
- java.lang.Object
-
- org.orekit.files.sinex.Station
-
public class Station extends Object
Station model.Since Orekit 11.1, this class handles multiple site antenna eccentricity. The
getEccentricities(AbsoluteDate)
method can be used to access the site antenna eccentricity values for a given epoch.- Since:
- 10.3
- Author:
- Bryan Cazabonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Station.ReferenceSystem
Eccentricity reference system.
-
Constructor Summary
Constructors Constructor Description Station()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAntennaTypeValidAfter(String entry, AbsoluteDate earliestValidityDate)
Add a antenna type entry valid after a limit date.
UsingaddAntennaTypeValidAfter(entry, t)
will makeentry
valid in [t, +∞[ (note the closed bracket).void
addAntennaTypeValidBefore(String entry, AbsoluteDate latestValidityDate)
Add a antenna type entry valid before a limit date.
UsingaddAntennaTypeValidBefore(entry, t)
will makeentry
valid in ]-∞, t[ (note the open bracket).void
addStationEccentricitiesValidAfter(Vector3D entry, AbsoluteDate earliestValidityDate)
Add a station eccentricity vector entry valid after a limit date.
UsingaddStationEccentricitiesValidAfter(entry, t)
will makeentry
valid in [t, +∞[ (note the closed bracket).void
addStationEccentricitiesValidBefore(Vector3D entry, AbsoluteDate latestValidityDate)
Add a station eccentricity vector entry valid before a limit date.
UsingaddStationEccentricitiesValidBefore(entry, t)
will makeentry
valid in ]-∞, t[ (note the open bracket).String
getAntennaType(AbsoluteDate date)
Get the antenna type for the given epoch.TimeSpanMap<String>
getAntennaTypeTimeSpanMap()
Get the TimeSpanMap of site antenna type.String
getDomes()
Get the site DOMES number.Vector3D
getEccentricities(AbsoluteDate date)
Get the station antenna eccentricities for the given epoch.TimeSpanMap<Vector3D>
getEccentricitiesTimeSpanMap()
Get the TimeSpanMap of site antenna eccentricities.Station.ReferenceSystem
getEccRefSystem()
Get the reference system used to define the eccentricity vector (local or cartesian).AbsoluteDate
getEpoch()
Get the coordinates reference epoch.Vector3D
getPosition()
Get the station position.String
getSiteCode()
Get the site code (station identifier).AbsoluteDate
getValidFrom()
Get start of validity.AbsoluteDate
getValidUntil()
Get end of validity.Vector3D
getVelocity()
Get the station velocity.void
setDomes(String domes)
Set the DOMES number.void
setEccRefSystem(Station.ReferenceSystem eccRefSystem)
Set the reference system used to define the eccentricity vector (local or cartesian).void
setEpoch(AbsoluteDate epoch)
Set the coordinates reference epoch.void
setPosition(Vector3D position)
Set the station position.void
setSiteCode(String siteCode)
Set the site code (station identifier).void
setValidFrom(AbsoluteDate validFrom)
Set the start of validity.void
setValidUntil(AbsoluteDate validUntil)
Set the end of validity.void
setVelocity(Vector3D velocity)
Set the station velocity.
-
-
-
Method Detail
-
getSiteCode
public String getSiteCode()
Get the site code (station identifier).- Returns:
- the site code
-
setSiteCode
public void setSiteCode(String siteCode)
Set the site code (station identifier).- Parameters:
siteCode
- the site code to set
-
getDomes
public String getDomes()
Get the site DOMES number.- Returns:
- the DOMES number
-
setDomes
public void setDomes(String domes)
Set the DOMES number.- Parameters:
domes
- the DOMES number to set
-
getValidFrom
public AbsoluteDate getValidFrom()
Get start of validity.- Returns:
- start of validity
-
setValidFrom
public void setValidFrom(AbsoluteDate validFrom)
Set the start of validity.- Parameters:
validFrom
- the start of validity to set
-
getValidUntil
public AbsoluteDate getValidUntil()
Get end of validity.- Returns:
- end of validity
-
setValidUntil
public void setValidUntil(AbsoluteDate validUntil)
Set the end of validity.- Parameters:
validUntil
- the end of validity to set
-
getEccRefSystem
public Station.ReferenceSystem getEccRefSystem()
Get the reference system used to define the eccentricity vector (local or cartesian).- Returns:
- the reference system used to define the eccentricity vector
-
setEccRefSystem
public void setEccRefSystem(Station.ReferenceSystem eccRefSystem)
Set the reference system used to define the eccentricity vector (local or cartesian).- Parameters:
eccRefSystem
- the reference system used to define the eccentricity vector
-
getEccentricities
public Vector3D getEccentricities(AbsoluteDate date)
Get the station antenna eccentricities for the given epoch.Vector convention: X-Y-Z or UP-NORTH-EAST. See
getEccRefSystem()
method.If there is no eccentricity values for the given epoch, an exception is thrown.
- Parameters:
date
- epoch- Returns:
- station antenna eccentricities (m)
- Since:
- 11.1
-
getEccentricitiesTimeSpanMap
public TimeSpanMap<Vector3D> getEccentricitiesTimeSpanMap()
Get the TimeSpanMap of site antenna eccentricities.- Returns:
- the TimeSpanMap of site antenna eccentricities
- Since:
- 11.1
-
addStationEccentricitiesValidBefore
public void addStationEccentricitiesValidBefore(Vector3D entry, AbsoluteDate latestValidityDate)
Add a station eccentricity vector entry valid before a limit date.
UsingaddStationEccentricitiesValidBefore(entry, t)
will makeentry
valid in ]-∞, t[ (note the open bracket).- Parameters:
entry
- station eccentricity vector entrylatestValidityDate
- date before which the entry is valid (must be different from all dates already used for transitions)- Since:
- 11.1
-
addStationEccentricitiesValidAfter
public void addStationEccentricitiesValidAfter(Vector3D entry, AbsoluteDate earliestValidityDate)
Add a station eccentricity vector entry valid after a limit date.
UsingaddStationEccentricitiesValidAfter(entry, t)
will makeentry
valid in [t, +∞[ (note the closed bracket).- Parameters:
entry
- station eccentricity vector entryearliestValidityDate
- date after which the entry is valid (must be different from all dates already used for transitions)- Since:
- 11.1
-
getAntennaType
public String getAntennaType(AbsoluteDate date)
Get the antenna type for the given epoch. If there is no antenna types for the given epoch, an exception is thrown.- Parameters:
date
- epoch- Returns:
- antenna type
- Since:
- 12.0
-
getAntennaTypeTimeSpanMap
public TimeSpanMap<String> getAntennaTypeTimeSpanMap()
Get the TimeSpanMap of site antenna type.- Returns:
- the TimeSpanMap of site antenna type
- Since:
- 12.0
-
addAntennaTypeValidBefore
public void addAntennaTypeValidBefore(String entry, AbsoluteDate latestValidityDate)
Add a antenna type entry valid before a limit date.
UsingaddAntennaTypeValidBefore(entry, t)
will makeentry
valid in ]-∞, t[ (note the open bracket).- Parameters:
entry
- antenna type entrylatestValidityDate
- date before which the entry is valid (must be different from all dates already used for transitions)- Since:
- 12.0
-
addAntennaTypeValidAfter
public void addAntennaTypeValidAfter(String entry, AbsoluteDate earliestValidityDate)
Add a antenna type entry valid after a limit date.
UsingaddAntennaTypeValidAfter(entry, t)
will makeentry
valid in [t, +∞[ (note the closed bracket).- Parameters:
entry
- antenna type entryearliestValidityDate
- date after which the entry is valid (must be different from all dates already used for transitions)- Since:
- 12.0
-
getPosition
public Vector3D getPosition()
Get the station position.- Returns:
- the station position (m)
-
setPosition
public void setPosition(Vector3D position)
Set the station position.- Parameters:
position
- the position to set
-
getVelocity
public Vector3D getVelocity()
Get the station velocity.- Returns:
- the station velocity (m/s)
-
setVelocity
public void setVelocity(Vector3D velocity)
Set the station velocity.- Parameters:
velocity
- the velocity to set
-
getEpoch
public AbsoluteDate getEpoch()
Get the coordinates reference epoch.- Returns:
- the coordinates reference epoch
-
setEpoch
public void setEpoch(AbsoluteDate epoch)
Set the coordinates reference epoch.- Parameters:
epoch
- the epoch to set
-
-