Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/temporal/t.avalanche.stats/t.avalanche.stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def process_avalanche_map(avalanche_map_row, **kwargs):
gs.percent(idx + 1, areas_n, 3)

# Skip areas without centroid / cat
if not area.centroid().cat:
if not area.centroid() or not area.centroid().cat:
continue
if not valid_area_range[0] < area.area() < valid_area_range[1]:
gs.verbose(
Expand Down
Loading