Skip to content

Change ahmanalysis to use ensemble.load_scalars() - #772

Merged
jonathan-eq merged 1 commit into
equinor:mainfrom
jonathan-eq:remove-manifest-file
Oct 10, 2025
Merged

Change ahmanalysis to use ensemble.load_scalars()#772
jonathan-eq merged 1 commit into
equinor:mainfrom
jonathan-eq:remove-manifest-file

Conversation

@jonathan-eq

@jonathan-eq jonathan-eq commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

✂️

@jonathan-eq
jonathan-eq force-pushed the remove-manifest-file branch 2 times, most recently from 9a5964a to 41cca80 Compare October 7, 2025 13:47
@jonathan-eq jonathan-eq added this to SCOUT Oct 7, 2025
@jonathan-eq jonathan-eq moved this to In Progress in SCOUT Oct 7, 2025
@jonathan-eq jonathan-eq moved this from In Progress to Ready for Review in SCOUT Oct 7, 2025
@jonathan-eq jonathan-eq self-assigned this Oct 7, 2025
@jonathan-eq
jonathan-eq force-pushed the remove-manifest-file branch from 41cca80 to 4e588be Compare October 8, 2025 09:52
Comment on lines +198 to +201
prior_data.columns.name = None
prior_data.index.name = "Realization"
prior_data = prior_data.sort_index(axis=1)
prior_data = prior_data.set_index("realization")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is the logic that differed between load_scalarsand load_all_gen_kw_data. In the first round, we will just move it here, but the next one should rewrite this to polars instead of keeping pandas.

@xjules xjules left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks fine. At some point we should drop out pandas here too.

@github-project-automation github-project-automation Bot moved this from Ready for Review to Reviewed in SCOUT Oct 10, 2025
@jonathan-eq
jonathan-eq merged commit e6cf105 into equinor:main Oct 10, 2025
7 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewed to Done in SCOUT Oct 10, 2025
@jonathan-eq
jonathan-eq deleted the remove-manifest-file branch October 10, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants