L2A_P.py 462 Bytes
Newer Older
Daniel Scheffler's avatar
Daniel Scheffler committed
1
# -*- coding: utf-8 -*-
2
"""Level 2A Processor: Spatial homogenization"""
Daniel Scheffler's avatar
Daniel Scheffler committed
3

4
from .L1C_P import L1C_object
5

6
7
__author__ = 'Daniel Scheffler'

8

9
class L2A_object(L1C_object):
10
    def __init__(self, L1C_obj=None):
11
        super(L2A_object, self).__init__()
12
13
14

        if L1C_obj:
            # populate attributes
15
            [setattr(self, key, value) for key, value in L1C_obj.__dict__.items()]
16

17
        self.proc_level = 'L2A'
18
        self.proc_status = 'initialized'