RINEX (Receiver Independent Exchange Format) is one of the most widely used formats for providing data of satellite navigation systems. The RINEX standard defines several file types, among which navigation files are used to distribute positional information of the satellites. The exact information provided in a RINEX navigation file varies for each satellite navigation system. This function reads RINEX navigation files for satellites of the GLONASS constellation, operated by Russia.
readGLONASSNavigationRINEX(filename)
Path to the GLONASS RINEX navigation file.
A list with two elements. The first element, named header
, is a list with
the following elements:
Version of the RINEX format used in the file
Type of RINEX file
Program used to generate the RINEX file
Individual or organization that generated the file
Date-time string indicating when the file was created
Reference year for system time correction
Reference month for system time correction
Reference day for system time correction
Correction to system time scale to fine-tune GLONASS time to UTC in seconds. Since GLONASS time is linked to UTC, it should be a very small amount
Leap seconds introduced since 1980. Useful to convert to GPS time
Miscellaneous comments found in the header of the RINEX file
The second element is named messages, and it contains one element for each navigation message found in the RINEX file. Each of these elements is a list with the following elements that provide information about the position of the GLONASS satellite:
Slot number of the satellite within the GLONASS constellation. It can be converted to a PRN code by adding 37 to it
Epoch year in 2-digit format. If lower than 80, the meaning should be taken as 20XX, while if larger than 80, it refers to 19XX.
Epoch month
Epoch day
Epoch hour
Epoch minute
Epoch second
Date-time string indicating the time corresponding to the reported position in the present message. The time corresponds to that of the satellite system, which is in GLONASS time and therefore can be considered as equivalent to UTC time for most purposes. For an even more accurate conversion to actual UTC time, the clock bias and clock drift (described in the next two elements), and possibly the system time correction provided in the header.
Clock bias (i.e., constant offset) that should be applied to the satellite time in order to obtain an even more accurate UTC time. In seconds
Clock drift of the satellite clock that should be applied in combination with the time difference to the reference time in order to obtain an even more accurate UTC time. In seconds per second
Second of the UTC day when the message was transmitted
X coordinate of the position of the satellite in km, in the GCRF system of coordinates
Y coordinate of the position of the satellite in km, in the GCRF system of coordinates
Z coordinate of the position of the satellite in km, in the GCRF system of coordinates
X component of the velocity of the satellite in km/s, in the GCRF system of coordinates
Y component of the velocity of the satellite in km/s, in the GCRF system of coordinates
Z component of the velocity of the satellite in km/s, in the GCRF system of coordinates
X component of the accel of the satellite in km/s, in the GCRF system of coordinates
Y component of the accel of the satellite in km/s, in the GCRF system of coordinates
Z component of the accel of the satellite in km/s, in the GCRF system of coordinates
Code indicating the health of the satellite. 0 if healthy
Frequency number (k) of the GLONASS satellite. The two frequencies in MHz, f1 and f2, used by the satellite to transmit data can be calculated as follows: f1 = 1602 + k*9/16 and f2 = 1246 + k*7/16
Age in days of the observation data used to generate the provided ephemeris
https://gage.upc.edu/gFD/ https://www.navcen.uscg.gov/pubs/gps/rinex/rinex.txt ftp://www.ngs.noaa.gov/cors/RINEX211.txt http://acc.igs.org/misc/rinex304.pdf
# NOT RUN {
# The file testGLONASSRINEX.txt provided with the package includes 5 navigation
# messages from 4 GLONASS satellites
testGLONASSnav <- readGLONASSNavigationRINEX(paste0(path.package("asteRisk"),
"/testGLONASSRINEX.txt"))
testGLONASSnav$header
testGLONASSnav$messages
# }
Run the code above in your browser using DataLab