obspy.io.xseed.fields.VariableString

class VariableString(id, name, min_length=0, max_length=None, flags='', **kwargs)[source]

Bases: obspy.io.xseed.fields.Field

Variable length ASCII string, ending with a tilde: ~ (ASCII 126).

Variable length fields cannot have leading or trailing spaces. Character counts for variable length fields do not include the tilde terminator.

Attributes

__dict__
__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)

Public Methods

convert
get_seed
get_xml
parse_seed
parse_xml
read
write

Private Methods

Warning

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

_format_string Using SEED specific flags to format strings.
_read
_repr_pretty_

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
__str__
__subclasshook__ Abstract classes can override this to customize issubclass().