Commit 5bcea57a authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find products

parent ff7ba396
......@@ -29,7 +29,7 @@ def main(argv):
wkt = polygonToBox.getWKTPolygonBoundingBox(cfg['wkt'], True)
productList = findSentinelProducts(wkt, cfg['startDate'], cfg['endDate'], cfg['platform'], cfg['clouds'])
productsCodes = {"L2A":"L1C"}
productsCodes = {"L1C":"L1C","L2A":"L1C"}
fileNames = [productList[k]['filename'].replace("SAFE", "zip").replace(productsCodes[cfg['productLevel']], cfg['productLevel']) for k in productList.keys() ]
inDir = cfg["productsDir"]
outdir = cfg["linksDir"]
......
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