Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
JOSSOUD Olivier
CFA Tools
Commits
c9103f50
Commit
c9103f50
authored
Mar 23, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cfatools/processor/flow.py
cfatools/processor/flow.py
+1
-1
No files found.
cfatools/processor/flow.py
View file @
c9103f50
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment