Skip to content

Commit

Permalink
oops.. did not fully shut off filtered hucs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobHanna-NOAA committed Sep 26, 2024
1 parent 43d3894 commit f7dd2b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/generate_categorical_fim.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ def process_generate_categorical_fim(
# if os.path.isdir(os.path.join(fim_run_dir, x)) and x[0] in ['0', '1', '2']
# ]

valid_ahps_hucs.sort()
# valid_ahps_hucs.sort()

num_hucs = len(valid_ahps_hucs)
if num_hucs == 0:
raise ValueError(
f'Output directory {fim_run_dir} is empty. Verify that you have the correct input folder.'
)
# num_hucs = len(valid_ahps_hucs)
# if num_hucs == 0:
# raise ValueError(
# f'Output directory {fim_run_dir} is empty. Verify that you have the correct input folder.'
# )
# End of Validation and setup
# ================================

Expand Down

0 comments on commit f7dd2b2

Please sign in to comment.