Skip to content

Commit

Permalink
turn on slow test in committed file
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halgren committed Jan 27, 2023
1 parent 7046cd5 commit 3dc7705
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ngen_forcing/test_process_nwm_forcing_to_ngen.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ def main():

# This way is extremely slow for anything more than a
# few files, so we comment it out of the test
# start_time = time.time()
# print(f"Working on the original way")
# forcing_dict = get_forcing_dict(
# gpkg_subset,
# folder_prefix,
# file_list,
# var_list,
# )
# print(time.time() - start_time)
start_time = time.time()
print(f"Working on the old (slow) way")
fd1 = get_forcing_dict(
gpkg_subset,
folder_prefix,
file_list,
var_list,
)
print(time.time() - start_time)

start_time = time.time()
print(f"Working on the new way")
Expand Down

0 comments on commit 3dc7705

Please sign in to comment.