PyRINEX Manuel
PyRINEX Manuel
PyRINEX and other Python libraries such as matplotlib in the use of the
method is not very different, import PyRINEX in IDE, and call the
functions.
Reader
Table 1 Functions in Reader module
Functions Parameter
oheader(opath) observation file path
observations(opath) observation file path
navigaions(opath) navigation file path
Functions that can read RINEX data are provided in the Reader module,
and they can read RINEX observation files and navigation files. They both
require the path to the RINEX data to be entered as an argument and return
a new json formatted data called LITE RINEX.
Figure 4 Output of the oheader function (If you wish to print that result in the IDE for
review, use a statement like print(json.loads("your0010.23o")).)
Figure 4 shows the output of the oheader function. This contains some of
the most important information in the header section in both categories, such as the
version of the RINEX file, information about the type of observation recorded, etc. The
second type of information is the marker name, receiver type, etc. The most important
feature of this type of information is that it can be edited according to the user's needs,
and it can be seen that this type of information is stored in a list, which is because the
number of rows where these information are located is not fixed, so the line number is
stored in the first item of the list for the purpose of modifying the information later on
in the original file.
DataManagement
QualityCheck
Functions Discription
plot (filename, title, gps serises, epochs, Plot function for azi_ele(path), ION_MP(opath) and
cycleslip(path)
dataset, type, column, y_label = NONE,
limit = “100”)
batchQC(rootpath, keywords_list, Performs a quality check on RINEX data under a path, the
The plot function is responsible for visualizing the results of the quality check. It is worth
noting, however, that if the user wishes to make changes to the function then the code for the
parameters should not be changed, as these parameters are not actually entered by the user.
The data we use as examples in this chapter can be found in the Github repository, and you
can get him whether you rely on gitclone or just download the zip.
The result of the run is shown in Figure 20, where the target RINEX data are written under
the corresponding new path, and the reporter is also generated in that path.
Figure 21 Example of reporter (The number "170" in marker is because CSV files can't
write numbers as strings, so "0170" is automatically changed to 170, but this is not the
case with RINEX data.)
As shown in Figure 21, the original and new paths of the RINEX data are recorded in the
reporter, and the information of the old and new RINEX data is compared in detail inside.