Skip to content

Refactor ExtParamConfig to use pl.DataFrame as storage format #12005

@xjules

Description

@xjules

The current implementation of ExtParamConfig in ERT stores parameter data as an xarray.Dataset, which is inconsistent with how scalar parameters (GenKwConfig) are handled using polars.DataFrame.
This should allow for better ensemble-level data operations and integration with the new storage and migration logic that assumes pl.DataFrame for scalar-like parameters.

Suggested approach:

class ExtParamConfig(GenKwConfig):
    type: Literal["everest_parameters"] = "everest_parameters"
    input_keys: list[str] = field(default_factory=list)

Metadata

Metadata

Assignees

Labels

improvementSomething nice to have, that will make life easier for developers or users or both.

Type

No type

Projects

Status

Ready for Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions