Commit 4bfd66e0 authored by Mario Chirinos's avatar Mario Chirinos

import .

parent 0e5bc990
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment