Data I/O¶
Well Log¶
Well logs for a single well are stored internally as pandas DataFrame.
Both Standard LAS file and Pseudo-LAS file (TSV file without LAS header)
Seismic Velocity¶
When it comes to 3D seismic data, we directly interact with SEGY file utlizing segyio.
-
SeiSEGY.
__init__
(segy_file, like=None)[source]¶ - Parameters
segy_file (str) – segy file path
like (str, optional) – created segy file has the same dimesions as like.
-
class
pygeopressure.basic.seisegy.
SeiSEGY
(segy_file, like=None)[source]¶ -
-
data
(indexes)[source]¶ Retrieve Data according to the index provided.
- Parameters
indexes ({InlineIndex, CrlineIndex, DepthIndex, CdpIndex}) – index of data to retrieve
- Returns
- Return type
numpy.ndarray
-
classmethod
from_json
(json_file, segy_file=None)[source]¶ Initialize SeiSEGY from an json file containing information
- Parameters
json_file (str) – json file path
segy_file (str) – segy file path for overriding information in json file.
-
inline_crlines
()[source]¶ Iterator for both inline and crline numbers
- Yields
tuple of int – (inline number, crossline number)
-
plot
(index, ax, kind='vawt', cm='seismic', ptype='seis')[source]¶ Plot seismic section according to index provided.
- Parameters
index ({InlineIndex, CrlineIndex, DepthIndex, CdpIndex}) – index of data to plot
ax (matplotlib.axes._subplots.AxesSubplot) – axis to plot on
kind ({‘vawt’, ‘img’}) – ‘vawt’ for variable area wiggle trace plot ‘img’ for variable density plot
cm (str) – colormap for plotting
ptype (str, optional) – property type
- Returns
- Return type
matplotlib.image.AxesImage
-