scripts/download_sen12.py
def _create_filename_parts(self):
        '''
        Helper function that creates a filename based on the configuration file
        '''

        if isinstance(self.source['name'], str):
            self.source['name'] = [self.source['name']]

        if 'prefix' in self.sensor:
            if isinstance(self.sensor['prefix'], str):
                self.sensor['prefix'] = [self.sensor['prefix']]
            filename_parts = self.sensor['prefix'] + self.source['name']
        else:
            filename_parts = self.source['name']

        return filename_parts

        Helper function that creates a filename based on the configuration file
        
Helper function that creates a filename based on the configuration file
Helper function that creates a filename based on the configuration file
def _create_filename_parts(self):
        if isinstance(self.source['name'], str):
            self.source['name'] = [self.source['name']]
        if 'prefix' in self.sensor:
            if isinstance(self.sensor['prefix'], str):
                self.sensor['prefix'] = [self.sensor['prefix']]
            filename_parts = self.sensor['prefix'] + self.source['name']
        else:
            filename_parts = self.source['name']
        return filename_parts
def _create_filename_parts ( self ) : if isinstance ( self . source [ 'name' ] , str ) : self . source [ 'name' ] = [ self . source [ 'name' ] ] if 'prefix' in self . sensor : if isinstance ( self . sensor [ 'prefix' ] , str ) : self . sensor [ 'prefix' ] = [ self . sensor [ 'prefix' ] ] filename_parts = self . sensor [ 'prefix' ] + self . source [ 'name' ] else : filename_parts = self . source [ 'name' ] return filename_parts
Helper function that creates a filename based on the configuration file
Helper function that creates a filename based on the configuration file
'''
        Helper function that creates a filename based on the configuration file
        '''
self