You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: