/toRINEX

toRINEX Android APP to acquire GNSS data from receiver end generate RINEX files. It can be installed from Google Play

Primary LanguageJava

##Short description: toRINEX Android app generates files with GNSS observation and navigation data in RINEX format

##Full description: The application generates Receiver Independent Exchange (RINEX) format files from Global Navigation Satellite Systems (GNSS) raw data acquired from the smartphone GPS / GNSS own receiver.

To do it, the user is allowed to setup the parameters for raw data acquisition, to save observation and navigation raw data in files, to setup the metadata and parameters to generate RINEX files, and to perform the conversion from raw data to RINEX.

The application stores the raw data and RINEX files in the Documents public directory for their further exploitation.

Availability of observation and navigation data for the different systems, like GPS, GLONASS, GALILEO, BEIDOU, SBAS, etc, will depend on smartphone receiver capabilities. GPS satellites L1 pseudorange, doppler and signal strength observables are available from all smartphone receivers, but other observables and the navigation message data only from some receivers.

Each acquisition of GNSS raw data is performed with the receiver/phone placed in a fixed point. Observation data collected in a given point will be stored in an Observation Raw Data file. The set of files containing measurements from several related points are grouped in a survey. Navigation data collected during a survey are stored in a Navigation Raw Data file.

The user can select the number of epochs and the epoch interval for each data acquisition.

To allow user control on the acquisition process, the app shows the status of all satellites being tracked (satellite identification, signal quality, observables available) and the epoch time (GPS week and Time Of Week). Acquisition will start when the user click the Start Acquisition button, and finish when the preselected number of epochs have been received, or the acquisition aborted.

This app requires at least Android 7.1 (API level 25), which is the first providing GNSS raw data measurements. When acquisition has finished the user has to setup the metadata to be included in RINEX headers. Also the user can provide parameters that would affect filtering of data to be used to generate the files, like constellations, satellites and observables.

To generate RINEX files the user selects the the raw data files to be used and if the resulting file or files would contain data for one point or for several separated by"new site occupation" event records.

All files generated by the application are text files. A file manager and a text editor can be used to manage and display them.

##Release notes This toRINEX 3 version is full functional: data acquisition is not limited to few epocha, all RINEX metadata can be set, and it can generate navigation files for GPS, GLONASS and Galileo.

##Operation

To generate RINEX files from GNSS raw data acquired from the GPS/GNSS receiver perform the following steps:

  • Setup the parameters for data acquisition
  • Perform the acquisition, saving observation and navigation raw data in files.
  • Setup metadata for RINEX files and parameters to generate them.
  • Select the raw data files to be converted to RINEX.

The application stores the raw data and RINEX files in the public Documents directory.

For a correct functioning, the user has to give permissions to the application to access the Positioning service and the Documents directory.

This application has been developed using Android Studio 3.0.1 and tested in Nexus 5X with Android 7.1.2 and Xiaomi Mi 8 with Android.

###Information on setup for acquisition

Each acquisition of GNSS raw data is performed with the receiver/phone placed in a fixed point.

All data data collected in a given point will be stored in an Observation Raw Data file (ORD extension).

A Survey is a set of files containing measurements from several points. The survey name is used to create a directory where all related files will be placed.

The proposed survey names have the format SYearMonthDay_Hour_Minute being them in the current local time reference.

Observation raw data in each ORD file are grouped by epochs, each one containing the set of measurements taken by the receiver from all satellites in view. The user has to select the number of epochs to be collected for each point, and the epoch interval in seconds.

Some devices are able to provide data transmitted inside the satellites navigation messages. The user can select if such data would be acquired or not. If acquired, all navigation data taken during a survey would be stored in a unique Navigation Raw Data file (NRD extension).

###Information on performing acquisition

The upper half window shows the status of the satellites being tracked.

It can take some time this information to be available, depending on the status of the receiver (cold or warm start, aid data available, etc.) and the visibility of satellites.

The status presented includes data on epoch time (GPS week and Time of Week), and for each satellite its identification, tracking status, signal to noise ration, and observables available (in black) or not available (in red). Satellites and observables are named using RINEX rules.

Also it is given a message on availability of navigation messages data.

To start data acquisition in a given point, the user shall press the START ACQUISITION button. The progress bar will inform on the acquisition progress. If it is pressed STOP ACQUISITION the acquisition process for this point would be aborted and no ORD file would be created.

The name of the ORD files have the format P_minute_second.ORD, being minute and second of the local time at the acquisition start.

Information on the current survey and already acquired files is shown below the progress bar.

###Information on setup for RINEX generation

Before generating RINEX files it is necessary to provide metadata to be include in the RINEX header records. Meaning of data to be provided can be found in the Receiver Independent Exchange Format (RINEX) documents available from the International GNSS Service (IGS).

Also the user can provide parameters that would affect filtering of data to be used to generate files, like constellations, satellites and observables.

When generating RINEX files it is created a log file. The user can define the wanted level of logging to be used (from INFO to FINEST).

###Information on RINEX files generation

To generate RINEX files select first the the raw data to be used. To do that it is necessary to select the survey from the list of existing ones, and then the raw data files to be used. RINEX observation files can be generated when ORD files are selected. RINEX navigation files can be generated when the NRD file is selected.

Press ONE FILE FOR ALL button to generate a unique RINEX observation file for all ORD files selected. An event flag record of type 'new site occupation' will be inserted to separate epochs from the different ORD files.

Press ONE FOR EACH SELECTED button to generate a RINEX file for each ORD file selected.

The list of existing RINEX files in the survey is displayed below above buttons. They are located in the RINEX subdirectory inside the survey directory.

All files generated by this version of the application (ORD, NRD, log, RINEX observation) are text files, and you can use a file manager to access them and a text editor to display their contents.