Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Sep 12, 2024
1 parent 4d8b77a commit 9062824
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cerulean_cloud/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,13 @@ def stitch(
logging.info("Stitching tile probabilites together!")
scene_array, transform = rio_merge(ds_tiles)
return scene_array, transform
except Exception as e:
print("len(ds_tiles)", len(ds_tiles))
print("len(tile_probs_by_class)", len(tile_probs_by_class))
print("len(tileset_results)", len(tileset_results))
print("len(bounds_list)", len(bounds_list))
print("len(tileset_bounds)", len(tileset_bounds))
raise e
finally:
for ds in ds_tiles:
ds.close()
Expand Down

0 comments on commit 9062824

Please sign in to comment.