Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
0d502607
Commit
0d502607
authored
May 23, 2018
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
box
parent
cf87bbdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
polygonToBox.py
geosentinel/polygonToBox.py
+1
-1
productListToNDVI.sh
tools/productListToNDVI.sh
+1
-1
No files found.
geosentinel/polygonToBox.py
View file @
0d502607
...
...
@@ -27,7 +27,7 @@ def getWKTPolygonBoundingBox(polygon):
def
main
(
argv
):
print
(
argv
[
1
])
getWKTPolygonBoundingBox
(
argv
[
1
])
#
getWKTPolygonBoundingBox(argv[1])
if
__name__
==
"__main__"
:
main
(
sys
.
argv
)
...
...
tools/productListToNDVI.sh
View file @
0d502607
...
...
@@ -43,7 +43,7 @@ do
mkdir
video
fi
BOX
=
$(
python3
"
$HOME
/git/GeoSentinel/geosentinel/polygonToBox.py"
$3
)
gdal_translate
-projwin
$BOX
-projwin_srs
WGS84
-ot
Byte
-scale
0 4096 0 255
-of
JPEG ndvi/
$fileout2
"_"
$fileout1
".tiff"
video/
$fileout2
"_"
$fileout1
".jpg"
#
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video/$fileout2"_"$fileout1".jpg"
cd
..
...
...
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