geospace-code/georinex

RuntimeError with crx file loading

Rhyst223 opened this issue · 1 comments

I'm attempting to open a .crx file via the following in Python:


import georinex
dat = georinex.load('file.crx.gz')

but am receiving the following error:


  File "E:\Anaconda\lib\site-packages\georinex\base.py", line 63, in load
    verbose=verbose, fast=fast, interval=interval)

  File "E:\Anaconda\lib\site-packages\georinex\base.py", line 186, in rinexobs
    fast=fast, interval=interval)

  File "E:\Anaconda\lib\site-packages\georinex\obs3.py", line 76, in rinexobs3
    with opener(fn) as f:

  File "E:\Anaconda\lib\contextlib.py", line 81, in __enter__
    return next(self.gen)

  File "E:\Anaconda\lib\site-packages\georinex\io.py", line 62, in opener
    f = io.StringIO(_opencrx(f))

  File "E:\Anaconda\lib\site-packages\georinex\io.py", line 99, in _opencrx
    raise RuntimeError('Hatanka crx2rnx not available. Did you compile it per README?')

RuntimeError: Hatanka crx2rnx not available. Did you compile it per README?

I compiled the crx2rnx as suggested in your documentation, so I'm not really sure what is going on.

I can upload the file I was using in case this helps. I am using Python 3.6.5.

Thanks

The Hatanaka converter now auto-builds in e89be95