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

ENH: Add FLUID column and simplify column names in inplace_volumes #916

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

tnatt
Copy link
Collaborator

@tnatt tnatt commented Dec 12, 2024

PR to add a FLUID column to the exported inplace_volumes table.
There will be more tests of the table format coming in upcoming PR #900

Closes #903

@@ -24,7 +25,17 @@
_logger: Final = null_logger(__name__)


_TABLE_INDEX_COLUMNS: Final = ("ZONE", "REGION", "FACIES", "LICENCE")
_TABLE_INDEX_COLUMNS: Final = ("ZONE", "REGION", "FACIES", "LICENSE")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in LICENSE fixed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was not your typo:

"volumes": ["ZONE", "REGION", "FACIES", "LICENCE"],

We probably want to change this too? Doesn't need to be in your PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I'll make an issue of it, and also state that we should add FLUID in there

Copy link
Collaborator

@mferrera mferrera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice 👍 really like the changes in tests too.

Only concern is about the form of the final csv when output

src/fmu/dataio/export/rms/inplace_volumes.py Show resolved Hide resolved
tests/data/drogon/tabular/volumes/geogrid.csv Outdated Show resolved Hide resolved
@tnatt tnatt force-pushed the add_fluid_column branch 5 times, most recently from efe0048 to 2e30e5e Compare December 13, 2024 12:09
@tnatt tnatt merged commit 32cb406 into equinor:main Dec 13, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

Inplace volumes: Add FLUID column
2 participants