obspy.xseed.fields.VariableString

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

Bases: obspy.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__ unicode(string [, encoding[, errors]]) -> object
__module__ str(object) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

convert
getSEED
getXML
next
parseSEED
parseXML
read
write

Private Methods

_formatString Using SEED specific flags to format strings.
_read
_repr_pretty_

Special Methods

__init__
__long__
__native__ Hook for the future.utils.native() function
__nonzero__
__str__
__unicode__