tmpList=sentinel.getProducts(wkt,(cfg['startDate'],cfg['endDate']),{"producttype":productType[cfg["productLevel"]],"platformname":cfg['platform'],"cloudcoverpercentage":"[0 TO "+str(cfg['clouds'])+"]"},"Contains")
tmpList=sentinel.getProducts(wkt,(cfg['startDate'],cfg['endDate']),{"producttype":productType[cfg["productLevel"]],"platformname":cfg['platform'],"cloudcoverpercentage":"[0 TO "+str(cfg['clouds'])+"]"},"Contains")
...
@@ -61,7 +44,7 @@ def main(argv):
...
@@ -61,7 +44,7 @@ def main(argv):
tmpList=sentinel.getProducts(wkt,(cfg['startDate'],cfg['endDate']),{"producttype":productType[cfg["productLevel"]],"platformname":cfg['platform'],"cloudcoverpercentage":"[0 TO "+str(cfg['clouds'])+"]"})
tmpList=sentinel.getProducts(wkt,(cfg['startDate'],cfg['endDate']),{"producttype":productType[cfg["productLevel"]],"platformname":cfg['platform'],"cloudcoverpercentage":"[0 TO "+str(cfg['clouds'])+"]"})
productList.update(tmpList)
productList.update(tmpList)
# fileNames = [productList[k]['filename'].replace("SAFE", "zip").replace(productsCodes[cfg['productLevel']], cfg['productLevel']) for k in productList.keys() ]