From 89fea32e65bd14b4ef9dc246d17976808d435512 Mon Sep 17 00:00:00 2001 From: Jemma Stachelek Date: Tue, 9 Apr 2024 08:19:09 -0600 Subject: [PATCH] gate filename printing behind verbose --- rabpro/basin_stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rabpro/basin_stats.py b/rabpro/basin_stats.py index 9dda35c..bf22c92 100644 --- a/rabpro/basin_stats.py +++ b/rabpro/basin_stats.py @@ -469,7 +469,8 @@ def remove_geometry(feat): if filename is None: filename = dataset_to_filename(dt.prepend, dt.data_id, dt.band) - print(filename) + if verbose: + print(filename) filenames.append(filename)