Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoSentinel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoSentinel
Commits
17335915
Commit
17335915
authored
May 14, 2018
by
Alfonso Ramire Pedraza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
4e5bebc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
UnZip.py
geosentinel/UnZip.py
+6
-6
No files found.
geosentinel/UnZip.py
View file @
17335915
...
@@ -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_SL
C')
>>> Files = tools('
MSIL1
C')
>>> 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.unzip
Files
Sentinel(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
unzip
Files
Sentinel
(
self
,
list_files
):
#def findFilesSentinel(self,dir,platform):
#def findFilesSentinel(self,dir,platform):
"""UnZip Files Sentinel
"""UnZip Files Sentinel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment