Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with the program #7

Open
1030ahmad1030 opened this issue Mar 28, 2020 · 0 comments
Open

Working with the program #7

1030ahmad1030 opened this issue Mar 28, 2020 · 0 comments

Comments

@1030ahmad1030
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant