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 int
ANY_PRN
Value 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 boolean
equals(Object object)
int
getPRN()
Get the Pseudo Random Number of the satellite.SatelliteSystem
getSystem()
Get the system this satellite belongs to.int
getTwoDigitsRinexPRN()
Get a 2-digits Pseudo Random Number for RINEX files.int
hashCode()
String
toString()
-
-
-
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_PRN
to 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 key
followed 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_PRN
to 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
-
-