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
98be52dc
Commit
98be52dc
authored
Oct 07, 2018
by
Mario Chirinos Colunga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L1C to L2A
parent
cb0250ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mergeImages.sh
tools/mergeImages.sh
+2
-2
mergeImagesByDirectory.sh
tools/mergeImagesByDirectory.sh
+1
-1
No files found.
tools/mergeImages.sh
View file @
98be52dc
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
DIR
=
$1
#Output filename
DIR
=
$1
#Output filename
POLYGON
=
$2
#Crop Window
POLYGON
=
$2
#Crop Window
BOX
=
$(
polygonToBox.py
"
$POLYGON
"
)
#
BOX=$(polygonToBox.py "$POLYGON")
BOX
=
$POLYGON
##------------------------------------------------------------------------------
##------------------------------------------------------------------------------
cd
$DIR
cd
$DIR
DIRNAME
=
$(
echo
$DIR
|
cut
-d
"/"
-f1
)
DIRNAME
=
$(
echo
$DIR
|
cut
-d
"/"
-f1
)
...
...
tools/mergeImagesByDirectory.sh
View file @
98be52dc
...
@@ -4,7 +4,7 @@ POLYGON=$2 #Crop Window
...
@@ -4,7 +4,7 @@ POLYGON=$2 #Crop Window
JOBS
=
${
3
:-
1
}
JOBS
=
${
3
:-
1
}
BOX
=
$(
polygonToBox.py
"
$POLYGON
"
1
)
BOX
=
$(
polygonToBox.py
"
$POLYGON
"
)
if
[
"$#"
-le
1
]
;
then
if
[
"$#"
-le
1
]
;
then
echo
"Usage "
$0
" <Parent Directory with subdirectories> <POLYGON> [jobs]"
echo
"Usage "
$0
" <Parent Directory with subdirectories> <POLYGON> [jobs]"
exit
exit
...
...
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