Package org.orekit.gnss
Class SatInSystem
- java.lang.Object
-
- org.orekit.gnss.SatInSystem
-
public class SatInSystem extends Object
Container for satellite system and PRN.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Field Summary
Fields Modifier and Type Field Description static intANY_PRNValue representing all PRNs in the system.
-
Constructor Summary
Constructors Constructor Description SatInSystem(String rinexCode)Simple constructor.SatInSystem(SatelliteSystem system, int prn)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)intgetPRN()Get the Pseudo Random Number of the satellite.SatelliteSystemgetSystem()Get the system this satellite belongs to.intgetTwoDigitsRinexPRN()Get a 2-digits Pseudo Random Number for RINEX files.inthashCode()StringtoString()
-
-
-
Field Detail
-
ANY_PRN
public static final int ANY_PRN
Value representing all PRNs in the system.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SatInSystem
public SatInSystem(SatelliteSystem system, int prn)
Simple constructor.- Parameters:
system- satellite systemprn- Pseudo Random Number orANY_PRNto represent any satellite in the system
-
SatInSystem
public SatInSystem(String rinexCode)
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 Detail
-
getSystem
public SatelliteSystem 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
-
-