diff --git a/modules/util/viirs.py b/modules/util/viirs.py index 45a961994fd4ba899e4a66f91a66c691f65c4ca3..cff98c91c51d7b06aafebccbde28ef8099160e0d 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)