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
4bfd66e0
Commit
4bfd66e0
authored
Mar 11, 2021
by
Mario Chirinos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
import .
parent
0e5bc990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
imageMissingData.py
geosentinel/imageMissingData.py
+13
-10
No files found.
geosentinel/imageMissingData.py
View file @
4bfd66e0
...
...
@@ -7,22 +7,25 @@ import gdal
import
sys
,
os
import
json
########### lee archivo de configuración ################
dirname
=
os
.
path
.
dirname
(
__file__
)
configfile
=
os
.
path
.
join
(
dirname
,
'../config/config.json'
)
###########
#
lee archivo de configuración ################
#
dirname = os.path.dirname(__file__)
#
configfile = os.path.join(dirname, '../config/config.json')
with
open
(
configfile
,
'r'
)
as
f
:
config
=
json
.
load
(
f
)
#
with open(configfile, 'r') as f:
#
config = json.load(f)
#print(config['PATHS']['PATH_GEOSENTINEL'])
#
#
print(config['PATHS']['PATH_GEOSENTINEL'])
SENTINEL_PATH
=
config
[
'PATHS'
][
'PATH_GEOSENTINEL'
]
###########################################################
#
SENTINEL_PATH = config['PATHS']['PATH_GEOSENTINEL']
###########################################################
#
sys
.
path
.
append
(
SENTINEL_PATH
)
#sys.path.append(SENTINEL_PATH)
if
__name__
==
"__main__"
:
# Local Run
import
rasterWkt
else
:
# Module Run, When going production - delete if/else
from
.
import
rasterWkt
from
geosentinel
import
rasterWkt
#-------------------------------------------------------------------------------
def
imageMissingData
(
filename
,
wkt
):
...
...
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