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(), log.sta_number(), ", ".join(station_name) ) #print site vector and antenna type for all entries if gipsy_svec: #get all antenna records antennas = log.antennas() svec_string = []
( 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(), log.sta_number(), ", ".join(station_name) ) #print site vector and antenna type for all entries if gipsy_svec: #get all antenna records