geospace-code / georinex

Python RINEX 2 / 3 NAV / OBS / sp3 reader & batch convert to HDF5 with C-like speed
MIT License
220 stars 91 forks source link

error running pyRINEX #12

Closed DfAC closed 6 years ago

DfAC commented 6 years ago

Hi, I am running python 3.6.4. I got error running a GPS RINEX 2.11 navigation file

plots.py, line 28, in plotobs
    if not p in obs:
TypeError: argument of type 'NoneType' is not iterable

Have you seen this error before? Am I missing a library?

scivision commented 6 years ago

I think it's a typo bug, when one only reads a NAV file. I believe it is fixed by https://github.com/scivision/pyrinex/commit/05f3d01b5e267bdf040d7fac3c62c496cc029344