georinex icon indicating copy to clipboard operation
georinex copied to clipboard

Read .o files with extreme long time

Open ZephyrShannon opened this issue 5 years ago • 6 comments

I am trying to read a .o file with gr.read(), but it cost me very long time >10m, can any one helps me?

ista3090.18o.gz

ZephyrShannon avatar Nov 07 '18 11:11 ZephyrShannon

ista3090.18o.gz Sorry, I upload a wrong file. this one is ok. md5sum:6dca94165d45a455c0bb05b1b564ed68

ZephyrShannon avatar Nov 07 '18 11:11 ZephyrShannon

Thanks @ZephyrShannon this is an issue we intend to resolve in the future. OBS2 has been massively sped up to near-C speed, but OBS3 still needs that updated algorithm. Stay tuned...

scivision avatar Nov 07 '18 12:11 scivision

@ZephyrShannon we recently added the ability to read data from an OBS2 or OBS3 at every interval= seconds. For example if the big file has measurements once a second, you can read every 15 seconds or whatever suits your needs, giving a proportion speedup in reading.

The real solution of preallocating Numpy arrays has not yet been implemented for OBS3, but was several months ago for OBS2. I'm sorry for this delay, I just haven't had time to do this yet.

scivision avatar Mar 06 '19 14:03 scivision

Dear scivision, regarding this update, I have found one rinex file that leaves an error of the type: IndexError(f'may be "fast" mode bug, try fast=False or "-strict" command-line option {e}') please, find the rinex file at ftp://gssc.esa.int/gnss/data/daily/2013/360/usno3600.13d.Z

Otherwise, if I remove the fast option, by saying fast=False in the function rinexobs2 when it calls the rinexsystem2, the rinex reading becomes correct again.

fabprol avatar May 10 '19 06:05 fabprol

Thanks @fabprol for providing the link to the example data, I plan to look at this soon.

scivision avatar May 10 '19 21:05 scivision

Hey scivision, indeed, the rinex I sent before is working normally, the one that is not really working is this one: https://drive.google.com/open?id=199UHtvZVkhXG6iMl07bNI4zeMnaR1r5D

which is the same, but converted to RINEX by crx2rnx and edited by Windows/TEQC using the following command: teqc.exe -S -O.obs C1P1P2L1L2 usno3600.13o > usno3600Edited.13o

fabprol avatar May 11 '19 07:05 fabprol