-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Improve sort by stratigraphy depth in utility-lib for well-compl…
…etions-plot (#2321) Improve sorting of wells when sorting by stratigraphy depth. - Improve sorting to look at all zones with open completions when sorting. - Update unit tests --- **Summary:** The sorting now creates an array of zone indices with open completion. This array is sorted with increasing indices. Comparison function then looks on element by element and compares the zone index for each well. The array with lowest zone index (i.e. shallowest zone) will be placed first in ascending sort, or last for descending sort. Continues as long the zone index values are equal. If common part is equal and one list is longer than the other, it means it has more completions - thus placed first for ascending order, or last for descending order. Otherwise arrays are equal.
- Loading branch information
1 parent
52dec03
commit a50506d
Showing
2 changed files
with
200 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters