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

Polish

parent cd434174
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,6 @@ days_1950 = int(reply[0])
eddy_index = int(reply[1])
# Find ishape:
filename = path.join(args.directory, "extremum")
with shapefile.Reader(filename) as f:
......@@ -29,6 +28,7 @@ with shapefile.Reader(filename) as f:
break
else:
sys.exit("Not found")
#--
for basename in ["extremum", "outermost_contour", "max_speed_contour"]:
filename = path.join(args.directory, basename)
......
......@@ -228,8 +228,8 @@ if __name__ == "__main__":
help = "dashed linestyle, useful for a second snapshot")
parser.add_argument("-a", "--anim", type = int, nargs = 2,
metavar = ("d_min", "d_max"), help = "make animation")
parser.add_argument("shpc_dir", help = "containing the collection of "
"shapefiles")
parser.add_argument("shpc_dir", help = "directory containing the "
"collection of shapefiles")
parser.add_argument("--save", metavar = "format",
help = "Save file to specified format")
args = parser.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