Commit ac36ec43 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

debug

parent 45904275
......@@ -55,7 +55,7 @@ class EodagS1():
logger.info(qs_tile[0].wgs84)
mpolywkt= str(qs_tile[0].wgs84.ewkt).split(";")
print(mpolywkt[1])
#print(mpolywkt[1])
product_types = ['S1_SAR_GRD','S2_MSI_L2A','S2_MSI_L3A_WASP']
......@@ -130,13 +130,13 @@ class EodagS1():
elif prodtypenum == 2:
logger.info("Search on Theia...")
self.mEODataAccessGateway.set_preferred_provider("theia")
mcentrowkt= str(qs_tile[0].centroid.wgs84.ewkt).split(";")
products_theia, estimated_theia_of_results = self.mEODataAccessGateway.search(
productType=product_types[prodtypenum],
start=startdate,
end=enddate,
geom=mpolywkt[1]
geom=mcentrowkt[1]
)
logger.info(
f"The THEIA search has found an estimated number of {estimated_theia_of_results} products matching your criteria "
......
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