Skip to content
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

import data .gpr file error #32

Open
fengziren opened this issue Sep 22, 2023 · 1 comment
Open

import data .gpr file error #32

fengziren opened this issue Sep 22, 2023 · 1 comment

Comments

@fengziren
Copy link

python --version
Python 3.10.4

The prompt I get when I run the software supports gpr files.
Can only read dt1, DT1, hd, HD, DZT, dat, GPRhdr, rad, rd3, rd7, and gpr files

The following error occurs when I import the .gpr file.
PS F:\study\GPRPy> gprpy
Profile [p] or Common Midpoint / WARR [c]? p
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Program Files\Python3\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "D:\Program Files\Python3\lib\site-packages\gprpy\gprpyGUI.py", line 203, in
command=lambda : [self.loadData(proj),
File "D:\Program Files\Python3\lib\site-packages\gprpy\gprpyGUI.py", line 728, in loadData
proj.importdata(filename=filename)
File "D:\Program Files\Python3\lib\site-packages\gprpy\gprpy.py", line 176, in importdata
data, info, profilePos, twtt, history, antsep, velocity, depth, maxTopo, minTopo, threeD, data_pretopo, twtt_pretopo = pickle.load(f)
_pickle.UnpicklingError: invalid load key, '\x00'.

What should I do with it, please?

@fengziren
Copy link
Author

This is the file I imported and I can guarantee that the file is correct, this is what the file looks like when I open it using the software provided by 'esay radar usa'

image
test.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant