scripts/download_sen12.py
def run(self, source_nums=[0], loop_start=0, limit=None, polygon_id_list=None):
        '''
        Runs process_datasource with each source in source_nums
        '''
        full_exports = []
        full_exceptions = []
        for source_num in source_nums:
            config_dict = self._load_config(self.config_file, source_num)
            for sensor_num in self.source['sensors']:
                self.sensor = config_dict['sensors'][sensor_num]
                print(f'Processing source {source_num} with sensor {sensor_num}')
                exports, exceptions = self.process_datasource(
                    loop_start=loop_start, limit=limit, polygon_id_list=polygon_id_list
                )
                full_exports.append(exports)
                full_exceptions.append(exceptions)

        return full_exports, full_exceptions

        Runs process_datasource with each source in source_nums
        
Runs process_datasource with each source in source_nums
Runs process_datasource with each source in source_nums
def run(self, source_nums=[0], loop_start=0, limit=None, polygon_id_list=None):
        full_exports = []
        full_exceptions = []
        for source_num in source_nums:
            config_dict = self._load_config(self.config_file, source_num)
            for sensor_num in self.source['sensors']:
                self.sensor = config_dict['sensors'][sensor_num]
                print(f'Processing source {source_num} with sensor {sensor_num}')
                exports, exceptions = self.process_datasource(
                    loop_start=loop_start, limit=limit, polygon_id_list=polygon_id_list
                )
                full_exports.append(exports)
                full_exceptions.append(exceptions)
        return full_exports, full_exceptions
def run ( self , source_nums = [ 0 ] , loop_start = 0 , limit = None , polygon_id_list = None ) : full_exports = [ ] full_exceptions = [ ] for source_num in source_nums : config_dict = self . _load_config ( self . config_file , source_num ) for sensor_num in self . source [ 'sensors' ] : self . sensor = config_dict [ 'sensors' ] [ sensor_num ] print ( f'Processing source {source_num} with sensor {sensor_num}' ) exports , exceptions = self . process_datasource ( loop_start = loop_start , limit = limit , polygon_id_list = polygon_id_list ) full_exports . append ( exports ) full_exceptions . append ( exceptions ) return full_exports , full_exceptions
Runs process_datasource with each source in source_nums
Runs process_datasource with each source in source_nums
'''
        Runs process_datasource with each source in source_nums
        '''
self
source_nums
loop_start
limit
polygon_id_list