8000 sunsch validates configuration on run · Issue #731 · equinor/subscript · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
sunsch validates configuration on run #731
Open
@eivindjahren

Description

@eivindjahren

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0