OpenZGY/Python API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Public Member Functions | List of all members
openzgy.impl.meta.InfoHeaderV2 Class Reference
Inheritance diagram for openzgy.impl.meta.InfoHeaderV2:
openzgy.impl.meta.HeaderBase openzgy.impl.meta.InfoHeaderV3

Public Member Functions

def __init__ (self, buf=None)
 
def calculate (self, sl=None, hh=None)
 
def calculate_write (self)
 
- Public Member Functions inherited from openzgy.impl.meta.HeaderBase
def headersize (cls)
 
def checkformats (cls, verbose=False, *file=None)
 
def pack (self)
 
def unpack (self, buf=None)
 
def read (cls, f, offset)
 
def dump (self, prefix="", file=None)
 

Constructor & Destructor Documentation

◆ __init__()

def openzgy.impl.meta.InfoHeaderV2.__init__ (   self,
  buf = None 
)
Unpack a byte buffer into a new instance of this header.
Caller is responsible for all I/O, so we don't need an iocontext.

Member Function Documentation

◆ calculate_write()

def openzgy.impl.meta.InfoHeaderV2.calculate_write (   self)
Call this when important parts of ths struct has changed,
Note that on write it is we that compute slbufsize that gets copied
to offsetheader and used when the string list is written.
Not the other way aroud.

The documentation for this class was generated from the following file: