Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting fraction per zone as a statistics for discrete parameter #111

Closed
miroine opened this issue Feb 11, 2021 · 2 comments
Closed

getting fraction per zone as a statistics for discrete parameter #111

miroine opened this issue Feb 11, 2021 · 2 comments

Comments

@miroine
Copy link

miroine commented Feb 11, 2021

fraction per zone for discrete parameter is very useful (example: sand percentage for each zone), is it possible to include that in the QCProperties class (or is it there and I missed it ?)
xtgeo has quite nice well class called ._get_fraction_per_zone() that I have used before ? how can we incorporate that in the qcproperties ?

@tnatt
Copy link
Collaborator

tnatt commented Feb 11, 2021

Hi @miroine, that should be possible with existing functionality. Just add the discrete Facies/NTG parameter as a property and add the Zone parameter as a selector. The trick is that you need to add a disc=True argument for the method that writes out the csv.

This functionality was added a bit later, and I realize not documented properly... will make a note of that :)
Please test and see if it works as you expect! Thanks

image

@tnatt
Copy link
Collaborator

tnatt commented Feb 12, 2021

To improve user-friendliness I will change the code to make the disc=True argument redundant when properties of the same type (discrete or continuous) are used as input 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants