OpendTect
7.0
|
reads from a seismic data store. More...
Protected Member Functions | |
SeisTrcReader (const MultiID &)=delete | |
bool | doStart () |
bool | ensureCurLineAttribOK (const BufferString &) |
bool | get2D (SeisTrc &) |
int | get2D (SeisTrcInfo &) |
bool | get2DData (TraceData &) |
Seis::Bounds * | get3DBounds (const StepInterval< int > &, const StepInterval< int > &, const StepInterval< float > &) const |
bool | getPS (SeisTrc &) |
int | getPS (SeisTrcInfo &) |
void | init () |
bool | initBounds2D (const PosInfo::Line2DData &, Seis::Bounds2D &) const |
bool | initRead (Conn *) |
bool | isMultiConn () const |
bool | mkNextFetcher () |
int | nextConn (SeisTrcInfo &) |
Conn * | openFirst () |
bool | readNext2D () |
bool | startWork () |
Protected Member Functions inherited from SeisStoreAccess | |
SeisStoreAccess (const IOObj *, const Seis::GeomType *) | |
SeisStoreAccess (const IOObj *, Pos::GeomID, const Seis::GeomType *) | |
SeisStoreAccess (const MultiID &, Seis::GeomType) | |
SeisStoreAccess (const Setup &) | |
bool | cleanUp (bool alsoioobj=true) |
SeisTrcTranslator * | strl () const |
Protected Attributes | |
int | curlineidx = -1 |
BinID | curpsbid_ = BinID(0,0) |
StepInterval< int > | curtrcnrrg |
bool | entryis2d = false |
Executor * | fetcher = nullptr |
bool | forcefloats = false |
bool | foundvalidcrl = false |
bool | foundvalidinl = false |
bool | inforead = false |
bool | needskip = false |
bool | new_packet = false |
int | nrfetchers = 0 |
TrcKeySampling * | outer |
int | prev_inl = mUdf(int) |
PosInfo::CubeDataIterator * | pscditer_ = nullptr |
PosInfo::Line2DDataIterator * | pslditer_ = nullptr |
SeisPS2DReader * | psrdr2d_ = nullptr |
SeisPS3DReader * | psrdr3d_ = nullptr |
Seis::ReadMode | readmode = Seis::Prod |
int | selcomp_ = -1 |
SeisTrcBuf * | tbuf_ = nullptr |
Protected Attributes inherited from SeisStoreAccess | |
Seis2DDataSet * | dataset_ = nullptr |
uiString | errmsg_ |
IOObj * | ioobj_ = nullptr |
bool | is2d_ = false |
int | nrtrcs_ |
bool | prepared_ = false |
const SeisPSIOProvider * | psioprov_ = nullptr |
Seis::SelData * | seldata_ = nullptr |
Translator * | trl_ = nullptr |
Additional Inherited Members | |
Static Public Member Functions inherited from SeisStoreAccess | |
static PtrMan< IOObj > | getFromPar (const IOPar &) |
static IOObj & | getTmp (const char *fnm, bool isps, bool is2d) |
static const char * | sKeyHeader () |
static const ZDomain::Info & | zDomain (const IOObj *) |
Static Public Attributes inherited from SeisStoreAccess | |
static const char * | sNrTrcs |
reads from a seismic data store.
If you don't want all of the stored data, you must set use the SeisTrcTranslator facilities (SelData and ComponentData) after calling prepareWork(). If you don't call prepareWork(), the reader will do that but you cannot use SeisTrcTranslator facilities then.
Then, the routine is: get(trc.info()) possibly followed by get(trc). Not keeping this sequence is at your own risk.
Note: 2D Prestack data cannot (yet) be read via this class.
<>
SeisTrcReader::SeisTrcReader | ( | const MultiID & | , |
Seis::GeomType | |||
) |
Open 'real user entries from '.omf' file Can be anything: SEGY - CBVS - database
SeisTrcReader::SeisTrcReader | ( | const IOObj & | , |
const Seis::GeomType * | = nullptr |
||
) |
Open 'real user entries from '.omf' file Can be anything: SEGY - CBVS - database
SeisTrcReader::SeisTrcReader | ( | const IOObj & | , |
Pos::GeomID | , | ||
const Seis::GeomType * | = nullptr |
||
) |
Restricted to a given Pos::GeomID.
SeisTrcReader::SeisTrcReader | ( | const SeisStoreAccess::Setup & | ) |
SeisTrcReader::~SeisTrcReader | ( | ) |
|
protecteddelete |
SeisTrcReader::SeisTrcReader | ( | const IOObj * | = nullptr | ) |
|
explicit |
Open 'loose' CBVS files only.
|
inline |
|
inline |
|
protected |
|
protected |
int SeisTrcReader::expectedNrTraces | ( | ) | const |
Not the number of positions, as Pre-Stack datasets have many traces per position
|
overridevirtual |
Reimplemented from SeisStoreAccess.
|
inline |
Only effective if called before prepareWork()
|
overridevirtual |
Reimplemented from SeisStoreAccess.
GeomIDProvider* SeisTrcReader::geomIDProvider | ( | ) | const |
bool SeisTrcReader::get | ( | SeisTrc & | ) |
It is possible to directly call this without checking the get(SeisTrcInfo&) result. Beware that the trace selections in the SelData may be ignored then - depending on the Translator's capabilities.
int SeisTrcReader::get | ( | SeisTrcInfo & | ) |
-1 = Error. errMsg() will return a message. 0 = End 1 = Usable info 2 = Not usable (trace needs to be skipped) If 1 is returned, then you should also call get(SeisTrc&).
|
protected |
|
protected |
|
protected |
|
protected |
bool SeisTrcReader::get3DGeometryInfo | ( | PosInfo::CubeData & | ) | const |
Seis::Bounds* SeisTrcReader::getBounds | ( | ) | const |
use after prepareWork(). If not avail: survinfo
bool SeisTrcReader::getData | ( | TraceData & | ) |
bool SeisTrcReader::getDataPack | ( | RegularSeisDataPack & | , |
TaskRunner * | = nullptr |
||
) |
int SeisTrcReader::getNrOffsets | ( | int | maxnrpostobechecked = 10 | ) | const |
|
protected |
|
protected |
const Scaler* SeisTrcReader::getTraceScaler | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
bool SeisTrcReader::prepareWork | ( | Seis::ReadMode | = Seis::Prod | ) |
After this, you can set stuff on the translator If not called, will be done automatically
|
protected |
const SeisTrcTranslator* SeisTrcReader::seis2Dtranslator | ( | ) |
|
inline |
use before startWork() -1 (default) is all components
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024