Skip to content

Commit

Permalink
Log the config file used to generate the scene.
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 5, 2014
1 parent c9ad59a commit da74419
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mpop/satellites/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def build_sat_instr_compositer((satellite, number, variant), instrument):
fullname = variant + satellite + number

conf = ConfigParser()
conf.read(os.path.join(CONFIG_PATH, fullname + ".cfg"))
config_file = os.path.join(CONFIG_PATH, fullname + ".cfg")
LOG.debug("Looking for config file %s", config_file)
conf.read(config_file)

try:
mod = __import__("mpop.instruments." + instrument,
Expand Down

0 comments on commit da74419

Please sign in to comment.