Commit a2bee0c9 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find Products

parent bc42c454
......@@ -37,8 +37,11 @@ def main(argv):
# with suppress_stdout():
# with contextlib.redirect_stdout(None):
productList = findSentinelProducts(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5])
for p in productList:
print(productList[p]['filename'])
fileNames = [productList[k]['filename'].replace("SAFE", "ZIP").replace("L1C", "L2A") for k in productList.keys() ]
print(fileNames)
# print(json.dumps(productList))
if __name__ == "__main__":
......
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