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

find Products

parent 07117ee2
...@@ -41,7 +41,6 @@ def main(argv): ...@@ -41,7 +41,6 @@ def main(argv):
fileNames = [productList[k]['filename'].replace("SAFE", "ZIP").replace("L1C", "L2A") for k in productList.keys() ] fileNames = [productList[k]['filename'].replace("SAFE", "ZIP").replace("L1C", "L2A") for k in productList.keys() ]
# print(fileNames) # print(fileNames)
dirList = os.listdir(".") dirList = os.listdir(".")
print (dirList)
matchingProducts = list(set(fileNames) & set(fileNames)) matchingProducts = list(set(fileNames) & set(fileNames))
print ( str(len(matchingProducts))+" of " + str(len(productList)) +" products found.") print ( str(len(matchingProducts))+" of " + str(len(productList)) +" products found.")
......
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