-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pvt issue 1202 #1212
Pvt issue 1202 #1212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. There is still uncertainty if the data frame is coming in presorted.
# data_frame = data_frame.sort_values( | ||
# ["PRESSURE", "VOLUMEFACTOR", "VISCOSITY"], | ||
# ascending=[True, True, True], | ||
# ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remember correctly this was only to ensure that the list is sorted and that the points plotted are connected with lines in the correct order (under the assumption that Plotly is plotting in the order given by the input array). This might not have an effect since the data frame might already be sorted beforehand. However, I wonder if the plots would still be correct if the df wasn't. If we are 100% sure that the df is always sorted correctly, this can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed offline, we merge this as is and include it in the upcoming komodo test phase. We think the correct way is to use the incoming sorting of the Eclipse PVT data (i.e. the way it comes out of ecl2df
).
Insert a description of your pull request (PR) here, and check off the boxes below when they are done.
Contributor checklist
PvtPlot
聽#1202.CHANGELOG.md
, and added it if should be communicated there.