Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
p = ArgumentParser(description='plot receiver locations')
p.add_argument('indir', help='path to RINEX 2 or RINEX 3 files')
p.add_argument('-glob', help='file glob pattern', nargs='+',
default=['*o',
'*O.rnx', '*O.rnx.gz',
'*O.crx', '*O.crx.gz'])
p = p.parse_args()
indir = Path(p.indir).expanduser()
flist = gr.globber(indir, p.glob)
locs = gg.get_locations(flist)
grp.receiver_locations(locs)
show()