~awuerl/blitzortung-python/master

« back to all changes in this revision

Viewing changes to blitzortung/geom.py

  • Committer: Andreas Würl
  • Date: 2016-09-14 20:39:51 UTC
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: git-v1:0577158d36adaee55ba3f8a63918b601e8a4edd4
remove pandas dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
    def __gt__(self, other):
186
186
        return self.count > other.count
187
187
 
188
 
    def get_count(self):
189
 
        return self.count
190
 
 
191
 
    def get_timestamp(self):
192
 
        return self.timestamp
193
 
 
194
 
    def __str__(self):
195
 
        if self.timestamp is None:
196
 
            return str(self.count)
197
 
 
198
188
    def __repr__(self):
199
 
        return "RasterElement(%d, %s)" % (self.count, str(self.timestamp))
 
189
        return "GridElement(%d, %s)" % (self.count, str(self.timestamp))