rinexinfo
Description
Examples
Query Navigation And Observation Messages From RINEX File
GPS Navigation Message Info
filename = "GODS00USA_R_20211750000_01D_GN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'G'
FileType: 'N'
Comments: [3x1 string]
LeapSecondParameters: [1x1 struct]
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 25-Jun-2021 00:06:25
FileName: "GODS00USA_R_20211750000_01D_GN.rnx"
FileSize: 109092
Galileo Navigation Message Info
filename = "GODS00USA_R_20211750000_01D_EN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'E'
FileType: 'N'
Comments: [3x1 string]
IonosphericCorrections: [1x1 struct]
LeapSecondParameters: [1x1 struct]
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 25-Jun-2021 00:06:25
FileName: "GODS00USA_R_20211750000_01D_EN.rnx"
FileSize: 1063207
GLONASS Navigation Message Info
filename = "GODS00USA_R_20211750000_01D_RN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'R'
FileType: 'N'
Comments: [3x1 string]
LeapSecondParameters: [1x1 struct]
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 25-Jun-2021 00:06:25
FileName: "GODS00USA_R_20211750000_01D_RN.rnx"
FileSize: 141452
BeiDou Navigation Message Info
filename = "GODS00USA_R_20211750000_01D_CN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'C'
FileType: 'N'
Comments: [3x1 string]
LeapSecondParameters: [1x1 struct]
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 25-Jun-2021 00:06:26
TimeSystemCorrections: [1x1 struct]
FileName: "GODS00USA_R_20211750000_01D_CN.rnx"
FileSize: 155431
NavIC/IRNSS Navigation Message Info
filename = "ARHT00ATA_R_20211750000_01D_IN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'I'
FileType: 'N'
Comments: [3x1 string]
LeapSecondParameters: [1x1 struct]
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 25-Jun-2021 00:03:18
FileName: "ARHT00ATA_R_20211750000_01D_IN.rnx"
FileSize: 74322
QZSS Navigation Message Info
filename = "ARHT00ATA_R_20211750000_01D_JN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'J'
FileType: 'N'
Comments: [3x1 string]
LeapSecondParameters: [1x1 struct]
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 25-Jun-2021 00:03:18
FileName: "ARHT00ATA_R_20211750000_01D_JN.rnx"
FileSize: 22970
SBAS Navigation Message Info
filename = "GOP600CZE_R_20211750000_01D_SN.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'S'
FileType: 'N'
Comments: "SBAS NAVIGATION DATA FROM STATION GOP6 (RIGTC, GO PECNY) "
PGM: "sbf2rin-13.4.5"
RunBy: "RIGTC, GO PECNY"
CreationDate: 25-Jun-2021 00:26:37
FileName: "GOP600CZE_R_20211750000_01D_SN.rnx"
FileSize: 1083132
Mixed Observation Info
filename = "GODS00USA_R_20211750000_01H_30S_MO.rnx";
info = rinexinfo(filename)
info = struct with fields:
FileVersion: 3.0400
FileSatelliteSystem: 'M'
FileType: 'O'
ObservationTypes: [4x1 struct]
NumSatellites: 44
AntennaNumber: "02083"
AntennaType: "JAVRINGANT_DM SCIS"
AntennaDeltaHEN: [0.0083 0 0]
ApproxPosition: [1.1308e+06 -4.8313e+06 3.9941e+06]
GLONASSFrequencyNumbers: [1x1 struct]
Interval: 30
LeapSecondParameters: [1x1 struct]
MarkerName: "GODS"
MarkerNumber: "40451M128"
Observer: "GGN"
Agency: "NASA GODDARD SPACE FLIGHT CENTER"
PGM: "JPS2RIN v.2.0.191"
RunBy: "JAVAD GNSS"
CreationDate: 24-Jun-2021 01:05:22
TotalObservations: [44x1 struct]
ReceiverNumber: "02704"
ReceiverType: "JAVAD TRE_3 DELTA"
ReceiverVersion: "4.0.02"
PhaseShift: [22x1 struct]
FirstObsTime: 23-Jun-2021 23:59:42
LastObsTime: 24-Jun-2021 00:59:12
FileName: "GODS00USA_R_20211750000_01H_30S_MO.rnx"
FileSize: 1240462
Input Arguments
filename
— Name of RINEX version 3 file
string scalar | character vector
Name of the RINEX version 3 file to read data from, specified as a string scalar or character vector.
Example: "GODS00USA_R_20211750000_01D_GN.rnx"
Data Types: string
| char
Output Arguments
fileinfo
— RINEX file contents
structure
RINEX file contents, returned as a structure. The structure has different fields depending on the type of RINEX file and the header entries in the file.
Navigation Message Files
— Navigation Message Files
structure
If the specified RINEX file is a navigation message file, the
fileinfo
output is a structure with these fields:
Field | Type | Description |
---|---|---|
FileName | string | Name of file |
FileSize | double | File size in bytes |
SatelliteSystem | string | "GPS" , "Galileo" ,
"GLONASS" , "BeiDou" ,
"NavIC" , "QZSS" ,
"SBAS" , or "Mixed" |
Version | double | Format Version |
FileType | char | File type, specified as either 'N' for navigation
message files and 'O' for observation data
files. |
PGM | string | Name of the program that created the file |
RunBy | string | Name of the agency that created the file |
CreationDate | string | Date and time of file creation |
Comments (Optional) | string | Comment lines from file header |
IonosphericCorrections (Optional) | structure array | An array of structures with a number of elements equal to the
number of
Correction type:
Parameters:
|
TimeSystemCorrections | structure | An array of structures with a number of elements equal to the
number of Correction type:
Parameters:
|
LeapSecondParameters (Optional) | structure | Leap second parameters in a structure with fields
|
Note that optional fields are not present in the structure unless specified in the RINEX file.
Data Types: struct
Observation Data Files
— Observation Data Files
structure
If the specified RINEX file is an observation data file, the output is a structure with these fields:
Field | Type | Entry |
---|---|---|
FileName | string | Name of file |
FileSize | double | File size in bytes |
SatelliteSystem | string | "GPS" , "Galileo" ,
"GLONASS" , "BeiDou" ,
"NavIC" , "QZSS" ,
"SBAS" , or "Mixed" |
Version | double | Format Version |
FileType | char | File type, specified as either 'N' for navigation
message files and 'O' for observation data
files. |
PGM | string | Name of the program that created the file |
RunBy | string | Name of the agency that created the file |
CreationDate | string | Date and time of file creation |
Comments (Optional) | string | Comment lines from file header |
MarkerName | string | Name of antenna marker |
MarkerNumber (Optional) | string | Number of antenna marker |
MarkerType (Optional for
GEODETIC and NON_GEODETIC marker
types) | string | Type of marker |
Observer | string | Name of observer |
Agency | string | Name of agency |
ReceiverNumber | string | Receiver number |
ReceiverType | string | Receiver type |
ReceiverVersion | string | Receiver version |
AntennaNumber | string | Antenna number |
AntennaType | string | Antenna type |
ApproxPosition | double | Approximate marker position in meters. |
AntennaDeltaHEN | double | Height of the antenna reference point (ARP) above marker, and horizontal eccentricity of ARP relative to marker (East/North) in meters. |
AntennaDeltaXYZ | double | Position of antenna reference point for antenna on vehicle in meters. |
AntennaPhaseCenter (Optional) | structure array | A structure array with number of elements equal to the number
of
|
AntennaBSightXYZ | double | Direction of the vertical antenna axis toward the GNSS satellites. If the antenna is on a vehicle, the direction is a unit vector in a body-fixed coordinate system. If the antenna is a tilted antenna on fixed station, the direction is a unit vector in East-North-Up (ENU) left-handed system. |
AntennaZeroDirXYZ (Optional) | double | Zero direction of the antenna. If the antenna is on a vehicle, the zero direction is unit vector is in a body-fixed coordinate system. If the tilted antenna is on a fixed station, the zero direction is a unit vector in East-North-Up (ENU) left-handed system. |
CenterOfMassXYZ | double | Current center of mass of the vehicle in a body-fixed coordinate system, in meters. |
ObservationTypes | structure array | A structure array with number of elements equal to the number
of satellite systems in the file. Each structure has
|
SignalStrengthUnit (Optional) | string | Unit of the carrier to noise ratio observables SNN (if present) DBHZ: S/N given in dbHz. |
Interval (Optional) | double | Observation interval in seconds. |
FirstObsTime (Optional, unless RINEX file is a
mixed GNSS file) | datetime | Time of first observation record. Time systems are:
|
HasReceiverClockOffset (Optional, unless, the
epoch lines of the data section reports clock offsets) | logical | Epoch, code, and phase are corrected by applying the real-time-derived receiver clock offset. |
DCBS (Optional) | structure array | An array with number of elements equal to number of satellite
systems in the file. Each structure has
|
PCVS (Optional) | structure array | An array with number of elements equal to number of satellite
systems in the file. Each structure has
|
ScaleFactor | structure array | An array with number of elements equal to number of
|
PhaseShift (Optional) | structure array | An array with number of elements equal to number of
|
GLONASSFrequencyNumbers (Optional unless using
files with GLONASS satellites) | structure | A structure with fields
|
GLONASSCodePhaseBias | structure | A structure with fields
|
LeapSecondParameters (Optional) | structure | Leap second parameters in a structure with fields
|
NumSatellites (Optional) | double | Number of satellites, for which observations are stored in the file. |
TotalObservations (Optional) | structure array | An array of structure with the number of elements equal to the number
of PRN / # OF OBS header lines in the file. Each
structure has a SatelliteID and
NumObservations field. |
Note that optional fields are not present in the structure unless specified in the RINEX file.
Data Types: struct
Data Types: struct
More About
Observation Type Descriptors
Observation type descriptors is a string comprised of three parts. The first part is the observation type, the second is the frequency band, and the third is the attribute which indicates the tracking mode or channel.
The observation type can be one of five types.
Type
C — Code or pseudorange, is the distance, in meters, between the receiver antenna and the satellite antenna including delays and other biases.
L — Phase is the carrier phase range from the antenna to the satellite, measured in whole cycles.
D — Doppler shift indicating the approach of satellites, where a positive value indicates an approaching satellite.
S — Raw signal strength (carrier to noise ratio) as an integer in the range [1, 9].
X — Receiver channel numbers.
You can identify the frequency band code number given a frequency band and a satellite system.
Frequency Band vs Satellite System
Frequency Band Code Number | GPS | QZSS | SBAS | BDS | GLO | GAL | NavIC/IRNSS |
---|---|---|---|---|---|---|---|
1 | L1 | L1 | L1 | L1 | G1 | E1 | — |
2 | L2 | L2 | — | B1 | G2 | — | — |
3 | — | — | — | — | G3 | — | — |
4 | — | — | — | — | G1a | — | — |
5 | L5 | L5 | L5 | B2a | — | E5a | L5 |
6 | — | L6 | — | B3 or B3A | G2a | E6 | — |
7 | — | — | — | B2 or B2b | — | E5b | — |
8 | — | — | — | B2a and B2b | — | E5a and E5b | — |
9 | — | — | — | — | — | — | S |
You can identify the attribute letter given a channel or code and a satellite system.
Attribute vs Satellite System
Attribute Letter | GPS | QZSS | SBAS | BDS | GLO | GAL | NavIC/IRNSS |
---|---|---|---|---|---|---|---|
A | — | — | — | — | A channel | A channel | A channel |
B | — | — | — | — | A channel | A channel | A channel |
C | C code-based | C code-based | C code-based | — | C code-based | C channel | C channel |
D | Semi-codeless | Semi-codeless | — | Data channel | — | — | — |
E | — | E channel | — | — | — | — | — |
I | I channel | I channel | — | I channel | — | I channel | — |
L | L channel (L2C GPS) P channel | L channel P channel | — | — | — | — | — |
M | M-based code | — | — | — | — | — | — |
N | Codeless | — | — | — | — | — | — |
P | P code-based | — | — | Pilot channel | P code-based | — | — |
Q | Q channel | Q channel | — | Q channel | — | Q channel | — |
S | D channel M channel (L2C GPS) | D channel M channel | — | — | — | — | — |
W | Based on Z-tracking | — | — | — | — | — | — |
X | I and Q channels M and L channels D and P channels | I and Q channels M and L channels D and P channels | — | I and Q channels D and P channels | — | B and C channels I and Q channels | B and C channels |
Y | Y code-based | — | — | — | — | — | — |
Z | — | I and Q channels D and E channels | — | D and P channels | — | A, B, and C channels | — |
These are examples of codes:
C1M — L1 pseudorange derived from the M channel for a GPS satellite.
L5X — E5a carrier phase derived from the B and C channels for a Galileo satellite.
S3I — G3 signal strength derived from the I channels for a GLONASS satellite.
References
[1] International GNSS Service (for Daily 30-Second GPS Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed June 25, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_n_001.
[2] International GNSS Service (for Daily 30-Second Galileo Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed June 25, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_l_001.
[3] International GNSS Service (for Daily 30-Second GLONASS Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed August 19, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_g_001.
[4] International GNSS Service (for Daily 30-Second BeiDou Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed August 19, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_f_001.
[5] International GNSS Service (for Daily 30-Second NavIC/IRNSS Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed August 19, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_i_001.
[6] International GNSS Service (for Daily 30-Second QZSS Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed August 19, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_q_001.
[7] International GNSS Service (for Daily 30-Second SBAS Broadcast Ephemeris Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed August 19, 2021). https://dx.doi.org/10.5067/GNSS/gnss_daily_h_001.
[8] International GNSS Service (for Hourly 30-Second Observation Data, NASA Crustal Dynamics Data Information System (CDDIS), Greenbelt, MD, USA, Jun. 24, 2021; accessed August 19, 2021). https://dx.doi.org/10.5067/GNSS/gnss_hourly_o_001.
[9] Romero, Ignacio, ed. RINEX The Receiver Independent Exchange Format Version 3.05. Darmstadt, Germany: IGS/RTCM ESA/ESOC/Navigation Support Office. December, 2020. Accessed on: Dec. 22, 2021. https://files.igs.org/pub/data/format/rinex305.pdf .
Version History
Introduced in R2022a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)