@@ -194,7 +194,7 @@ def process_all_bo_runs(
194194 base_exp_dir: The root directory where all BO folders live
195195 (e.g., '/work/n01/n01/sithom/adcirc-swan/tcpips/exp').
196196 output_base_dir: The target directory to save .nc files
197- (e.g., '/work/n01/n01/sithom/adcirc-swan/SurenetTestPH ').
197+ (e.g., '/work/n01/n01/sithom/adcirc-swan/SurgenetTestPH ').
198198 folder_names: A list of string names for the subfolders within
199199 `base_exp_dir` to process.
200200 skip_existing: If True, skips processing if the output .nc file
@@ -216,7 +216,10 @@ def process_all_bo_runs(
216216 input_folder_path = os .path .join (base_exp_dir , folder_name )
217217
218218 # 2. Construct output filename and path
219- output_name = folder_name .replace ("-" , "_" ) + ".nc"
219+ output_name = (
220+ folder_name .replace ("-" , "_" ).replace ("galverston" , "galveston" )
221+ + ".nc" # get rid of embarrassing typo
222+ )
220223 output_file_path = os .path .join (output_base_dir , output_name )
221224
222225 # 3. Check if we should skip
@@ -245,10 +248,12 @@ def process_all_bo_runs(
245248
246249 # 2. Define your batch job parameters
247250 BASE_EXP_DIR = "/work/n01/n01/sithom/adcirc-swan/tcpips/exp"
248- OUTPUT_DATA_DIR = "/work/n01/n01/sithom/adcirc-swan/SurenetTestPH "
251+ OUTPUT_DATA_DIR = "/work/n01/n01/sithom/adcirc-swan/SurgeNetTestPH "
249252
250253 # This is the raw string you provided
251- RAW_FOLDER_LIST_STRING = """
254+ RAW_FOLDER_LIST_STRING = """galverston-2015-1 galverson-2015-2 galverston-2015-3 galverston-2100-1 galverston-2100-2 galverston-2100-3 miami-2015-1 miami-2015-2 miami-2015-3 miami-2100-1 miami-2100-2 miami-2100-3 new-orleans-2015-1 new-orleans-2015-2 new-orleans-2015-3 new-orleans-2100-1 new-orleans-2100-2 new-orleans-2100-3"""
255+
256+ """
252257 2d-ani-1 galverston-2015-3 galverston-2100-8 miami-2100-11 new-orleans-2015-6
253258 8729840-2015 galverston-2015-3-ei galverston-2100-9 miami-2100-2 new-orleans-2015-7
254259 8729840-2100 galverston-2015-4 miami-2015 miami-2100-2-ei new-orleans-2015-8
0 commit comments