The ubxreader.py is the code necessary to use a fp9 or other ubx compatabile gnss as a TEC (total electron content) measurement device. The project skeleton is an example projectt from pyubx2, which is heaivlly used.
##Setup
collect all of the necessary imports, and use the u-center 2 software to enable RXM-RAWX messaging over USB
Set the COM port or symlink to the port you are communicating with the device to.