Commit c9103f50 authored by JOSSOUD Olivier's avatar JOSSOUD Olivier
Browse files

Flow. Use new method to interpolate stacking move-up events: match expected block's height

parent 3aba4fcd
Pipeline #168040 passed with stages
in 1 minute and 29 seconds
......@@ -728,7 +728,7 @@ def get_absolute_melted_height_expected(arrival_df: pd.DataFrame,
if len(arrival_df[arrival_df["melted_height"] == 0].index) > 2:
arrival_df.loc[:arrival_df[arrival_df["melted_height"] == 0].tail(2).index[0], "melted_height"] = np.nan
arrival_df = arrival_df.drop(columns=["time_diff", "ice_speed"])
arrival_df = arrival_df.drop(columns=["time_diff", "position_diff", "ice_speed"])
arrival_df = arrival_df.rename(columns={"melted_height": "melted_height_expected"})
return arrival_df
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment