Skip to content

Commit

Permalink
issue 826 (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
AminTorabi-NOAA authored Aug 15, 2024
1 parent 452a35b commit dfeb915
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -93,7 +93,7 @@ def _parquet_output_format_converter(df, start_datetime, dt, configuration, pref
for i in range(num_time_variables):
start_idx = i * num_locations
end_idx = start_idx + num_locations
value_time[start_idx:end_idx] = start_datetime + pd.to_timedelta(timesteps[i] * dt, unit='s')
value_time[start_idx:end_idx] = start_datetime + pd.to_timedelta((timesteps[i] + 1) * dt, unit='s')
variable_name = variable_to_name_map[variables[i]]
unit = variable_to_units_map[variable_name]
variable_names[start_idx:end_idx] = variable_name
Expand Down

0 comments on commit dfeb915

Please sign in to comment.