if arp_vector: print "%15.4f %15.4f %15.4f" % \ ( log.arp_vector(direction="east"), log.arp_vector(direction="north"), log.arp_vector(direction="up") ) ###---------------------- #+#GIPSY specific stuff ###---------------------- #print site_pos format, if asked for if gipsy_pos: print " %.4s %.4d %.2d %.2d %.2d %.2d %5.2f %10.2f %15.4f %14.4f %14.4f %15.7E %14.7E %14.7E %.30s" % \ ( log.site().upper(), log.year(), log.month(), log.day(), log.hour(), log.minute(), log.second(), log.duration(), log.XPos(), log.YPos(), log.ZPos(), log.XVel(), log.YVel(), log.ZVel(), log.comment() ) #print site_id format, if asked for if gipsy_sta_id: #some of these may not exist and hence return None station_name = [log.site_name(), log.loc_city(), log.loc_state(), log.loc_country()] station_name = [s for s in station_name if s is not None] print " %.4s %6d %.60s" % \ ( log.site().upper(),
#print benchmark->arp vector if arp_vector: print "%15.4f %15.4f %15.4f" % \ ( log.arp_vector(direction="east"), log.arp_vector(direction="north"), log.arp_vector(direction="up") ) ###---------------------- #+#GIPSY specific stuff ###---------------------- #print site_pos format, if asked for if gipsy_pos: print " %.4s %.4d %.2d %.2d %.2d %.2d %5.2f %10.2f %15.4f %14.4f %14.4f %15.7E %14.7E %14.7E %.30s" % \ ( log.site().upper(), log.year(), log.month(), log.day(), log.hour(), log.minute(), log.second(), log.duration(), log.XPos(), log.YPos(), log.ZPos(), log.XVel(), log.YVel(), log.ZVel(), log.comment() ) #print site_id format, if asked for if gipsy_sta_id: #some of these may not exist and hence return None station_name = [ log.site_name(), log.loc_city(), log.loc_state(), log.loc_country() ]