skipping zero length traces

they'll produce a runtime division error
obspy-scan test for multipe sampling rates

bugfix comparison function + test