Skip to content

Check if aggregated summary vector is stale and recompute if needed #979

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

sigurdp
Copy link
Collaborator

@sigurdp sigurdp commented May 12, 2025

If an existing summary vector aggregation is found, do a validation against the underlying realizations before retruning it.

Under the assumption that most of the time the aggregated vector will be present and valid, this implementation tries to be optimistic and downloads the blob while checking the validity.

Strongly inspired by the Sumo Explorer code here:
https://github.com/equinor/fmu-sumo/blob/b8a0dba25aac7c4a8cc3a9a6437386aeee010696/src/fmu/sumo/explorer/objects/_search_context.py#L1701-L1728

@sigurdp sigurdp marked this pull request as ready for review May 15, 2025 06:44
@sigurdp sigurdp self-assigned this May 15, 2025
@sigurdp sigurdp requested a review from HansKallekleiv May 15, 2025 07:10
Copy link
Collaborator

@HansKallekleiv HansKallekleiv left a comment

Choose a reason for hiding this comment

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

👍

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.

2 participants