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