diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index 40c380df9a9a9fc6f141130838a49593aca2107b..76d5bc0cc63175f6a38e110124b0a28d87599d83 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -100,9 +100,8 @@ def process_cld_prob_(grd_k):
     return grd_k
 
 
-def run_all(directory, out_directory, day_night='ANY'):
+def run_all(directory, out_directory, day_night='ANY', cnt=10):
 
-    cnt = 10
     total_num_train_samples = 0
     total_num_valid_samples = 0
     num_keep_x_tiles = 8