Commit 6c41acab authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

findproducts

parent 1bf2ee8c
...@@ -24,7 +24,7 @@ class Command(BaseCommand): ...@@ -24,7 +24,7 @@ class Command(BaseCommand):
products = findProducts.findSentinelProducts(options['wkt'][0], options['startDate'][0], options['endDate'][0], options['platform'][0], options['cloud'][0]) products = findProducts.findSentinelProducts(options['wkt'][0], options['startDate'][0], options['endDate'][0], options['platform'][0], options['cloud'][0])
print products print products
pl1c = Product_l1c.objects.all().filter(identifier__in=products) pl1c = Product_l1c.objects.all().filter(uuid__in=products)
print pl1c print pl1c
pl2a = Product_l1c.objects.all().filter(identifier__in=pl1c) pl2a = Product_l1c.objects.all().filter(identifier__in=pl1c)
......
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