Skip to content

Working with the program #7

@1030ahmad1030

Description

@1030ahmad1030

Can you elaborate further on how to work with this your program? I have been struggling with it and it's yet to work for me.
I wrote the following:
from gnss_tec import rnx
from gnss_tec.glo import collect_freq_nums

glo_freq_nums = collect_freq_nums('C:/Users/ahmad/Desktop/hocam data2.20I')

with open('site0390.17o') as obs_file:
reader = rnx(obs_file, glo_freq_nums=glo_freq_nums)
for tec in reader:
print(
'{} {}: {} {}'.format(
tec.timestamp,
tec.satellite,
tec.phase_tec,
tec.p_range_tec,
)
)
and I had the following error:-
NavMessageFileError Traceback (most recent call last)
in
2 from gnss_tec.glo import collect_freq_nums
3
----> 4 glo_freq_nums = collect_freq_nums('C:/Users/ahmad/Desktop/hocam data2.20I')
5
6 with open('site0390.17o') as obs_file:

~\Anaconda3\lib\site-packages\gnss_tec\glo.py in collect_freq_nums(file)
57 file_handler = file
58
---> 59 for slot, epoch, f_num in nav(file_handler):
60 if f_num in freq_num_timestamps[slot]:
61 continue

~\Anaconda3\lib\site-packages\gnss_tec\nav.py in nav(file)
152 else:
153 raise NavMessageFileError(
--> 154 'Unsupported version: {}.'.format(rnx_version)
155 )

NavMessageFileError: Unsupported version: 1.0.
..............................................................................................
Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions