Skip to content

Commit

Permalink
fix grdecl
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvarlia committed Oct 30, 2023
1 parent 8ac5e28 commit 888b5ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def simulate_field_using_gstools(start_seed):
def read_grid():
file_format = settings.field.file_format
filename = settings.field.grid_file_name
if file_format.upper() == "EGRID":
if file_format.upper() == "GRDECL":
grid = xtgeo.grid_from_file(filename, fformat="egrid")
elif file_format.upper() == "ROFF":
grid = xtgeo.grid_from_file(filename, fformat="roff")
Expand Down

0 comments on commit 888b5ba

Please sign in to comment.