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

Polish

parent 8dedced1
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ the file perf_report.csv.
"""
import argparse
import datetime
import shutil
import nco
......@@ -85,10 +84,12 @@ def loop_inst_eddies(files, bbox, d):
if bbox: os.remove("cropped.nc")
if __name__ == "__main__":
import argparse
argparser = argparse.ArgumentParser()
argparser.add_argument("file", nargs = "+",
help = "NetCDF file containing SSH and velocity at a "
"single date")
help = "NetCDF file containing SSH and velocity "
"at a single date")
argparser.add_argument("-b", "--bbox", nargs=4, type = float,
metavar = ("xmin", "xmax", "ymin", "ymax"))
args = argparser.parse_args()
......
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