Skip navigation links
Seismic I/O

Petroware AS - Seismic I/O - June 2017

The Petroware AS Seismic I/O module is a Java library for accessing and manipulating seismic files for the petroleum industry.

See: Description

Packages 
Package Description
no.petroware.seismicio.segy  
The Petroware AS Seismic I/O module is a Java library for accessing and manipulating seismic files for the petroleum industry.

It contains hight performance readers and writers for common seismic formats.

Seismic I/O uses memory mapped non-blocking I/O from Java 8 to achieve maximum I/O performance for very large (Gb) data files.

Example code:

import no.petroware.logio.segy.*;
:

File file = new File("path/to/file.segy");

// Instantiate a reader
SegyFileReader reader = new SegyFileReader(file);

// Read the SEG-Y file with all its content
boolean shouldReadTraceData = true;
SegyFile segyFile = reader.readFile(shouldReadTraceData);

// Accessing the file header
SegyFileHeader fileHeader = segyFile.getFileHeader();
:

// Accessing the textual file header(s)
List textHeaders = segyFile.getTextHeaders();
:

// Loop over all traces
for (SegyTrace segyTrace : segyFile.getTraces()) {

  // Access the trace header
  List traceHeader = segyTrace.getHeader();
  :

  // The trace values are accessed by trace.getValue(index)
  :
  :
}
Skip navigation links
Seismic I/O

Copyright © 2017 - http://petroware.no