Skip to content

Commit

Permalink
Handle source rasters with only 1 overview level.
Browse files Browse the repository at this point in the history
  • Loading branch information
akirmse committed Mar 19, 2024
1 parent bb9e7b8 commit dbc5c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_lidar_prominence.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def create_vrts(tile_dir, input_files):
print("Data has no overviews; using full resolution (slow)")
overview_level = None
else:
overview_level = min(2, num_overviews)
overview_level = min(2, num_overviews-1)
raw_dataset = None

print(" Computing boundary")
Expand Down

0 comments on commit dbc5c0d

Please sign in to comment.