-
Notifications
You must be signed in to change notification settings - Fork 108
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
Summary observations are now matched against responses with nearest time (1 second tolerance) #6988
Conversation
91e519a
to
fa0125d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6988 +/- ##
==========================================
+ Coverage 84.39% 84.48% +0.08%
==========================================
Files 367 366 -1
Lines 21884 21794 -90
Branches 900 900
==========================================
- Hits 18470 18412 -58
+ Misses 3120 3088 -32
Partials 294 294 ☔ View full report in Codecov by Sentry. |
fa0125d
to
d628699
Compare
7cdce3d
to
15eb39a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a really good improvement! Some smaller comments
f""" | ||
NUM_REALIZATIONS 2 | ||
ECLBASE CASE | ||
SUMMARY FOPR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed because of the SUMMARY_OBSERVATION (but can be here)
68c969d
to
3983237
Compare
@@ -316,7 +316,8 @@ def _read_spec( | |||
hour=hour, | |||
minute=minute, | |||
second=microsecond // 10**6, | |||
microsecond=microsecond % 10**6, | |||
# Due to https://github.com/equinor/ert/issues/6952 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this comment stand-alone? Otherwise I foresee a future where the below line will simply be deleted, as I assume that it is related to this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
start_date + unit.make_delta(float(vals[date_index])) | ||
), | ||
) | ||
# Due to https://github.com/equinor/ert/issues/6952 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this comment stand-alone? Otherwise I foresee a future where the below line will simply be deleted, as I assume that it is related to this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
b9fa349
to
b096a40
Compare
Since summary files have precision loss of time, we need to include some tolerance when matching responses to observations. Also contains a workaround for storage not handling datetimes with microseconds due to index overflow in netcdf3. equinor#6952
b096a40
to
b497435
Compare
Since summary files have precision loss of time, we need to include some
tolerance when matching responses to observations.
Also contains a workaround for storage not handling datetimes with
microseconds due to index overflow in netcdf3.
#6952
The added test currently takes ~40s to run, but improvements to ensemble_evaluator startup overhead (which is being worked on) should fix this.
When applicable