Skip to content
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

Deviation #161

Merged
merged 6 commits into from
Apr 12, 2021
Merged

Deviation #161

merged 6 commits into from
Apr 12, 2021

Conversation

Zabamund
Copy link
Collaborator

With this PR, Welly learns to use wellpathpy to handle deviation data and generate position logs. The API has not changed in location.py and the underlying function compute_position_log now provides exactly the same interface and same options as previously, but in addition position logs can be calculated with the high and low tangential methods as well as with the radius of curvature method.

Wellpathpy becomes another dependency.

We are planning to move welly over to wellpathpy for all deviation
handling tasks and so this becomes an additional lightweight
dependancy.
In the process of moving welly to use wellpathpy to handle all
deviation and position data, the API has not been changed in
location.py, rather the compute_position_log function now uses
wellpathpy to return the same objects as it did previously.

There are no breaking changes but there are now additional methods
available to welly to compute a position log.

The same adjustments to TD, surface and azimuth_datum that were
made previously have simply been included in the new function and
remain in welly, rather than being added to wellpathpy.
After switching over to the new function using wellpathpy the old
one is now redundant.
Wellpathpy is now used to handle deviation and provide position
logs to welly, no changes were made to the API as the
compute_position_log function was refactored transparently to
location.py
Welly wants to report dls in radians, unlike wellpathpy that reports
it in degrees. This is now fixed to revert back to welly'y preferred
behaviour.
This commit converted dls to radians but the error was not caught
by existing tests. A new assertion is added to catch that error.
@kwinkunks kwinkunks merged commit 6bdfb59 into agilescientific:develop Apr 12, 2021
@Zabamund Zabamund deleted the deviation branch April 13, 2021 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants