ReadSegY

Synopsis

Reads files in SEG-Y format and outputs a uniform field.

Parameters

Name Type Description UI Control

filename string Name of SEG-Y file to read. File Dialog
normalize string stores the data in a normal cube Toggle
timescale string scales the time axis by 10^timescale Slider

Output Ports

Name Type Description

out Uniform Field Volume data read from file.
obj DataObject Directly Renderable Output Object.

Description

The ReadSegY user macro reads SEG-Y format data from a specified file and outputs mesh data. The SEG-Y format is commonly used for presentation of seismic data.

Parameters

filename

String parameter that contains the name of the SEG-Y file that should be read. The filename can either by relative or absolute and it can contain AVS/Express environment variables (i.e. $XP_ROOT, $XP_PATH<1>).

Outputs

out

Uniform field output that contains the data read from the SEG-Y file. The uniform field contains a 3D uniform mesh and a single set of node data.

obj

The directly renderable output of the read_segy macro. This output contains the data read from the Seg-Y file in a form that can be rendered by the standard data viewers. Normally this output will not be used as further processing will have to be done on the volume data.

Utility Macros

The ReadSegyFunc functional macro uses the ReadSegyCore low-level module. The ReadSegY user macro uses this functional macro and the ReadSegyUI user interface macro. None of these objects use a parameter block.

Example

To demonstrate the use of ReadSegY two example applications are provided. The ReadSegyEg1 and ReadSegyEg2 example applications use the ReadSegY macro to read a set of Seg-Y data. The read data is then processed by the ReadSegyEg1 application and to show and orthoslice in a bounding box. The ReadSegyEg2 application only shows the orthoslice using reset_xform to show it in a 2D plane.

Files

iac_proj/rd_segy/segymods.v contains the V definition of the ReadSegyCore module.

iac_proj/rd_segy/segymacs.v contains the V definitions of the ReadSegyUI UI macro, the ReadSegyFunc functional macro and the ReadSegY user macro.

iac_proj/rd_segy/segyapps.v contains the V definition of the ReadSegyEg1 and ReadSegyEg2 example application.

Other Notes

The low-level ReadSegyMods library containing the module ReadSegyCore does not specify a process. By default the express process will be used.

Author

Tom Parker, AVS Inc.

Modification

Lars Mueller, Anja Bindrich,
Manchester Visualization Centre
Andrew Dodd, Tobias Schiebeck
International AVS Centre

Contact

International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL