Wednesday, July 20, 2016

Xplotter - beta peak

Cross plots are an essential tool of the subsurface scientist.  We've all met our salty engineer that has spreadsheets jam packed with macros and scatter plots.  Your options are Excel, SpotFire, Orange or Tableau to name a few.  When using flat files; Excel has to be formatted and SpotFire requires a huge amount of meta data so you better not have a lot of columns in your excel sheet.  There isn't anything out there that just reads an LAS and makes a cross plot.  Until now.  And here it is below.


Not super impressive.  I bet you were expecting more.  But those images are further down in the article.  But please don't scroll down and cheat just yet.  You have to allow the author ramble and get on with their ideas to fully appreciate how we get there.


With any cross plot you want to select your curves for the difference axis.  I've made some pretty non-descriptive buttons you can click on to make your initial curve selection.


Select a few curve and you have your cross plot.  This one is super basic and boring because we are using my test well.  But once we right click on those buttons we can shift around scales and change the colors.  Crimson is available for my Boomer buddies and Orange is ready to select for my Cow-people.  




I've even made the option of reading in CSV files, saving and opening templates for efficiency.  


If we take a look at some actual data the plots start to look a bit more interesting.


And if log scale or semi-log scale is your fancy, we have that too for either axis.



But of course we want to filter to the interval of interest.  So to do that I made a handy right click menu that allows you to plug in depths.  


I bet you want me to hit that "Insert Bet Fit Line" option too, eh?  Sure.  Bonus pic!  Two features in one snapshot!  Depth limited and least squares regression best fit line!  And yes the best fit line is based on that depth interval.


And if you were to middle click (who uses middle click?  Must be an old Recall user) you will get the stats of the curves and best fit line.  


Can you copy those statistics?  Yes!  Can I help you sell your house?  Probably not, but I know a great sales lady who knows everybody.  

I love the purple but there is one last feature I've added recently that is pretty nifty.  There is an option to color your values based on a Z attribute value.  For this last illusion, I give you a neutron density plot colored by GR (0-50, 50-100, and 100-400).


And by the sweet gift of XML these templates are quickly saved for later.


Have a great week everybody!

Thanks to Guido van Rossum and my friend caffeine.

No comments:

Post a Comment