Trigger length of 1 sample (on==off) resulted in empty array.
Replaced if else with try Except to avoid unnecessary if checks.
std of single value is always 0
minor docstring fixes
add write() method to Event, delegating to Catalog.write()

actually was advertized in the docstring already ;)
Add test for infinite loop mseed files.
mseed: Make Python parser resilient to invalid files.

It suffers from the same infinite loop bug as libmseed.
Merge pull request #893 from syngron/pr_trigger_empty_array

Trigger length of 1 sample (on==off) resulted in empty array.
Change print statements to functions in comments.
mseed-recordanalyzer: Fix incorrect indent.

Printing only worked when the file was big endian.