Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
args.input_url = args.input_imfv283_url
usingDeprecated = True
elif args.input_imfv283_goes:
args.input = 'goes'
usingDeprecated = True
# map legacy output arguments
if args.output_edge is not None:
args.output = 'edge'
args.output_host = args.output_edge
args.output_port = args.edge_write_port
usingDeprecated = True
elif args.output_iaga_file is not None:
args.output = 'iaga2002'
args.output_file = args.output_iaga_file
usingDeprecated = True
elif args.output_iaga_stdout:
args.output = 'iaga2002'
args.output_stdout = True
usingDeprecated = True
elif args.output_iaga_url is not None:
args.output = 'iaga2002'
args.output_url = args.output_iaga_url
usingDeprecated = True
elif args.output_pcdcp_file is not None:
args.output = 'pcdcp'
args.output_file = args.output_pcdcp_file
usingDeprecated = True
elif args.output_pcdcp_stdout:
args.output = 'pcdcp'
args.output_stdout = True
usingDeprecated = True
elif args.output_pcdcp_url is not None:
args.output = 'pcdcp'
args.output_url = args.output_pcdcp_url
usingDeprecated = True
elif args.output_plot:
args.output = 'plot'
usingDeprecated = True
if usingDeprecated:
print('WARNING: you are using deprecated arguments,' +
' please update your usage', file=sys.stderr)