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
addAntennaKeyValidBefore(AntennaKey entry, AbsoluteDate latestValidityDate)
Add a antenna key entry valid before a limit date.
UsingaddAntennaKeyValidBefore(entry, t)
will makeentry
valid in ]-∞, t[ (note the open bracket).void
addPsdCorrectionValidAfter(PsdCorrection entry, AbsoluteDate earliestValidityDate)
Add a Post-Seismic Deformation entry valid after a limit date.
UsingaddPsdCorrectionValidAfter(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).AntennaKey
getAntennaKey(AbsoluteDate date)
Get the antenna key for the given epoch.TimeSpanMap<AntennaKey>
getAntennaKeyTimeSpanMap()
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.Map<GnssSignal,Vector3D>
getPhaseCenters(AbsoluteDate date)
Get the phase centers for the given epoch.TimeSpanMap<Map<GnssSignal,Vector3D>>
getPhaseCentersMap()
Get the TimeSpanMap of phase centers.Vector3D
getPosition()
Get the station position.TimeSpanMap<List<PsdCorrection>>
getPsdTimeSpanMap()
Get the TimeSpanMap of Post-Seismic Deformation.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
-
getPsdTimeSpanMap
public TimeSpanMap<List<PsdCorrection>> getPsdTimeSpanMap()
Get the TimeSpanMap of Post-Seismic Deformation.- Returns:
- the TimeSpanMap of Post-Seismic Deformation
- Since:
- 12.1
-
addPsdCorrectionValidAfter
public void addPsdCorrectionValidAfter(PsdCorrection entry, AbsoluteDate earliestValidityDate)
Add a Post-Seismic Deformation entry valid after a limit date.
UsingaddPsdCorrectionValidAfter(entry, t)
will makeentry
valid in [t, +∞[ (note the closed bracket).- Parameters:
entry
- Post-Seismic Deformation entryearliestValidityDate
- date after which the entry is valid (must be different from all dates already used for transitions)- Since:
- 12.1
-
getAntennaKey
public AntennaKey getAntennaKey(AbsoluteDate date)
Get the antenna key for the given epoch. If there is no antenna keys for the given epoch, an exception is thrown.- Parameters:
date
- epoch- Returns:
- antenna key
- Since:
- 13.0
-
getAntennaKeyTimeSpanMap
public TimeSpanMap<AntennaKey> getAntennaKeyTimeSpanMap()
Get the TimeSpanMap of site antenna type.- Returns:
- the TimeSpanMap of site antenna type
- Since:
- 12.0
-
addAntennaKeyValidBefore
public void addAntennaKeyValidBefore(AntennaKey entry, AbsoluteDate latestValidityDate)
Add a antenna key entry valid before a limit date.
UsingaddAntennaKeyValidBefore(entry, t)
will makeentry
valid in ]-∞, t[ (note the open bracket).- Parameters:
entry
- antenna key entrylatestValidityDate
- date before which the entry is valid (must be different from all dates already used for transitions)- Since:
- 12.0
-
getPhaseCentersMap
public TimeSpanMap<Map<GnssSignal,Vector3D>> getPhaseCentersMap()
Get the TimeSpanMap of phase centers.- Returns:
- the TimeSpanMap of phase centers
- Since:
- 13.0
-
getPhaseCenters
public Map<GnssSignal,Vector3D> getPhaseCenters(AbsoluteDate date)
Get the phase centers for the given epoch. If there is no phase centers for the given epoch, an exception is thrown.- Parameters:
date
- epoch- Returns:
- phase centers
- Since:
- 13.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
-
-