obspy.io.gse2.bulletin.Unpickler¶
- class Unpickler(inventory, default_network_code, default_location_code, default_channel_code, res_id_prefix, fields, event_point_separator, agency)[source]¶
Bases: future.types.newobject.newobject
De-serialize a GSE2.0 string into an ObsPy Catalog object.
Attributes
__dict__ __doc__ unicode(object=’‘) -> unicode object __module__ str(object=’‘) -> string __weakref__ list of weak references to the object (if defined) Public Methods
load Read GSE2.0 file into ObsPy catalog object. next Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_add_line_nb Add line number at the end of a str message. _check_header Just check some stuff in header. _comment _deserialize _get_channel Use inventory to retrieve channel and location code. _get_creation_info _get_res_id Create a ResourceIdentifier object. _parse_arrivals _parse_event Parse an event. _parse_first_line_origin Parse the first line of origin data. _parse_origin Parse an origin. _parse_region_name _parse_second_line_origin _skip_empty_lines _warn Display a warning message with the line number. Special Methods
__format__ default object formatter __init__ __long__ __native__ Hook for the future.utils.native() function __new__ __nonzero__ __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(). __unicode__