From ee6e451193b4abb3a893633f8a3ce977c11b61d0 Mon Sep 17 00:00:00 2001 From: Ryan Grout Date: Wed, 20 Nov 2024 10:33:31 -0700 Subject: [PATCH 1/2] Fix typo. --- .../image_based/viz_hand_fim_processing/lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py b/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py index ee31c477..d2b56efc 100644 --- a/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py +++ b/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py @@ -604,7 +604,7 @@ def interpolate_stage(df_row, df_hydro): if subset_hydro.empty: return np.nan, np.nan, np.nan, np.nan, np.nan - subset_hydro = subset_hydro.sort_value('discahrge_cms') + subset_hydro = subset_hydro.sort_values('discahrge_cms') discharges = subset_hydro['discharge_cms'].values stages = subset_hydro['stage_m'].values From 43aae375cfdca0624b3b4b1056381bb425f21af4 Mon Sep 17 00:00:00 2001 From: Ryan Grout Date: Wed, 20 Nov 2024 10:36:53 -0700 Subject: [PATCH 2/2] Fix typo. --- .../image_based/viz_hand_fim_processing/lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py b/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py index d2b56efc..9a837e01 100644 --- a/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py +++ b/Core/LAMBDA/viz_functions/image_based/viz_hand_fim_processing/lambda_function.py @@ -604,7 +604,7 @@ def interpolate_stage(df_row, df_hydro): if subset_hydro.empty: return np.nan, np.nan, np.nan, np.nan, np.nan - subset_hydro = subset_hydro.sort_values('discahrge_cms') + subset_hydro = subset_hydro.sort_values('discharge_cms') discharges = subset_hydro['discharge_cms'].values stages = subset_hydro['stage_m'].values