OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | 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 emitLSFile (const char *) const
 Not usable in 'normal' work. More...
 
uiString errMsg () const
 
ExecutorgetPostProcessor ()
 
JobRunnergetRunner (int nrinlperjob)
 
bool isRestart () const
 
const MultiIDoutputID () const
 
const IOParpars () const
 
void preparePreSet (IOPar &, const char *) const
 
bool removeTempSeis ()
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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::SeisJobExecProv ( const char *  prognm,
const IOPar  
)

◆ ~SeisJobExecProv()

virtual SeisJobExecProv::~SeisJobExecProv ( )
virtual

Member Function Documentation

◆ emitLSFile()

bool SeisJobExecProv::emitLSFile ( const char *  ) const

Not usable in 'normal' work.

◆ errMsg()

uiString SeisJobExecProv::errMsg ( ) const
inline

◆ getDefTempStorDir()

static BufferString SeisJobExecProv::getDefTempStorDir ( const char *  storpth = 0)
static

◆ getMissingLines()

void SeisJobExecProv::getMissingLines ( TypeSet< int > &  ) const
protected

◆ getPostProcessor()

Executor* SeisJobExecProv::getPostProcessor ( )

◆ getRunner()

JobRunner* SeisJobExecProv::getRunner ( int  nrinlperjob)

◆ isRestart() [1/2]

bool SeisJobExecProv::isRestart ( ) const
inline

◆ isRestart() [2/2]

static bool SeisJobExecProv::isRestart ( const IOPar )
static

◆ mk2DJobProv()

JobDescProv* SeisJobExecProv::mk2DJobProv ( )
protected

◆ mk3DJobProv()

JobDescProv* SeisJobExecProv::mk3DJobProv ( int  ninlperjob)
protected

◆ outputID()

const MultiID& SeisJobExecProv::outputID ( ) const
inline

◆ outputKey()

static const char* SeisJobExecProv::outputKey ( const IOPar )
static

◆ pars()

const IOPar& SeisJobExecProv::pars ( ) const
inline

◆ preparePreSet()

void SeisJobExecProv::preparePreSet ( IOPar ,
const char *   
) const

◆ removeTempSeis()

bool SeisJobExecProv::removeTempSeis ( )

◆ sKeyOutputLS()

static const char* SeisJobExecProv::sKeyOutputLS ( )
static

◆ sKeySeisOutIDKey()

static const char* SeisJobExecProv::sKeySeisOutIDKey ( )
static

◆ sKeyWorkLS()

static const char* SeisJobExecProv::sKeyWorkLS ( )
static

◆ tempStorID()

MultiID SeisJobExecProv::tempStorID ( ) const
protected

Member Data Documentation

◆ ctio_

CtxtIOObj& SeisJobExecProv::ctio_
protected

◆ errmsg_

uiString SeisJobExecProv::errmsg_
mutableprotected

◆ iopar_

IOPar& SeisJobExecProv::iopar_
protected

◆ is2d_

bool SeisJobExecProv::is2d_
protected

◆ nrrunners_

int SeisJobExecProv::nrrunners_
protected

◆ outds_

Seis2DDataSet* SeisJobExecProv::outds_
protected

◆ outioobjpars_

IOPar& SeisJobExecProv::outioobjpars_
protected

◆ progname_

const BufferString SeisJobExecProv::progname_
protected

◆ seisoutid_

MultiID SeisJobExecProv::seisoutid_
protected

◆ seisoutkey_

BufferString SeisJobExecProv::seisoutkey_
protected

◆ tmpstorid_

MultiID SeisJobExecProv::tmpstorid_
protected

◆ todoinls_

StepInterval<int> SeisJobExecProv::todoinls_
protected

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