From 3dc7705f98c037a1a12eefde3f9b2dc3421c1fba Mon Sep 17 00:00:00 2001 From: James Halgren <jshalgren@ua.edu> Date: Fri, 27 Jan 2023 13:48:06 -0600 Subject: [PATCH] turn on slow test in committed file --- .../test_process_nwm_forcing_to_ngen.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ngen_forcing/test_process_nwm_forcing_to_ngen.py b/ngen_forcing/test_process_nwm_forcing_to_ngen.py index 5850bfb..a7d1404 100644 --- a/ngen_forcing/test_process_nwm_forcing_to_ngen.py +++ b/ngen_forcing/test_process_nwm_forcing_to_ngen.py @@ -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")