obspy.io.xseed.fields.FixedString._format_string

FixedString._format_string(s)

Using SEED specific flags to format strings.

This method is partly adopted from fseed.py, the SEED builder for SeisComP written by Andres Heinloo, GFZ Potsdam in 2005.