Skip to content

Commit

Permalink
typo mask routine
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticSnow committed Mar 14, 2024
1 parent 1d834bd commit f1dc7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TopoPyScale/topoclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def extract_topo_cluster_param(self):
print(f'---> Only consider grid cells inside mask ({Path(mask_file).name})')

# get mask
mask = ts.ds_to_indexed_dataframe(ds)['mask'] == 1
mask = ts.ds_to_indexed_dataframe(ds_mask)['mask'] == 1

# add cluster groups. Groups can be landcover classes for instance
if groups_file in [None, {}]:
Expand Down

0 comments on commit f1dc7cf

Please sign in to comment.