OpenZGY/Python API and Internals (ALPHA)
Access seismic data stored in ZGY format.
Classes | Functions
openzgy.impl.bulk Namespace Reference

Reading and writing bulk data. More...

Classes

class  ErrorsWillCorruptFile
 
class  ScalarBuffer
 
class  ZgyInternalBulk
 

Functions

def dprint (*args, **kwargs)
 

Detailed Description

Reading and writing bulk data.

This file contains a number of classes and free functions dealing with
bulk data access. There is a similar file impl.meta that deals with
metadata. Nothing in this file should be directly visible to users of
the public API.

impl.bulk.ZgyInternalBulk:

    * Internal methods to read and write bulk.
    * Needs access to much of the meta data information.
      Currently this is handled by giving this class references to
      those file headers it needs, e.g. InfoHeader, BrickLUP, etc.
      TODO-Low: Refactor, would it be cleaner to instead provide a
      reference to the ZgyInternalMeta instance? This gives access to
      more metadata than the class actually needs. But would provide
      better isolation nevertheless.
    * Refactoring notes: There are a couple of sections in this
      class that ought to have been separated out. As it is now
      the class does too much.
        - Write support
        - Lod generation
        - Histogram generation