|
OpenZGY/Python API and Internals (ALPHA)
Access seismic data stored in ZGY format.
|
Public Member Functions | |
| def | __init__ (self, *args, **kwargs) |
| def | __call__ (self) |
Public Member Functions inherited from openzgy.impl.genlod.GenLodBase | |
| def | __init__ (self, size, *bricksize=(64, 64, 64), dtype=np.float32, range_hint=None, nlods=None, decimation=None, histogram=None, defaultvalue=None, progress=None, verbose=None) |
Abstract class for generating low resolution bricks, histogram, and statistics. The inherited methods for I/O are still stubs. See doc/lowres.html for details. This class implements plan C or D which is good for compressed data and acceptable for uncompressed. The ordering of low resolution bricks in the file will not be optimal. For optimal ordering but working only for uncompressed data consider implementing plan B in addition to the plan C already implemented. The implementation can be used as-is in a unit test with mocked I/O.
| def openzgy.impl.genlod.GenLodImpl.__call__ | ( | self | ) |
Generate and store statistics, histogram, and all low resolution bricks. Works for plans C and D. If we also need an implementation of plan B then this method wold need to iterate over all bricks and lods, and _accumulate would not make any recursive calls.
1.8.17