odpy.seisman
Module Contents
Functions
|
Gets information on available seismics from database for a survey |
|
Gets seismic name |
|
Gets well database key |
|
Gets file location of seismic data |
|
Checks if seismic data exists in survey |
|
Displays 2D visualization of either inline, crossline, or Z/time slice |
|
converts segy data to numpy array |
Attributes
- odpy.seisman.seismanexe = od_DBMan
- odpy.seisman.seisdbdirid = 100010
- odpy.seisman.seistrlgrp = Seismic Data
- odpy.seisman.dgbtrl = dGB
- odpy.seisman.dblist
- odpy.seisman.getSeismicDBList(reload, args=None)
Gets information on available seismics from database for a survey
- Parameters:
reload (boolean, optional): Force re-reading of the database files (no caching allowed)
- args (dictionary, optional): Dictionary of optional parameters (see odpy.common).
Default to None.
- Returns:
dict: containing information on survey seismic (size, IDs, Names, Status, etc)
- odpy.seisman.getName(dbkey, args=None)
Gets seismic name
- Parameters:
dbkey (str): seismic database key
- reload (boolean, optional): Force re-reading of the database files
(no caching allowed). Default to False
- args (dictionary, optional): Dictionary of optional parameters (see common).
Default to None.
- Returns:
str: seismic data name
- odpy.seisman.getDBKey(seisnm, reload=True, args=None)
Gets well database key
- Parameters:
seisnm (str): seismic name
- reload (boolean, optional): Force re-reading of the database files
(no caching allowed). Default to False
- args (dictionary, optional): Dictionary of optional parameters (see common).
Default to None.
- Returns:
str: Database key for seismic name provided
- odpy.seisman.get_file_location(dbname)
Gets file location of seismic data
- Parameters:
dbname (str): seismic name
- Returns:
str: full path to seismic data
- odpy.seisman.isPresent(dbname)
Checks if seismic data exists in survey
- Parameters:
dbname (str): seismic data name
- Returns:
bool: True if seismic data is found in survey, False if otherwise
- odpy.seisman.show_line(data, ranges, figsize, inline=False, xline=False, Z=False)
Displays 2D visualization of either inline, crossline, or Z/time slice
- Parameters:
data (array): 3d numpy array of data (time/depth, crossline, inline)
ranges (dict): specifying survey ranges (with keys inline, xline, Z)
figsize (tuple): width and height specifications for figure
inline, xline, Z (int): inline, xline, or time slice to be displayed
- Note: either inline or xline or Z can be displayed once. other dimensions retain their default
False value when a dimension is selected/displayed
Returns: None (figure is displayed)