JustinGOSSES / wellioviz

d3.js v5 visualization of well logs
https://justingosses.github.io/wellioviz/#introduction
Apache License 2.0
49 stars 12 forks source link

Current method for "between" fill works okay but need to support curve cross fill patterns. #77

Open JustinGOSSES opened 4 years ago

JustinGOSSES commented 4 years ago

In the current behavior, the color is filled in between the two curves no matter which curve (1 or 2) is left or right of the over.

That's okay for most things, but there will probably be a wanted behavior where curve 1 left of curve 2 will produce one color fill and curve 1 right of curve 2 will produce another color fill.

Additionally, there might be a fill wanted where one fill is only present if curve 1 crosses curve 2 to the high side and another fill only present if curve 2 cross curve 1 to the low side.

There might be additionally combinations of this. Unsure whether these should be built in as sub-types of "between" fill or separate fill types?

Additional context ALSO, I am unsure how high a priority this is.

aberridg commented 3 years ago

In my opinion this is a high priority enhancement. It's the first thing that was mentioned to me when I demonstrated the plot to potential users. I have been working on this experimentally - need to do more.

JustinGOSSES commented 3 years ago

@aberridg can you list out some of the fill behaviors you would like to see?

aberridg commented 3 years ago

The only one I know about so far is for the fill colour to change when two curves cross over. Particularly when looking at the crossover between RHOB and NPHI (Density and Neutron Porosity). The fill colour change indicates where oil may be found. The crossover should be calculated on the x (measure axis) positions, so that different scales can be used to represent the different magnitudes of the units used for the different measures.

aberridg commented 3 years ago

As per this: https://wiki.aapg.org/Density-neutron_log_porosity#:~:text=Crossover%20occurs%20when%20the%20density,matrix%20lithology%2C%20i.e.%2C%20sandstone and: https://wiki.aapg.org/Well_log_analysis_for_reservoir_characterization