Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
megies committed Sep 18, 2013
1 parent f98d342 commit 565daff
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions obspy/station/channel.py
Expand Up @@ -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

0 comments on commit 565daff

Please sign in to comment.