diff --git a/Inst_eddies/Analysis/stat_SHPC.py b/Inst_eddies/Analysis/stat_SHPC.py index 090d946157eea4f3807582eb3c03cc481a87f217..1d7a002057c9fd7eb2fa8fc372278782ba4082d9 100755 --- a/Inst_eddies/Analysis/stat_SHPC.py +++ b/Inst_eddies/Analysis/stat_SHPC.py @@ -10,7 +10,6 @@ parser.add_argument("SHPC") parser.add_argument("orientation", choices = ["Anticyclones", "Cyclones"]) args = parser.parse_args() -n_outer = 0 n_points = 0 n_valid_speed = 0 @@ -26,16 +25,11 @@ with shapefile.Reader(path.join(args.SHPC, "Slice_0", args.orientation, l = len(shape_rec_outer.shape.points) n_points += l - if shape_rec_outer.record.r_eq_area >= 0: n_outer += 1 - if rec_extr.speed != 1e4: n_valid_speed += 1 print("number of extrema of SSH:", n_extr, "\n") -print("number of outermost contours (outermost contour found, but may be with " - "sufficient area or not):", n_outer) - print("average number of points of outermost contour per extremum:", n_points / n_extr, "\n") print("number of valid speed values:", n_valid_speed)