Update

parent 4e5bebc4
...@@ -11,13 +11,13 @@ from tools import (tools) ...@@ -11,13 +11,13 @@ from tools import (tools)
class UnZip(object): class UnZip(object):
""" Class for Sentinel satellites configuration """ Class for Sentinel satellites configuration
Test Case Test Case
>>> Files = tools('IW_SLC') >>> Files = tools('MSIL1C')
>>> dir='make' >>> dir='make/'
>>> platform='Sentinel-1' >>> platform='Sentinel-2'
>>> list_files=Files.findFilesSentinel(dir,platform) >>> list_files=Files.findFilesSentinel(dir,platform,1)
>>> print 'There is/are %d ' % len(list_files) + platform + ' file(s)' >>> print 'There is/are %d ' % len(list_files) + platform + ' file(s)'
>>> unzip=UnZip(dir) >>> unzip=UnZip(dir)
>>> unzip.unzip_files_Sentinel(list_files) >>> unzip.unzipFilesSentinel(list_files)
""" """
...@@ -33,7 +33,7 @@ class UnZip(object): ...@@ -33,7 +33,7 @@ class UnZip(object):
""" """
self.dir=folder self.dir=folder
def unzip_files_Sentinel(self,list_files): def unzipFilesSentinel(self,list_files):
#def findFilesSentinel(self,dir,platform): #def findFilesSentinel(self,dir,platform):
"""UnZip Files Sentinel """UnZip Files Sentinel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment