Skip to content

Report Missing SKIPREST Unless DATES Strictly Later Than Restart#4963

Merged
bska merged 1 commit into
OPM:masterfrom
bska:rst-detect-missing-skiprest
Feb 4, 2026
Merged

Report Missing SKIPREST Unless DATES Strictly Later Than Restart#4963
bska merged 1 commit into
OPM:masterfrom
bska:rst-detect-missing-skiprest

Conversation

@bska
Copy link
Copy Markdown
Member

@bska bska commented Feb 3, 2026

Issue a diagnostic about a potentially missing SKIPREST keyword if any DATES record specifies a time that is not strictly later than the restart time. If a restarted run does not use SKIPREST, then all of its explicitly defined DATES must be strictly later than the restart time lest we have negative or zero time step sizes.

This PR effectively tightens up the check introduced in #3035.

@bska bska added the manual:enhancement This is an enhancement/improvent that needs to be documented in the manual label Feb 3, 2026
@bska
Copy link
Copy Markdown
Member Author

bska commented Feb 3, 2026

Note: I'm creating the PR in draft mode because it depends on, and contains, the earlier PR #4962. I will keep the PR in a draft state until such time as it is ready for review and merging.

@bska bska force-pushed the rst-detect-missing-skiprest branch 2 times, most recently from 98d9f18 to 572b72e Compare February 3, 2026 11:20
@bska
Copy link
Copy Markdown
Member Author

bska commented Feb 3, 2026

jenkins build this please

Issue a diagnostic about a potentially missing 'SKIPREST' keyword if
any DATES record specifies a time that is not strictly later than
the restart time.  If a restarted run does not use SKIPREST, then
all of its explicitly defined DATES must be strictly later than the
restart time lest we have negative or zero time step sizes.
@bska bska force-pushed the rst-detect-missing-skiprest branch from 572b72e to 6f8c0f6 Compare February 3, 2026 16:37
@tskille
Copy link
Copy Markdown
Contributor

tskille commented Feb 4, 2026

Excellent, this has now been tested on a full field model in Equinor, and behaviour is as expected.

@bska
Copy link
Copy Markdown
Member Author

bska commented Feb 4, 2026

Excellent, this has now been tested on a full field model in Equinor, and behaviour is as expected.

Thank you so much for testing. Based on that feedback, I'm marking the PR as "ready for review" and I'm running a build check.

@bska bska marked this pull request as ready for review February 4, 2026 09:07
@bska
Copy link
Copy Markdown
Member Author

bska commented Feb 4, 2026

jenkins build this please

@bska
Copy link
Copy Markdown
Member Author

bska commented Feb 4, 2026

I'm marking the PR as "ready for review" and I'm running a build check.

PR approved and build check is green. I'll merge into master.

@bska bska merged commit 2d51d25 into OPM:master Feb 4, 2026
2 checks passed
@bska bska deleted the rst-detect-missing-skiprest branch February 4, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:enhancement This is an enhancement/improvent that needs to be documented in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants