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

find products

parent cbf5a14e
......@@ -71,7 +71,7 @@ def getProducts(self, area, date, searchParameters):
products_list = self.api.query(area, date, area_relation='Intersects', **searchParameters)
return products_list
def downloadProducts(self,products,dir):
def downloadProducts(self,products,dir):
"""Download product(s) list Sentinel
Args:
......@@ -79,6 +79,7 @@ def getProducts(self, area, date, searchParameters):
products (OrderedDict): Product(s) to download.
dir (str): destination directory.
"""
os.chdir(dir)
# self.api.download_all(products)
for p in products:
......
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