From c9f34bac54ad6ba8fc5e49e53fac4c2d02e5ebeb Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 11 May 2022 13:43:36 -0500 Subject: [PATCH] snapshot... --- modules/util/viirs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/util/viirs.py b/modules/util/viirs.py index 45a96199..cff98c91 100644 --- a/modules/util/viirs.py +++ b/modules/util/viirs.py @@ -19,6 +19,8 @@ def run_all(directory): if idx % 2 == 0: w_o_ext, ext = os.path.splitext(mfile) ifile = w_o_ext+'.highres'+ext + if not os.path.exists(ifile): + continue run(mfile, ifile, mod_tiles, img_tiles) mod_nda = np.stack(mod_tiles) -- GitLab