Skip to content

Commit

Permalink
Use strategy="nearest" for joining
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Jan 30, 2025
1 parent 5dfbbd8 commit cabf8c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ert/data/_measured_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def _get_data(
pivoted,
by=["response_key", *response_cls.primary_key],
on="time",
strategy="nearest",
tolerance="1s",
)
else:
Expand Down
1 change: 1 addition & 0 deletions src/ert/storage/local_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ def get_observations_and_responses(
pivoted,
by=["response_key", *response_cls.primary_key],
on="time",
strategy="nearest",
tolerance="1s",
)
else:
Expand Down

0 comments on commit cabf8c1

Please sign in to comment.