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: builtins.object
De-serialize a GSE2.0 string into an ObsPy Catalog object.
Attributes
__dict__ __doc__ str(object=’‘) -> str __module__ str(object=’‘) -> str __weakref__ list of weak references to the object (if defined) Public Methods
load Read GSE2.0 file into ObsPy catalog object. 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 _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
__dir__ default dir() implementation __format__ default object formatter __init__ __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().