apps130311_water.p
ΒΆ
import sys
import matplotlib.pyplot as plt
import mapinmedata
def main():
'''Main script'''
m = mapinmedata.orbitdata_reader(sys.argv[1])
lonarr, latarr = m.get_bgrid()
nlist = m.get_counts()
plt.interactive(True)
plt.pcolor(lonarr, latarr, nlist)
plt.show()
plt.savefig(sys.argv[1]+'_c.png')
if __name__ == "__main__":
main()