def main(): df = read_sub('001') (px, py) = cart(df) figure() gca().axes.invert_xaxis() plot(px, py, 'ro') xlabel('east-west (meters)') ylabel('south_north (meters)') grid() axis('equal') show()
def process_subs(): dirs = glob.glob(PATH + "\*") for dir in dirs: sub = os.path.split(dir)[1][2:5] nddata.read_sub(sub)