Skip to content

Commit

Permalink
convert nex pois to float then to int
Browse files Browse the repository at this point in the history
  • Loading branch information
shorvath-noaa committed Sep 25, 2024
1 parent d71863b commit d521f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/troute-network/troute/nhd_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2276,7 +2276,7 @@ def mask_find_seg(mask_list, nexus_dict, poi_crosswalk):

for key, val in nexus_dict.items():
nex_key = int(key.split('-')[-1])
nex_id[nex_key] = [int(v.split('-')[-1]) for v in val]
nex_id[nex_key] = [int(float(v.split('-')[-1])) for v in val]
else:
for key in mask_list['nex']:
item = f'nex-{key}'
Expand Down

0 comments on commit d521f02

Please sign in to comment.