def cmdLineParse():
parser = argparse.ArgumentParser(description='Download GPS data over SAR coverage.',\
formatter_class=argparse.RawTextHelpFormatter,\
epilog=INTRODUCTION+'\n'+EXAMPLE)
parser.add_argument('FILE',help='2D file that need to be plotted.')
parser.add_argument('WIDTH', help='width of the 2D file. i.e., range columns for RDC, longitude conlumns for GEC.')
parser.add_argument('-d','--dem', dest='dem', help='background DEM that used to show the background terrain.')
parser.add_argument('-t', dest='txt', help='information of gps stations tesxt whose columns should obey: Name, lat, lon, range, azimuth')
parser.add_argument('-m','--mask',dest='mask', help='Masking the image with mask file.')
inps = parser.parse_args()
return inps
################################################################################################
评论列表
文章目录