PEP8
Small changes to the format selection.

Assures it is always uppercase and valid.
obspy.arclink now uses StringIO.

Instead of a temporary file.
Corrected a small error in Amplitude() docstring
Pure C89 compilers require variable declaration before logical blocks