How to read and plot Rinex messages?
Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 3 Avr 2019
Youcef Ziat asks the same question, but for MATLAB 2015 specifically.
Réponse acceptée
Plus de réponses (2)
Peter Spanik
le 15 Déc 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 commentaires
Samuel Olufemi Taiwo
le 10 Mai 2021
red_rinex_obs.m is showing some errors
- Error using vertcat Dimensions of arrays being concatenated are not consistent.
- Error in read_rinex_obs (line 51) current_time = [ str2num(current_line(2:3)) ; str2num(current_line(5:6)) ; ...
Peter Spanik
le 11 Mai 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
le 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
le 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.
Yuebin Zhou
le 25 Mai 2017
0 votes
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
Catégories
En savoir plus sur Reference Applications dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!