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

Validate DESIGN2PARAM configuration at start up instead of when running forward model #638

Open
eivindjahren opened this issue Aug 29, 2024 · 0 comments

Comments

@eivindjahren
Copy link
Contributor

eivindjahren commented Aug 29, 2024

Currently the following failures occur when you run the forward model (present in our logs). They should be
validated when the config is read:


Provided realization arg 299 does not exist in design matrix


Traceback (most recent call last):
File "../bin/design2params", line 8, in <module>
sys.exit(main_entry_point())
File ".../lib64/python3.8/site-packages/semeio/forward_models/scripts/design2params.py", line 77, in main_entry_point
design2params.run(
File ".../lib64/python3.8/site-packages/semeio/forward_models/design2params/design2params.py", line 53, in run
default_df = _read_defaultssheet(xlsfilename, defaultssheetname)
File ".../lib64/python3.8/site-packages/semeio/forward_models/design2params/design2params.py", line 317, in _read_defaultssheet
if paramname != paramname.strip():
AttributeError: 'float' object has no attribute 'strip'

File .../input/distributions/design.xlsx is probably not of correct type. Failed with exception 'Worksheet named 'ETC' not found'

WARNING - Design matrix contains empty cells [...]

argument xlsfilename: .../input/designmatrix/design_matrix.xlsx is not an existing file!

Design matrix not valid, error: Column headers not present in column: ...


Column header "X " contains initial or trailing whitespace.


design2params: error: argument realization: invalid int value: 'not_int'


File .../ert/model/../input/designmatrix/design_matrix.xlsx not found

@eivindjahren eivindjahren moved this to Todo in SCOUT Aug 29, 2024
@eivindjahren eivindjahren changed the title Validate DESIGN_PARAM configuration at start up instead of when running forward model Validate DESIGN2PARAM configuration at start up instead of when running forward model Aug 29, 2024
@xjules xjules self-assigned this Sep 13, 2024
@xjules xjules moved this from Todo to In Progress in SCOUT Sep 13, 2024
@xjules xjules removed their assignment Sep 25, 2024
@eivindjahren eivindjahren added christmas-review Issues and PRs for Christmas review and removed christmas-review Issues and PRs for Christmas review labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants