Skip to content
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

sunsch validates configuration on run #731

Open
eivindjahren opened this issue Sep 6, 2024 · 0 comments
Open

sunsch validates configuration on run #731

eivindjahren opened this issue Sep 6, 2024 · 0 comments
Assignees

Comments

@eivindjahren
Copy link
Contributor

ert recently added functionality to validate forward model steps on startup. SUNSCH accounts for a large amount of forward model failures in FMU. If an error can be detected when ert starts, rather than when the forward model step runs, then that would reduce the amount of forward model failures we experience. Here is the list of commonly encountered errors:

  • input file name does not exist
  • invalid datetime in schedule
  • invalid insert statement in config
  • missing config file
  • File '../include/...' included via INCLUDE directive does not exist.
  • IndexError in /subscript/sunsch/time_vector.py", line 337, in _add_deck
  • `Problem with keyword" in parsing the deck
  • pydantic_validator failing for config

And this, which may be a separate issue:

 subscript/sunsch/sunsch.py", line 240, in <listcomp>
early_dates = [date for date in tmpschedule.dates if date.date() < startdate]
TypeError: can't compare datetime.datetime to datetime.date
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

No branches or pull requests

2 participants