pyroSAR/S1/auxil.py
def clean_res(self):
        """
        delete all RES files for whose date a POE file exists
        """
        maxdate_poe = self.maxdate('POE', 'stop')
        deprecated = [x for x in self.getLocals('RES') if self.date(x, 'stop') < maxdate_poe]
        print('deleting {0} RES files'.format(len(deprecated)))
        for item in deprecated:
            os.remove(item)

        delete all RES files for whose date a POE file exists
        
delete all RES files for whose date a POE file exists
delete all RES files for whose date a POE file exists
def clean_res(self):
        maxdate_poe = self.maxdate('POE', 'stop')
        deprecated = [x for x in self.getLocals('RES') if self.date(x, 'stop') < maxdate_poe]
        print('deleting {0} RES files'.format(len(deprecated)))
        for item in deprecated:
            os.remove(item)
def clean_res ( self ) : maxdate_poe = self . maxdate ( 'POE' , 'stop' ) deprecated = [ x for x in self . getLocals ( 'RES' ) if self . date ( x , 'stop' ) < maxdate_poe ] print ( 'deleting {0} RES files' . format ( len ( deprecated ) ) ) for item in deprecated : os . remove ( item )
delete all RES files for whose date a POE file exists
delete all RES files for whose date a POE file exists
"""
        delete all RES files for whose date a POE file exists
        """
self