external attribute

Seismic Modelling and Inversion using PyLops based Python External Attributes

The 6.6.8 release of the wmPlugins includes a number of new Python external attribute scripts that use the PyLops linear operator library for seismic modelling and inversion. These scripts also demonstrate the use of the new user interface parameter elements introduced in the 6.6.8 release of the External Attribute plugin.

Continue reading

Python External Attributes - Debugging

Because the Python [../plugins/ExternalAttrib] script is running in a process started by the OpendTect application most standard methods to examine the script as it runs, eg using the standard Python debugger pdb, are not available.

A solution is to use the Web-PDB Python module which allows the Python script to be debugged remotely in a web-browser.

Continue reading

Python External Attribute - Logging

It is possible to write information to the OpendTect logfile from inside a Python [../plugins/ExternalAttrib] script.

Continue reading

Anatomy of a Python External Attribute

This article will review the structure of a simple Python [../plugins/ExternalAttrib] script, ex_dip.py, which converts inline and crossline dip to true dip and dip azimuth. It is an example of multi attribute, single trace input and output. Some basic understanding of Python and Numpy is assumed.

Continue reading