Skip to content

Commit

Permalink
Print out files matching in debug.
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 Jan 9, 2015
1 parent 5bc26ab commit 9bd4e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpop/satin/aapp1b.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) 2012, 2013, 2014 SMHI
# Copyright (c) 2012, 2013, 2014, 2015 SMHI

# Author(s):

Expand Down Expand Up @@ -121,7 +121,7 @@ def load_avhrr(satscene, options):
file_list = glob.glob(filename)

if len(file_list) > 1:
raise IOError("More than one l1b file matching!")
raise IOError("More than one l1b file found: " + str(file_list))
elif len(file_list) == 0:
raise IOError("No l1b file matching!: " + filename)

Expand Down

0 comments on commit 9bd4e6c

Please sign in to comment.