extract data from mat file, reproject the facies and plot the virtual cores#4
extract data from mat file, reproject the facies and plot the virtual cores#4
Conversation
|
The plotting issue has been solved |
|
As a general feedback on this PR: it is not clear what the problem is. From the issue description #3 it seems to me that plotting the columns is the problem, but from the PR title it seems that extracting data from mat files is the problem. Which one is it? If it is the plotting that is needed, is there anything about these cores that requires writing completely new code for plotting columns? There are a bunch of packages for doing that, including our home one https://mindthegap-erc.github.io/stratcols/ by @NiklasHohmann So my general feedback:
|
| facies_code = unique(facies) | ||
|
|
||
| # remap facies | ||
| new_facies_map = Dict(0.0=>100, 1.0=>101, 2.0=>102, 3.0=>103, 4.0=>103, 5.0=>105) |
There was a problem hiding this comment.
Why do you first remap facies to new integer codes and then these codes again to strings? What are 100, 101 etc needed for?
There was a problem hiding this comment.
They are DRTs. Well, I just think it's easier for me to get head around. The strings only existed when producing legends.
src/PlottingCores/plottingcores.jl
Outdated
| for idx in eachindex(core_layers_norm)[2:end] | ||
| top = core_layers_norm[idx] | ||
| bottom = core_layers_norm[idx-1] | ||
| if core_facies[idx] != 100 |
There was a problem hiding this comment.
why assign properties to hiatus (color and transparency) if it's never plotted?
There was a problem hiding this comment.
I added it specifically to check whether the codes are following what I want - it happens when I was writing the code.
There was a problem hiding this comment.
o empty file, why are you here?
There was a problem hiding this comment.
it's for comparison in the next step: this file would plot the digitized data from the cores.
reply:
|




Extracting the data from MAT file from STACKER, reproject the facies and plotting.