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 ert simulation mode to object metadata #867

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

mferrera
Copy link
Collaborator

@mferrera mferrera commented Nov 5, 2024

Resolves #804
Resolves #690 (more or less)
Resolves #263

The simulation mode should allow contextual inference about the type of ensemble this data is derived from.

@mferrera mferrera marked this pull request as ready for review November 5, 2024 11:26
@mferrera mferrera requested review from tnatt and jcrivenaes November 5, 2024 11:26
@mferrera mferrera self-assigned this Nov 5, 2024
@mferrera mferrera force-pushed the add-simulation-mode branch 2 times, most recently from 8644c6f to 95c47f1 Compare November 5, 2024 12:45
The simulation mode should allow contextual inference about the type of
ensemble this data is derived from.
@mferrera mferrera force-pushed the add-simulation-mode branch from 95c47f1 to d9ce6ec Compare November 5, 2024 12:59
Copy link
Collaborator

@jcrivenaes jcrivenaes left a comment

Choose a reason for hiding this comment

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

Some comments to consider, otherwise LGTM

Copy link
Collaborator

@tnatt tnatt left a comment

Choose a reason for hiding this comment

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

Looks good to go 🚀

@@ -406,3 +407,20 @@ def test_fmuprovider_workflow_reference(fmurun_w_casemetadata, globalconfig2):
pydantic.ValidationError, match="Input should be a valid string"
):
FmuProvider(model=GLOBAL_CONFIG_MODEL, workflow=123.4).get_metadata()


def test_ert_simulation_modes_one_to_one() -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was getting ready to make a comment about them coming out of sync 😅 happy to find this test here at the bottom 👍

@mferrera mferrera merged commit 88c8d45 into equinor:main Nov 12, 2024
13 checks passed
@mferrera mferrera deleted the add-simulation-mode branch November 12, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants