diff --git a/mpop/satin/nc_pps_l2.py b/mpop/satin/nc_pps_l2.py index 774c8e68..286644ce 100644 --- a/mpop/satin/nc_pps_l2.py +++ b/mpop/satin/nc_pps_l2.py @@ -278,7 +278,11 @@ def load(self, satscene, *args, **kwargs): for product in products: LOG.debug("Loading " + product) - if (prodfilename and + if isinstance(prodfilename, (list, tuple, set)): + for fname in prodfilename: + kwargs['filename'] = fname + self.load(satscene, *args, **kwargs) + elif (prodfilename and os.path.basename(prodfilename).split("_")[2] == NEW_PRODNAMES[product]): filename = prodfilename else: