Package org.orekit.gnss
Class SatInSystem
java.lang.Object
org.orekit.gnss.SatInSystem
Container for satellite system and PRN.
- Since:
- 12.0
- Author:
- Luc Maisonobe
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intValue representing all PRNs in the system. -
Constructor Summary
ConstructorsConstructorDescriptionSatInSystem(String rinexCode) Simple constructor.SatInSystem(SatelliteSystem system, int prn) Simple constructor. -
Method Summary
-
Field Details
-
ANY_PRN
public static final int ANY_PRNValue representing all PRNs in the system.- See Also:
-
-
Constructor Details
-
SatInSystem
Simple constructor.- Parameters:
system- satellite systemprn- Pseudo Random Number orANY_PRNto represent any satellite in the system
-
SatInSystem
Simple constructor.The RINEX 3 characters code starts with a letter representing the
satellite system keyfollowed by a 2 digits integer which represents either- the Pseudo Random Number in the general case
- the Pseudo Random Number minus 100 for
SatelliteSystem.SBAS - the Pseudo Random Number minus 192 for
SatelliteSystem.QZSS
if only the letter is present, then prn is set to
ANY_PRN- Parameters:
rinexCode- RINEX 3 characters code- Since:
- 13.0
-
-
Method Details
-
getSystem
Get the system this satellite belongs to.- Returns:
- system this satellite belongs to
-
getPRN
public int getPRN()Get the Pseudo Random Number of the satellite.- Returns:
- Pseudo Random Number of the satellite, or
ANY_PRNto represent any PRN in the system
-
getTwoDigitsRinexPRN
public int getTwoDigitsRinexPRN()Get a 2-digits Pseudo Random Number for RINEX files.- Returns:
- 2-digits Pseudo Random Number for RINEX files
-
toString
-
equals
-
hashCode
public int hashCode()
-