From 9bd4e6c8d2acd768664e03226ecfc6eaf3a29487 Mon Sep 17 00:00:00 2001 From: Martin Raspaud Date: Fri, 9 Jan 2015 23:08:17 +0100 Subject: [PATCH] Print out files matching in debug. Signed-off-by: Martin Raspaud --- mpop/satin/aapp1b.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpop/satin/aapp1b.py b/mpop/satin/aapp1b.py index 113bb148..38dc04d8 100644 --- a/mpop/satin/aapp1b.py +++ b/mpop/satin/aapp1b.py @@ -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): @@ -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)