Skip to content
Snippets Groups Projects
Commit dbb89fb2 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Remove intermediary variables

Note that llcrnrlat and urcrnrlat were not used.
parent fac57da8
No related branches found
No related tags found
No related merge requests found
......@@ -177,9 +177,7 @@ if __name__ == "__main__":
args = parser.parse_args()
if args.window is not None:
llcrnrlon, llcrnrlat, urcrnrlon, urcrnrlat = args.window
if urcrnrlon - llcrnrlon > 360:
if args.window[2] - args.window[0] > 360:
sys.exit("bad values of urcrnrlon and llcrnrlon")
if args.window is None or args.grid:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment