From 1a8e329a60c33da52dcc3162e708fc3f1a16dc8a Mon Sep 17 00:00:00 2001 From: thunderhoser Date: Mon, 23 Nov 2020 16:35:10 -0700 Subject: [PATCH] Added print statement. --- gewittergefahr/gg_utils/echo_top_tracking.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gewittergefahr/gg_utils/echo_top_tracking.py b/gewittergefahr/gg_utils/echo_top_tracking.py index 44eb693a..8f0cba0c 100644 --- a/gewittergefahr/gg_utils/echo_top_tracking.py +++ b/gewittergefahr/gg_utils/echo_top_tracking.py @@ -1862,9 +1862,16 @@ def reanalyze_across_spc_dates( int(min_track_duration_seconds) )) + num_storm_objects_orig = len(concat_storm_object_table.index) concat_storm_object_table = temporal_tracking.remove_short_lived_storms( storm_object_table=concat_storm_object_table, - min_duration_seconds=min_track_duration_seconds) + min_duration_seconds=min_track_duration_seconds + ) + num_storm_objects = len(concat_storm_object_table.index) + + print('Removed {0:d} of {1:d} storm objects!!'.format( + num_storm_objects_orig, num_storm_objects_orig - num_storm_objects + )) print('Recomputing storm ages...') concat_storm_object_table = temporal_tracking.get_storm_ages(