This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Usage: ./tcx_dist.py [input.tcx] [new distance in meters] | |
# Override distance of track points in TCX with new overall distance | |
from time import strptime, strftime | |
import xml.etree.ElementTree as ET | |
import sys | |
import re | |
infile = open(sys.argv[1]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Extracts T-Mobile cells from from Mozilla Location Service data | |
# | |
# Usage: Download an MLS export from https://location.services.mozilla.com/downloads | |
# and run with mls.py MLS-full-cell-export-XXXXXXXXX.csv.gz [low sector] [high sector] | |
from __future__ import print_function | |
import gzip |