Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue importing Seismic Segy #17

Open
sandragharbi opened this issue Feb 9, 2022 · 0 comments
Open

Issue importing Seismic Segy #17

sandragharbi opened this issue Feb 9, 2022 · 0 comments

Comments

@sandragharbi
Copy link

Hi,

I am having an error when I import my own seismic segy file. I Qced both Segy and SEIS files and they are working with segyio and json. Can you please help and guide me through the issue:

runcell('[2], #2', 'C:/Users/Sandra.Gharbi/Downloads/Overburden_Calculation_Using_Velocity.py')

<class 'pygeopressure.basic.seisegy.SeiSEGY'>
Traceback (most recent call last):

File "C:\Users\Sandra.Gharbi\Downloads\Overburden_Calculation_Using_Velocity.py", line 69, in
survey = ppp.Survey(SURVEY_FOLDER)

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\survey.py", line 72, in init
self._add_seismic()

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\survey.py", line 94, in _add_seismic
self.seismics[seis_name] = SeiSEGY.from_json(info_file, str(data_path))

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\seisegy.py", line 75, in from_json
instance = cls(native(segy))

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\seisegy.py", line 50, in init
self._parse_segy()

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\seisegy.py", line 135, in _parse_segy
self.survey_setting = SurveySetting(ThreePoints(setting_dict))

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\survey_setting.py", line 61, in init
self.azimuth_and_invertedAxis()

File "C:\Users\Sandra.Gharbi\Anaconda3\lib\site-packages\pygeopressure-0+unknown-py3.9.egg\pygeopressure\basic\survey_setting.py", line 237, in azimuth_and_invertedAxis
self.azimuth = self.azimuth / math.pi * 180 # turn into degree

TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'

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

No branches or pull requests

1 participant