Upgrade reference well adjustment algorithm (#9569)

* Add checkbox for enable/disable usage of ref well for curve

- Individual control of utilizing reference well selected on plot-level.
- Default use state = true
- Make ref well path read only

* Upgrade adjustment algorithm to map values from ref well

- Map values from reference well into selected well
- Linearize depth values between top and bottom of k-layer.
- Neglect values and depths outside of common k-layer region
- Handle smoothing of curves after mapping

* Set curve name based on use ref well flag

* Use auto name for parameter track curves

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
This commit is contained in:
Jørgen Herje
2022-12-13 08:29:00 +01:00
committed by GitHub
parent dd42af8ac8
commit 40e0f471d0
5 changed files with 167 additions and 103 deletions

View File

@@ -296,7 +296,8 @@ void RicNewWellBoreStabilityPlotFeature::createParametersTrack( RimWellBoreStabi
curve->setLineStyle( lineStyles[i % lineStyles.size()] );
curve->setLineThickness( 2 );
curve->loadDataAndUpdate( false );
curve->setCustomName( param.name() );
curve->setAutoNameComponents( false, true, false, false, false );
i++;
}
paramCurvesTrack->setAutoScalePropertyValuesEnabled( true );