Commit 79696b4c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix within AC of Landsat-7

algorithms.L1C_P.AtmCorr:
- added keyword 'reporting'
- revised property 'options'

- updated __version__


Former-commit-id: d7c74e9b
parent 0657813b
......@@ -15,7 +15,7 @@ from . import config
from .processing.process_controller import process_controller
__version__ = '20170208.01'
__version__ = '20170209.01'
__author__ = 'Daniel Scheffler'
__all__ = ['algorithms',
'io',
......
......@@ -216,7 +216,7 @@ class L1C_object(L1B_object):
class AtmCorr(object):
def __init__(self, *L1C_objs):
def __init__(self, *L1C_objs, reporting=False):
"""Wrapper around atmospheric correction by Andre Hollstein, GFZ Potsdam
Creates the input arguments for atmospheric correction from one or multiple L1C_object instance(s) belonging to
......@@ -242,6 +242,7 @@ class AtmCorr(object):
"Input GMS objects for 'AtmCorr' must all belong to the same scene ID!. Received %s." %scene_IDs
self.inObjs = L1C_objs
self.reporting = reporting
self.ac_input = {} # set by self.run_atmospheric_correction()
self.results = None # direct output of external atmCorr module (set by run_atmospheric_correction)
self.proc_info = {}
......@@ -488,6 +489,8 @@ class AtmCorr(object):
return self._options
else:
self._options = self.inObjs[0].ac_options
self._options["AC"]['bands'] = list(self.data.keys())
self._options["report"]["reporting"] = self.reporting
return self._options
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment