-
Notifications
You must be signed in to change notification settings - Fork 3
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Well Flow Indicator function #125
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #125 +/- ##
==========================================
+ Coverage 91.33% 91.37% +0.03%
==========================================
Files 105 105
Lines 3808 3837 +29
Branches 822 832 +10
==========================================
+ Hits 3478 3506 +28
Misses 206 206
- Partials 124 125 +1
|
Unit Test Results 21 files ± 0 21 suites ±0 53m 48s ⏱️ + 2m 28s Results for commit 4ad6084. ± Comparison against base commit 0c73fc3. This pull request removes 5 and adds 13 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
@simonecasolo when you review this, keep this in mind:
We can also go through the code and tests together later when you have read through the changes |
@CogniteJohan @simonecasolo |
@simonecasolo , @skepticalcat I assume this is not supposed to be in Charts? |
Good question.
I would say not for now
…On Fri, 15 Mar 2024, 08:55 Johan Løwig Rambech Dahl, < ***@***.***> wrote:
@simonecasolo <https://github.com/simonecasolo> , @skepticalcat
<https://github.com/skepticalcat> I assume this is not supposed to be in
Charts?
—
Reply to this email directly, view it on GitHub
<#125 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APUAITKPW72BNBHTPE3DW7TYYKSQBAVCNFSM6AAAAABDKG7CQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZGEYTIMJRGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@neringaalt As Simone commented, we keep this out of Charts for now. I would like @skepticalcat to have another review before be merge this into master. I have not updated documentation or added an example as I am unsure how to best do that. This is a change of some older function, but the name has changed so I guess documentation should be changed somewhat. Would love your input here @skepticalcat or @simonecasolo |
@CogniteJohan, @simonecasolo I think we can't remove the old well production function that easily because it is exposed to charts and there might be some charts using that. Even if the second one is not exposed to charts, it'll show up in the auto-generated docs, and currently we would have two very similar functions, with almost identical docs, but different names. So, for now I'd suggest to change the docs for the xmt function to indicate the differences. Code looks great though! |
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! Well (heh) done!
Adding function "calculate_xmt_prod_status" for Well Flow Indication
Description
New function added to define if well is open
Motivation and Context
See Jira Issue AH-1895
How Has This Been Tested?
Added 8 tests to pytest
Screenshots (if appropriate):
Types of changes
Contributor Checklist:
fix: <description>
,feat: <description>
, etc.Reviewer Checklist for Charts compliant functions: