From 565daffdc2870875c06025b1018af210896e2707 Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Wed, 18 Sep 2013 16:58:50 +0200 Subject: [PATCH] code cleanup --- obspy/station/channel.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/obspy/station/channel.py b/obspy/station/channel.py index 600fca853f6..37700ea7b98 100644 --- a/obspy/station/channel.py +++ b/obspy/station/channel.py @@ -174,18 +174,3 @@ def __str__(self): response="\tResponse information available" if self.response else "") return ret - - ret_str = "Seismic Channel '%s', Location '%s'\n" % (self.code, - self.location_code) - ret_str += ("\tLatitude: %.2f, Longitude: %.2f, Elevation: %.1f m, " - "Local Depth: %.1f\n") % (self.latitude, self.longitude, - self.elevation, self.depth) - if self.azimuth is not None: - ret_str += "\tAzimuth: %.2f degrees from north, clockwise\n" % \ - self.azimuth - if self.dip is not None: - ret_str += "\tDip: %.2f degrees down from horizontal\n" % self.dip - if self.types: - ret_str += "\tChannel types: %s\n" % ", ".join(self.types) - - return ret_str