You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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
The text was updated successfully, but these errors were encountered: