How to read and plot Rinex messages?

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 comentario

Walter Roberson
Walter Roberson el 3 de Abr. de 2019
Youcef Ziat asks the same question, but for MATLAB 2015 specifically.

Iniciar sesión para comentar.

 Respuesta aceptada

Ryan Salvo
Ryan Salvo el 19 de Jun. de 2024
Editada: Remo Pillat el 19 de Jun. de 2024

0 votos

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.

Más respuestas (2)

Peter Spanik
Peter Spanik el 15 de Dic. de 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 comentarios

Samuel Olufemi Taiwo
Samuel Olufemi Taiwo el 10 de Mayo de 2021
red_rinex_obs.m is showing some errors
  1. Error using vertcat Dimensions of arrays being concatenated are not consistent.
  2. Error in read_rinex_obs (line 51) current_time = [ str2num(current_line(2:3)) ; str2num(current_line(5:6)) ; ...
Peter Spanik
Peter Spanik el 11 de Mayo de 2021
Hello Samuel, thanks for your feedback. Are you getting this error while running example script from repository or you are trying to load other RINEX file? If you provide your file I can try to debug this.
Mohamed Fathi
Mohamed Fathi el 6 de Sept. de 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 el 8 de Sept. de 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.

Iniciar sesión para comentar.

Yuebin Zhou
Yuebin Zhou el 25 de Mayo de 2017

0 votos

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

Categorías

Preguntada:

el 22 de Mayo de 2017

Editada:

el 19 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by