georinex icon indicating copy to clipboard operation
georinex copied to clipboard

Added fast processing for RINEX 3

Open breid-phys opened this issue 2 years ago • 7 comments

The RINEX 3 code was re-written following the general idea behind the fast RINEX 2 code, loading all of the values into a numpy array before converting to xarray at the end.

The new code is significantly faster than before, and passes all of the automated tests. If the 'fast' flag is false, it should use the same technique as before.

All of the changes should be within rinexobs3().

breid-phys avatar May 19 '22 19:05 breid-phys

Thank you this has been a long-requested feature!

scivision avatar May 20 '22 12:05 scivision

I tested this today and it works well. I highly recommend to merge this!

This will close: https://github.com/geospace-code/georinex/issues/23

VOMAY avatar Sep 08 '22 15:09 VOMAY

Thanks, I had to fix other bugs first related to xarray changes. Thanks for your changes and endorsement!

scivision avatar Dec 27 '22 18:12 scivision

Looks like the line [186] is incorrect isv = [i for i,s in enumerate(svl) if s in gsv]

usually it works - if you have sats [g01,g02,g03] and this sats appears in same order, you will get correct indexes [0,1,2] But if g01 and g03 was visible from beginning but g02 appears just now (under index 123) you will get [0,1,123] instead of correct [0,123,1]. I do not know how elegantly correct this, but using map like {'g02':123,'g01':0,'g03':2} fixes issue

ielenik avatar Feb 08 '23 21:02 ielenik

Looks like the line [186] is incorrect isv = [i for i,s in enumerate(svl) if s in gsv]

I think you are right, in the first version of the code I had made an indexing mistake. I had to re-write the fast processing again since it wasn't fast enough, it is a lot more elegant now. I don't think the line you are referring to exists in the code anymore, though.

Please let me know if the problem still exists!

breid-phys avatar Feb 10 '23 17:02 breid-phys

Oh, this definitely possible. I am not a big specialist in git so that is really possible that I took some outdated version. Sorry to bother you

ielenik avatar Feb 10 '23 20:02 ielenik

Thanks @breid-phys, this is great. @scivision is there a plan to merge this in?

aclel avatar Dec 10 '23 01:12 aclel