Skip to content

Commit

Permalink
Bugfix: return when each file has been loaded independently.
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
  • Loading branch information
mraspaud committed Nov 17, 2014
1 parent 97cd11c commit dd60097
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpop/satin/nc_pps_l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ def load(self, satscene, *args, **kwargs):
for fname in prodfilename:
kwargs['filename'] = fname
self.load(satscene, *args, **kwargs)
return
elif (prodfilename and
os.path.basename(prodfilename).startswith('S_NWC') and
os.path.basename(prodfilename).split("_")[2] == NEW_PRODNAMES[product]):
Expand Down

0 comments on commit dd60097

Please sign in to comment.