equinor / webviz-subsurface-components

Custom subsurface visualizations for use in Webviz and/or Dash.
https://github.com/orgs/equinor/projects/24
Mozilla Public License 2.0
34 stars 40 forks source link

WellLogViewer, Python - Straight lines popping in and out of existance #1876

Open eirik-morken opened 8 months ago

eirik-morken commented 8 months ago

On some wellogs there seem to appear some straight lines in the plot which appear and disappear when you zoom in and out. This does not happen on all wellogs, only some of them. I am unable to locate any start/end points of these lines as they disappear when you move up and down the graph.

In some main value intervals the readout values disappear as well, but reappear if you zoom in some. Any theories what might cause this? Data issue or some interpolation issues from the model?

image

hkfb commented 8 months ago

@eirik-morken could you post some example data causing this?

eirik-morken commented 8 months ago

This as an example: output.txt

eirik-morken commented 8 months ago

In the example you can actually see the start and end. However the location the readout stops working seems to not have a connection to the start/endpoint of this line. Skjermbilde 2024-01-17 142221 Skjermbilde 2024-01-17 142234

hkfb commented 8 months ago

@eirik-morken looks like the last sample has an MD of None. Does that make sense?

Could you try to remove the None samples.

Can you reproduce it with a minimal example?

eirik-morken commented 8 months ago

The None samples made no change when removed. I tried to sort the values by MD to make it easier to grab a subset, but that only made the graphs split into many small pieces even though the data is largely continuous.

image

hkfb commented 8 months ago

@eirik-morken can you try to create a minimal example so that we can isolate the samples causing the issue?

eirik-morken commented 8 months ago

This should be a minimal sample where you can see the issue. Both smaller interpolations that skips the original values which creates double lines, as well as long appearing line when zooming in. output.txt Zoomed out: image Zooming in: image

eirik-morken commented 7 months ago

@hkfb What format do you expect your minimal example to have? I provided the entire object input

hkfb commented 7 months ago

@eirik-morken would be helpful if you could submit a Storybook example that demonstrates the issue. Have a look here and here for some examples.