From 690401401cbad0f9614d1e4c88b01406eff3c9ea Mon Sep 17 00:00:00 2001 From: Jona Date: Wed, 19 Jul 2023 21:23:28 +0100 Subject: [PATCH] Oops. Don't raise an error if insertable --- cerulean_cloud/database_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cerulean_cloud/database_client.py b/cerulean_cloud/database_client.py index bf07c1e7..b0d18fa5 100644 --- a/cerulean_cloud/database_client.py +++ b/cerulean_cloud/database_client.py @@ -72,7 +72,7 @@ async def get_model(self, model_path: str): async def get_sentinel1_grd(self, sceneid: str, scene_info: dict, titiler_url: str): """get sentinel1 record""" - s1_grd = await get(self.session, db.Sentinel1Grd, scene_id=sceneid) + s1_grd = await get(self.session, db.Sentinel1Grd, False, scene_id=sceneid) if not s1_grd: shape_s1 = shape(scene_info["footprint"])