Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require any hyphenation to be included in the parquet prefix #842

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/troute-nwm/src/nwm_routing/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion test/LowerColorado_TX/test_AnA_V4_NHD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ output_parameters:
#---------
parquet_output_folder: output/
configuration: short_range
prefix_ids: nex
prefix_ids: wb-


Loading