Skip to content

Commit

Permalink
fix more gird oopise
Browse files Browse the repository at this point in the history
  • Loading branch information
Yngve S. Kristiansen committed Nov 29, 2023
1 parent 6f75d1c commit 5bc650f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions res2df/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ def gridgeometry2df(
index_frame = grid.export_index(active_only=True)
ijk = index_frame.values[:, 0:3] + 1 # ijk from resdata.grid is off by one

xyz = export_position(index_frame)
vol = export_volume(index_frame)
z_corners = export_corners(index_frame)[:, [2, 5, 8, 11, 14, 17, 20]]
xyz = grid.export_position(index_frame)
vol = grid.export_volume(index_frame)
z_corners = grid.export_corners(index_frame)[:, [2, 5, 8, 11, 14, 17, 20]]
grid_df = pd.DataFrame(
index=index_frame["active"],
columns=[
Expand Down

0 comments on commit 5bc650f

Please sign in to comment.