From e70b09e8e3a99304ec044156dab56d97b48f138b Mon Sep 17 00:00:00 2001 From: James Halgren Date: Wed, 4 Sep 2024 17:34:53 -0500 Subject: [PATCH] require any hyphenation to be included in the prefix --- src/troute-nwm/src/nwm_routing/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/troute-nwm/src/nwm_routing/output.py b/src/troute-nwm/src/nwm_routing/output.py index 824e79129..9d46886de 100644 --- a/src/troute-nwm/src/nwm_routing/output.py +++ b/src/troute-nwm/src/nwm_routing/output.py @@ -70,7 +70,7 @@ def _parquet_output_format_converter(df, start_datetime, dt, configuration, pref # Prepare the location_id with prefix df.index.name = 'location_id' df.reset_index(inplace=True) - location_ids = prefix_ids + '-' + df['location_id'].astype(str) + location_ids = prefix_ids + df['location_id'].astype(str) # Flatten the dataframe using NumPy num_locations = df.shape[0]