Exemple #1
0
 def format(self):
     result = utils.magMeter(self.mag, -3.0, 1.0, 0.5) + "  " + utils.formatSign(self.mag) + "m  "
     if self.start is not None:
         result += SatellitePassInfo.UNICODE_RISE + self.start.format() + "  "
     if self.max is not None:
         result += u"\u2600" + self.max.format() + "  "
     if self.end is not None:
         result += SatellitePassInfo.UNICODE_SET + self.end.format() + "\n"
     return result
Exemple #2
0
 def format(self):
     result = utils.magMeter(self.mag, -8.0, 0.0, 1.0) + '   ' + utils.formatLocalTime(self.tm) + '  ' + \
         utils.formatSign(self.mag) + 'm  [ ' + utils.formatSign(self.alt) + ' / ' + utils.formatSign(self.az) + ' ]\n'
     return result