OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SeisJobExecProv Class Reference

Provides job runners and postprocessor for seismic processing. More...

Public Member Functions

 SeisJobExecProv (const char *prognm, const IOPar &)
 
virtual ~SeisJobExecProv ()
 
bool isRestart () const
 
uiString errMsg () const
 
const IOParpars () const
 
JobRunnergetRunner (int nrinlperjob)
 
ExecutorgetPostProcessor ()
 
bool removeTempSeis ()
 
bool emitLSFile (const char *) const
 Not usable in 'normal' work. More...
 
void preparePreSet (IOPar &, const char *) const
 
const MultiIDoutputID () const
 

Static Public Member Functions

static BufferString getDefTempStorDir (const char *storpth=0)
 
static const char * outputKey (const IOPar &)
 
static const char * sKeySeisOutIDKey ()
 
static const char * sKeyOutputLS ()
 
static const char * sKeyWorkLS ()
 
static bool isRestart (const IOPar &)
 

Protected Member Functions

JobDescProvmk2DJobProv ()
 
JobDescProvmk3DJobProv (int ninlperjob)
 
void getMissingLines (TypeSet< int > &) const
 
MultiID tempStorID () const
 

Protected Attributes

IOPariopar_
 
IOParoutioobjpars_
 
CtxtIOObjctio_
 
bool is2d_
 
BufferString seisoutkey_
 
MultiID seisoutid_
 
MultiID tmpstorid_
 
const BufferString progname_
 
uiString errmsg_
 
int nrrunners_
 
StepInterval< int > todoinls_
 
Seis2DDataSetoutds_
 

Private Member Functions

 mODTextTranslationClass (SeisJobExecProv)
 

Detailed Description

Provides job runners and postprocessor for seismic processing.

If the jobs need to be restartable, fetch an altered copy of the input IOPar after you fetched the first runner and store it.

The sKeySeisOutIDKey is the key in the IOPar that contains the key in the IOPar that points to the actual output seismic's IOObj ID. Thus: res = iopar.find(sKeySeisOutIDKey); id = iopar.find(res); If the IOPar contains no value for this key, "Output.1.Seismic ID" will be used. It is needed for 3D, to re-wire the output to temporary storage.

A SeisJobExecProv object can be used for one job only. But, you may have to get a runner more than once to get everything done. When everything is done, null will be returned.

After a runner is finished, you need to execute the postprocessor if it is not returned as null.

Constructor & Destructor Documentation

SeisJobExecProv::SeisJobExecProv ( const char *  prognm,
const IOPar  
)
virtual SeisJobExecProv::~SeisJobExecProv ( )
virtual

Member Function Documentation

bool SeisJobExecProv::emitLSFile ( const char *  ) const

Not usable in 'normal' work.

uiString SeisJobExecProv::errMsg ( ) const
inline
static BufferString SeisJobExecProv::getDefTempStorDir ( const char *  storpth = 0)
static
void SeisJobExecProv::getMissingLines ( TypeSet< int > &  ) const
protected
Executor* SeisJobExecProv::getPostProcessor ( )
JobRunner* SeisJobExecProv::getRunner ( int  nrinlperjob)
bool SeisJobExecProv::isRestart ( ) const
inline
static bool SeisJobExecProv::isRestart ( const IOPar )
static
JobDescProv* SeisJobExecProv::mk2DJobProv ( )
protected
JobDescProv* SeisJobExecProv::mk3DJobProv ( int  ninlperjob)
protected
SeisJobExecProv::mODTextTranslationClass ( SeisJobExecProv  )
private
const MultiID& SeisJobExecProv::outputID ( ) const
inline
static const char* SeisJobExecProv::outputKey ( const IOPar )
static
const IOPar& SeisJobExecProv::pars ( ) const
inline
void SeisJobExecProv::preparePreSet ( IOPar ,
const char *   
) const
bool SeisJobExecProv::removeTempSeis ( )
static const char* SeisJobExecProv::sKeyOutputLS ( )
static
static const char* SeisJobExecProv::sKeySeisOutIDKey ( )
static
static const char* SeisJobExecProv::sKeyWorkLS ( )
static
MultiID SeisJobExecProv::tempStorID ( ) const
protected

Member Data Documentation

CtxtIOObj& SeisJobExecProv::ctio_
protected
uiString SeisJobExecProv::errmsg_
mutableprotected
IOPar& SeisJobExecProv::iopar_
protected
bool SeisJobExecProv::is2d_
protected
int SeisJobExecProv::nrrunners_
protected
Seis2DDataSet* SeisJobExecProv::outds_
protected
IOPar& SeisJobExecProv::outioobjpars_
protected
const BufferString SeisJobExecProv::progname_
protected
MultiID SeisJobExecProv::seisoutid_
protected
BufferString SeisJobExecProv::seisoutkey_
protected
MultiID SeisJobExecProv::tmpstorid_
protected
StepInterval<int> SeisJobExecProv::todoinls_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019