obspy.io.zmap.core.Pickler

class Pickler(with_uncertainties=False)[source]

Bases: object

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

Public Methods

dump

Writes ObsPy Catalog into given file.

dumps

Returns ZMAP string of given ObsPy Catalog object.

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

_decimal_year

Return (floating point) decimal year representation of UTCDateTime input value

_depth_error

Return the absolute depth error in km

_hz_error

Compute horizontal error of origin.

_num2str

Convert num into a matlab (and thus zmap) compatible string

_serialize

Special Methods

__dir__

Default dir() implementation.

__format__

Default object formatter.

__init__

Initialize self.

__init_subclass__

This method is called when a class is subclassed.

__new__

Create and return a new object.

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__sizeof__

Size of object in memory, in bytes.

__subclasshook__

Abstract classes can override this to customize issubclass().