How to read and plot Rinex messages?

31 views (last 30 days)
How to read and plot rinex messages like longitude, latitude, time, no.of SV(number of satellites) and GDOP from a raw file (obs/nav or ubx file) recorded/saved on my pc using matlab?
  1 Comment
Walter Roberson
Walter Roberson on 3 Apr 2019
Youcef Ziat asks the same question, but for MATLAB 2015 specifically.

Sign in to comment.

Accepted Answer

Ryan Salvo
Ryan Salvo on 19 Jun 2024
Edited: Remo Pillat on 19 Jun 2024
Starting in R2022a, the rinexread function supports reading RINEX V3 OBS and NAV files.
This Analyze GNSS Satellite Visibility example shows how to visualize the contents of a NAV file.

More Answers (2)

Peter Spanik
Peter Spanik on 15 Dec 2020
Hello Berhane,
I created functions and classes to read observation and navigation RINEX files (see here https://github.com/spanikp/GNSS-toolbox). Also loading and processing of other GNSS-related files, like SP3 files or ANTEX, is supported. For example you can load RINEX to Matlab OBSRNX object as following:
addpath(genpath('path_to_GNSS-toolbox/src')); % Add path to toolbox functionality
obs = OBSRNX('your_rinex_filepath');
When the OBSRNX object is created in Matlab you can querry observations and perform slicing as you want. Toolbox support also downloading some useful navigation data like broadcast and precise ephemeris. You can also compute satellite positions and then visualize satellite paths (there is class Skyplot which can be used for that).
Any comments, issue reports and pull requests are welcome!
  4 Comments
Mohamed Fathi
Mohamed Fathi on 6 Sep 2021
read rinex showing that error
Error defining property 'satpos' of class 'OBSRNX':
Class named 'SATPOS' is undefined or does not support property validation
Peter Spanik
Peter Spanik on 8 Sep 2021
Hi @Mohamed Fathi could you please create an issue at https://github.com/spanikp/GNSS-toolbox/issues? If you could provide also file which you want to load that would be great.

Sign in to comment.


Yuebin Zhou
Yuebin Zhou on 25 May 2017
Reading Rinex is not a supported functionality that ships with MATLAB, but there may be 3rd party tools that enable you to do it, like the one below:
https://github.com/manromao/RINEX-reader

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!