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

Include ERT_SIMULATION_MODE in metadata #804

Open
mferrera opened this issue Sep 25, 2024 · 0 comments · May be fixed by #867
Open

Include ERT_SIMULATION_MODE in metadata #804

mferrera opened this issue Sep 25, 2024 · 0 comments · May be fixed by #867
Assignees

Comments

@mferrera
Copy link
Collaborator

Currently we only store the experiment uuid in the metadata.

class Ert(BaseModel):
"""The ``fmu.ert`` block contains information about the current ert run."""
experiment: Optional[Experiment] = Field(default=None)
"""Reference to the ert experiment.
See :class:`Experiment`."""

ert exposes _ERT_SIMULATION_MODE and we know it

class FmuEnv(Enum):
EXPERIMENT_ID = auto()
ENSEMBLE_ID = auto()
SIMULATION_MODE = auto()

but as of now do nothing with it. Storing this will enable some extra contextual inference, i.e. adds a bit to #299

It's not clear if this should be in case metadata, object metadata, or both. Or what might go wrong if these don't align given the different forms of rerunning a realization.

@mferrera mferrera self-assigned this Sep 30, 2024
@mferrera mferrera linked a pull request Nov 5, 2024 that will close this issue
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 a pull request may close this issue.

1 participant