-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
georinex.read() : Read error for mixed rinex observation files #43
Comments
I inspected the code and I think I might have found the bug. Please confirm File : georinex/obs3.py When a single satellite system is present in hdr['fields'], the elif condition is triggered calling xarray.concat. Concatenation of data and epoch_data results in an empty dataset since data is empty. This is surprising as I expected it to concatenate all 'epoch_data' information into 'data' When I remove this elif condition, and re-run the problem is solved . The else condition is triggered calling xarray.merge which correctly merges data and epoch_data Note |
Thanks for the detailed report, we'll look into this |
Sorry for my delay. Using your file: dat = gr.load("cutsamp.16o",meas=['C1C','S1C',],use=['G']) results in
I wonder if something has been fixed in xarray or georinex in the meanwhile. I just tested this with
|
Hello Michael,
I am trying to load measurements from a single GNSS system with the 'use' argument.
The Dataset returned after the load does not contain any data variables
dat = gr.load("cutsamp.16o",meas=['C1C','S1C',],use=['G']) print(dat)
Output
... Data variables: *empty*
But when I add more than one GNSS system as part of the 'use' argument it loads the data correctly
dat = gr.load("cutsamp.16o",meas=['C1C','S1C',],use=['G','S']) print(dat)
Output
... Data variables: C1C (time, sv) : ... S1C (time, sv) : ...
I have attached the file "cutsamp.16o" for your reference. Note that it is a RINEX 3.02 file
cutsamp.zip
The text was updated successfully, but these errors were encountered: