print "\t-g, --gate: optional gate value for bi-color scale gate"
    print "\t-f, --datafile: optional binary input data filename"
    print "\t-o, --outfile: optional png output filename"
    print "\t-t, --title: optional plot title"
    print "\t-H, --help: optional display usage information"
    print "\t-i, --installdir: optional UCVM isntall directory"
    print "\t-n, --configfile: optional UCVM configfile"
    print "UCVM %s\n" % VERSION

ret_val = get_user_opts({"b,bottomleft":"lat1,lon1", \
                         "u,upperright":"lat2,lon2", \
                         "s,spacing":"spacing", \
                         "e,depth":"depth", \
                         "d,datatype":"data_type", \
                         "c,cvm":"cvm", \
                         "a,scale": "color", \
                         "g,gate,o": "gate", \
                         "f,datafile,o":"datafile",
                         "o,outfile,o":"outfile", \
                         "t,title,o":"title", \
                         "H,help,o":"", \
                         "i,installdir,o":"installdir", \
                         "n,configfile,o":"configfile" })

meta = {}

if ret_val == "bad":
    usage()
    exit(1)
elif ret_val == "help":
    usage()
    exit(0)
Exemple #2
0
    print "\t-o, --outfile: optional png output filename"
    print "\t-t, --title: optional plot title"
    print "\t-H, --help: optional display usage information"
    print "\t-i, --installdir: optional UCVM isntall directory"
    print "\t-n, --configfile: optional UCVM configfile"
    print "UCVM %s\n" % VERSION

ret_val = get_user_opts({"b,origin":"lat1,lon1", \
    "u,destination":"lat2,lon2", \
                         "s,starting":"starting_elevation", \
    "e,ending":"ending_elevation", \
                         "d,datatype":"data_type", \
    "c,cvm":"cvm", \
    "h,horizonatal":"horizontal_spacing", \
    "v,vertical":"vertical_spacing", \
                         "z,zrange,o":"zrange1,zrange2", \
    "a,scale": "color", \
    "g,gate,o": "gate", \
    "f,datafile,o":"datafile", \
                         "o,outfile,o":"outfile", \
                         "t,title,o":"title", \
                         "H,help,o":"", \
                         "i,installdir,o":"installdir", \
                         "n,configfile,o":"configfile" })

meta = {}

if ret_val == "bad":
    usage()
    exit(1)
elif ret_val == "help":
Exemple #3
0
    print "\t-f, --datafile: optional binary input data filename"
    print "\t-F, --metadata: optional meta data filename"
    print "\t-o, --outfile: optional png output filename"
    print "\t-t, --title: optional plot title"
    print "\t-H, --help: optional display usage information"
    print "\t-i, --installdir: optional UCVM isntall directory"
    print "\t-n, --configfile: optional UCVM configfile"
    print "UCVM %s\n" % VERSION

ret_val = get_user_opts({"s,startingpoint":"lat1,lon1", \
    "b,startingdepth":"starting_depth", \
    "e,endingdepth":"ending_depth", \
    "c,cvm":"cvm", \
    "d,datatype":"data_type", \
    "v,vertical":"vertical_spacing", \
    "g,gating,o":"vs_threshold", \
    "f,datafile,o":"datafile", \
    "F,metadata,o":"metadata", \
    "o,outfile,o":"outfile", \
                         "t,title,o":"title", \
                         "H,help,o":"", \
                         "i,installdir,o":"installdir", \
                         "n,configfile,o":"configfile" })

meta = {}

if ret_val == "bad":
    usage()
    exit(1)
elif ret_val == "help":
    usage()
    exit(0)
Exemple #4
0
    print "\t-b, --bottomleft: bottom-left latitude, longitude (e.g. 34,-118)"
    print "\t-u, --upperright: upper-right latitude, longitude (e.g. 35,-117)"
    print "\t-s, --spacing: grid spacing in degrees (typically 0.01)"
    print "\t-e, --depth: depth for horizontal slice in meters (e.g. 1000)"
    print "\t-c, --cvm: one of the installed velocity models"
    print "\t-o, --outfile: output filename containing list of lines from ucvm_query"
    print "\t-H, --help: optional display usage information"
    print "\t-i, --installdir: optional UCVM isntall directory"
    print "\t-n, --configfile: optional UCVM configfile"
    print "UCVM %s\n" % VERSION

ret_val = get_user_opts({"b,bottomleft":"lat1,lon1", \
                         "u,upperright":"lat2,lon2", \
                         "s,spacing":"spacing", \
                         "e,depth":"depth", \
                         "c,cvm":"cvm", \
                         "o,outfile":"outfile", \
                         "H,help,o":"", \
                         "i,installdir,o":"installdir", \
                         "n,configfile,o":"configfile" })

meta = {}

if ret_val == "bad":
    usage()
    exit(1)
elif ret_val == "help":
    usage()
    exit(0)
elif len(ret_val) > 0:
    print "Using parameters:\n"
Exemple #5
0
    print "\t-t, --title: optional plot title"
    print "\t-H, --help: optional display usage information"
    print "\t-i, --installdir: optional UCVM install directory"
    print "\t-n, --configfile: optional UCVM configfile"
    print "UCVM %s\n" % VERSION


meta = {}

ret_val = get_user_opts({"b,bottomleft":"lat1,lon1", \
                         "u,upperright":"lat2,lon2", \
                         "s,spacing":"spacing", \
                         "c,cvm":"cvm", \
                         "f,datafile,o":"datafile", \
                         "o,outfile,o":"outfile", \
                         "x,nx,o":"nx", \
                         "y,ny,o":"ny", \
                         "a,scale": "color", \
                         "t,title,o":"title", \
                         "H,help,o":"", \
                         "i,installdir,o":"installdir", \
                         "n,configfile,o":"configfile" })

if ret_val == "bad":
    usage()
    exit(1)
elif ret_val == "help":
    usage()
    exit(0)
elif len(ret_val) > 0:
    print "Using parameters:\n"
    print "\t-f, --datafile: optional binary input data filename"
    print "\t-o, --outfile: optional png output filename"
    print "\t-t, --title: optional plot title"
    print "\t-H, --help: optional display usage information"
    print "\t-i, --installdir: optional UCVM isntall directory"
    print "\t-n, --configfile: optional UCVM configfile"
    print "UCVM %s\n" % VERSION


ret_val = get_user_opts({"s,startingpoint":"lat1,lon1", \
    "b,startingelevation":"starting_elevation", \
    "e,endingelevation":"ending_elevation", \
    "c,cvm":"cvm", \
    "d,datatype":"data_type", \
    "v,vertical":"vertical_spacing", \
                         "z,zrange,o":"zrange1,zrange2", \
    "g,gating,o":"vs_threshold", \
                         "f,datafile,o":"datafile", \
    "o,outfile,o":"outfile", \
                         "t,title,o":"title", \
                         "H,help,o":"", \
                         "i,installdir,o":"installdir", \
                         "n,configfile,o":"configfile" })

meta = {}

if ret_val == "bad":
    usage()
    exit(1)
elif ret_val == "help":
    usage()
    exit(0)