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

Exceptions that may be raised by OpenZGY. More...

Classes

class  ZgyAborted
 User aborted the operation. More...
 
class  ZgyCorruptedFile
 The ZGY file became corrupted while writing to it. More...
 
class  ZgyEndOfFile
 Trying to read past EOF. More...
 
class  ZgyError
 Base class for all exceptions thrown by OpenZGY. More...
 
class  ZgyFormatError
 Corrupted or unsupported ZGY file. More...
 
class  ZgyInternalError
 Exception that might be caused by a bug in OpenZGY. More...
 
class  ZgyMissingFeature
 Missing feature. More...
 
class  ZgySegmentIsClosed
 Exception used internally to request a retry. More...
 
class  ZgyUserError
 Exception that might be caused by the calling application. More...
 

Detailed Description

Exceptions that may be raised by OpenZGY.

Defines exceptions that may be raised by OpenZGY.

These classes are both visible to the OpenZGY public API and referenced
directly from the implementation classes. I apologize for the broken
encapsulation. Re-mapping the exceptions in the API layer didn't seem
worth the trouble.