Skip to content

Commit

Permalink
Do not write DIMENS in grdecl file cause this causes OPM to crash
Browse files Browse the repository at this point in the history
  • Loading branch information
KriFos1 committed Feb 6, 2024
1 parent 1a40a61 commit 7b81beb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions misc/grdecl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1728,10 +1728,10 @@ def _write_single(path, base, grid, lookup, dialect):
_write_dimens_ecl(fileobj, dimens)
else:
assert False

log.info('Grid size is %d x %d x %d', *dimens)
log.info('Writing keyword DIMENS')
_write_dimens_ext(fileobj, dimens, lookup)
#
# log.info('Grid size is %d x %d x %d', *dimens)
# log.info('Writing keyword DIMENS')
# _write_dimens_ext(fileobj, dimens, lookup)

# start with all the predefined leading keywords, and then write the
# rest of them in alphabetical order
Expand Down

0 comments on commit 7b81beb

Please sign in to comment.