geosolutions-it / evo-odas

Code Repository for the EVO-ODAS
https://waffle.io/geosolutions-it/evo-odas
MIT License
31 stars 15 forks source link

Feature 243 #251

Closed maabdelghaffar closed 6 years ago

maabdelghaffar commented 6 years ago

This PR includes:

Notes: in Landsat8SearchOperator i have added the following: _if self.area is None or self.dbcredentials is None: log.info("Either area is received None or credentials are set to wrong values.") return

Also i changed the following instead of throwing an exception in case no product returned from the search operator: _if product_id is None or entity_id is None or download_url is None: log.error("Could not find any product for the {} area".format(self.area)) return else: return (product_id, entity_id, downloadurl) So that we avoid throwing an exception from the operator.