pyroSAR/S1/auxil.py
def retrieve(self, files):
        """
        download a list of remote files into the respective subdirectories, i.e. POEORB or RESORB

        Parameters
        ----------
        files: list
            a list of remotely existing OSV files as returned by method :meth:`catch`

        Returns
        -------
        """
        self._init_dir()
        for type in ['POE', 'RES']:
            address, outdir = self._typeEvaluate(type)
            downloads = [x for x in files
                         if re.search('{}ORB'.format(type), x) and
                         not os.path.isfile(os.path.join(outdir, os.path.basename(x)))]
            for item in downloads:
                infile = urlopen(item, context=self.sslcontext)
                with open(os.path.join(outdir, os.path.basename(item)), 'wb') as outfile:
                    outfile.write(infile.read())
                infile.close()

        download a list of remote files into the respective subdirectories, i.e. POEORB or RESORB

        Parameters
        ----------
        files: list
            a list of remotely existing OSV files as returned by method :meth:`catch`

        Returns
        -------
        
download a list of remote files into the respective subdirectories, i.e. POEORB or RESORB
Parameters

list
a list of remotely existing OSV files as returned by method :meth:`catch`

Returns
download a list of remote files into the respective subdirectories i . e . POEORB or RESORB Parameters list a list of remotely existing OSV files as returned by method : meth : ` catch ` Returns
def retrieve(self, files):
        self._init_dir()
        for type in ['POE', 'RES']:
            address, outdir = self._typeEvaluate(type)
            downloads = [x for x in files
                         if re.search('{}ORB'.format(type), x) and
                         not os.path.isfile(os.path.join(outdir, os.path.basename(x)))]
            for item in downloads:
                infile = urlopen(item, context=self.sslcontext)
                with open(os.path.join(outdir, os.path.basename(item)), 'wb') as outfile:
                    outfile.write(infile.read())
                infile.close()
def retrieve ( self , files ) : self . _init_dir ( ) for type in [ 'POE' , 'RES' ] : address , outdir = self . _typeEvaluate ( type ) downloads = [ x for x in files if re . search ( '{}ORB' . format ( type ) , x ) and not os . path . isfile ( os . path . join ( outdir , os . path . basename ( x ) ) ) ] for item in downloads : infile = urlopen ( item , context = self . sslcontext ) with open ( os . path . join ( outdir , os . path . basename ( item ) ) , 'wb' ) as outfile : outfile . write ( infile . read ( ) ) infile . close ( )
download a list of remote files into the respective subdirectories, i.e.
download a list of remote files into the respective subdirectories i . e .
"""
        download a list of remote files into the respective subdirectories, i.e. POEORB or RESORB

        Parameters
        ----------
        files: list
            a list of remotely existing OSV files as returned by method :meth:`catch`

        Returns
        -------
        """
self
files