Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Sen2Chain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESPACE-DEV
Sen2Chain
Commits
863868a8
Commit
863868a8
authored
3 years ago
by
pascal.mouquet_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
added detection of residual L2A *.tmp in L1C folder in Tile.clean_lib function
parent
04271778
No related branches found
No related tags found
No related merge requests found
Pipeline
#47
failed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sen2chain/tiles.py
+2
-2
2 additions, 2 deletions
sen2chain/tiles.py
with
2 additions
and
2 deletions
sen2chain/tiles.py
+
2
−
2
View file @
863868a8
...
@@ -11,7 +11,7 @@ import shutil
...
@@ -11,7 +11,7 @@ import shutil
from
PIL
import
Image
from
PIL
import
Image
import
distutils
import
distutils
import
os
import
os
from
itertools
import
chain
from
pathlib
import
Path
from
pathlib
import
Path
from
collections
import
namedtuple
from
collections
import
namedtuple
from
datetime
import
datetime
from
datetime
import
datetime
...
@@ -703,7 +703,7 @@ class Tile:
...
@@ -703,7 +703,7 @@ class Tile:
except
:
except
:
logger
.
error
(
"
Can
'
t remove {} from L1C folder
"
.
format
(
e
))
logger
.
error
(
"
Can
'
t remove {} from L1C folder
"
.
format
(
e
))
# identify residual l2a from l1c folder
# identify residual l2a from l1c folder
for
f
in
self
.
_paths
[
"
l1c
"
].
glob
(
"
*L2A*.SAFE
"
):
for
f
in
chain
(
self
.
_paths
[
"
l1c
"
].
glob
(
"
*L2A*.SAFE
"
)
,
self
.
_paths
[
"
l1c
"
].
glob
(
"
*L2A*.tmp
"
))
:
logger
.
info
(
"
Identified {} in L1C folder
"
.
format
(
f
.
name
))
logger
.
info
(
"
Identified {} in L1C folder
"
.
format
(
f
.
name
))
nb_id
+=
1
nb_id
+=
1
if
remove
:
if
remove
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment