Skip to content

Commit

Permalink
Another round of pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanSpies-NOAA committed Feb 20, 2024
1 parent d731852 commit dfb0aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src_adjust_usgs_rating_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def create_usgs_rating_database(usgs_rc_filepath, usgs_elev_df, nwm_recurr_filep
# find the index of the closest matching flow btw USGS rating and NWM recur
calc_df = merge_df.loc[merge_df.groupby(['location_id', 'levpa_id'])['Q_find'].idxmin()].reset_index(
drop=True
)
)
# Calculate flow difference (variance) to check for large discrepancies between
# NWM flow and USGS closest flow
calc_df['check_variance'] = (
Expand Down Expand Up @@ -194,7 +194,7 @@ def create_usgs_rating_database(usgs_rc_filepath, usgs_elev_df, nwm_recurr_filep
return final_df


def trace_network(df, start_id, USGS_CALB_TRACE_DIST):
def trace_network(df, start_id):
current_id = start_id
trace_up = []
trace_down = []
Expand Down

0 comments on commit dfb0aaa

Please sign in to comment.