diff --git a/alembic/versions/5e03ce584f3c_add_eez.py b/alembic/versions/5e03ce584f3c_add_eez.py index e3d728df..f951dd2c 100644 --- a/alembic/versions/5e03ce584f3c_add_eez.py +++ b/alembic/versions/5e03ce584f3c_add_eez.py @@ -44,6 +44,7 @@ def upgrade() -> None: session = orm.Session(bind=bind) eez = get_eez_from_url() # geojson.load(open("EEZ_and_HighSeas_20230410.json")) + eez = {"features": []} # noqa for feat in eez.get("features"): sovereign_keys = [ k for k in list(feat["properties"].keys()) if k.startswith("SOVEREIGN") diff --git a/alembic/versions/c0bd1215a3ca_add_iho.py b/alembic/versions/c0bd1215a3ca_add_iho.py index df574d85..841805cb 100644 --- a/alembic/versions/c0bd1215a3ca_add_iho.py +++ b/alembic/versions/c0bd1215a3ca_add_iho.py @@ -36,6 +36,7 @@ def upgrade() -> None: session = orm.Session(bind=bind) iho = get_iho_from_url() + iho = {"features": []} # noqa for feat in iho.get("features"): with session.begin(): aoi_iho = database_schema.AoiIho( diff --git a/alembic/versions/f9b7166c86b7_add_mpa.py b/alembic/versions/f9b7166c86b7_add_mpa.py index a44e10d8..e2d7ac19 100644 --- a/alembic/versions/f9b7166c86b7_add_mpa.py +++ b/alembic/versions/f9b7166c86b7_add_mpa.py @@ -36,6 +36,7 @@ def upgrade() -> None: session = orm.Session(bind=bind) mpa = get_mpa_from_url() + mpa = {"features": []} # noqa for feat in mpa.get("features"): with session.begin(): aoi_mpa = database_schema.AoiMpa( diff --git a/cerulean_cloud/cloud_run_orchestrator/handler.py b/cerulean_cloud/cloud_run_orchestrator/handler.py index 326059b9..e36b42df 100644 --- a/cerulean_cloud/cloud_run_orchestrator/handler.py +++ b/cerulean_cloud/cloud_run_orchestrator/handler.py @@ -527,14 +527,6 @@ async def _orchestrate( closing_meters=0, opening_meters=0, ) - fc_count = len(merged_inferences.feature_collections) - print( - f"XXXC >> Sanity Check, there area {fc_count} Feature Collections being fed to merge_inferences." - ) - print( - f"XXXC >> Checking the isolated_conf_multiplier: {merged_inferences.isolated_conf_multiplier}" - ) - print("XXXC >> IF WE GET HERE THE MERGE INFERENCES WORKED") if merged_inferences.get("features"): async with db_client.session.begin():