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
ddd65317
Commit
ddd65317
authored
Oct 08, 2018
by
Mario Chirinos Colunga
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
processing
parent
f233d393
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
6 deletions
+27
-6
APISentinel.pyc
geosentinel/APISentinel.pyc
+0
-0
__init__.pyc
geosentinel/__init__.pyc
+0
-0
polygonToBox.pyc
geosentinel/polygonToBox.pyc
+0
-0
L2ASCL_AreaProcessing.sh
tools/L2ASCL_AreaProcessing.sh
+27
-6
No files found.
geosentinel/APISentinel.pyc
View file @
ddd65317
No preview for this file type
geosentinel/__init__.pyc
View file @
ddd65317
No preview for this file type
geosentinel/polygonToBox.pyc
View file @
ddd65317
No preview for this file type
tools/L2ASCL_AreaProcessing.sh
View file @
ddd65317
...
...
@@ -15,8 +15,8 @@ NC='\033[0m' # No Color
echo
$USERDIR
cd
$USERDIR
#Link L2A products
echo
"Linking Products"
#
1.-
Link L2A products
echo
"Linking Products
...
"
if
[
!
-d
"L2A"
]
;
then
mkdir
L2A
fi
...
...
@@ -25,13 +25,34 @@ cd L2A
cd
..
echo yes
| findProducts.py
$USERDIR
"findProducts.json"
#Extract Images
echo
"Extracting JP2 Images"
#
2.-
Extract Images
echo
"Extracting JP2 Images
...
"
if
[
!
-d
"jp2"
]
;
then
mkdir
jp2
fi
L2AProductListExtractData.sh
$USERDIR
"L2A/"
$USERDIR
"jp2/"
4
#Merge Images
echo
"Merging Images"
#
3.-
Merge Images
echo
"Merging Images
...
"
mergeImagesByDirectory.sh
$USERDIR
"jp2/"
"
$WKT
"
4
#4.- Delete images with few data
cd
jp2/merged_out/
if
[
!
-d
"SCL"
]
;
then
mkdir
SCL
fi
cp
*
SCL_20m.tif SCL
cd
SCL
ls
*
.tif | parallel
--jobs
4 imageMissingData.py
{}
50
##for tci in $($ls *.tif)
##do
## fileprefix=$(echo tci )
##done
cd
$USERDIR
##Extract SCL information
#if [ ! -d "json" ]; then
# mkdir json
#fi
#mv *SCL_20m.tif json
#cd json
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