You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to match measurements from wells (stored in a dataframe) with grid cells in grdecl format. However, the make_ijk_from_grid method does not seem to work quite correctly, for some reason it does not find the cell, although the measurement from the well gets there absolutely accurately, indexing simply stops at some point for some unknown reason. I'm attaching an example and a code snippet.
for well in tqdm(pd.unique(wells_df['well'])):
wells_dict[well]["df"] = copy(wells_df[wells_df['well'] == well])
wells_dict[well]["df"] = wells_dict[well]["df"][["X", "Y", "TVDSS"]]
wells_dict[well]["df"].columns = ["X_UTME", "Y_UTMN", "Z_TVDSS"]
wells_dict[well]["xtgeo_well"] = xtgeo.Well(df=wells_dict[well]["df"])
wells_dict[well]["xtgeo_well"].make_ijk_from_grid(
grid=grid,
activeonly=False
)
The text was updated successfully, but these errors were encountered:
Thank you very much for a quick answer! "algorithm=2" is default parameter, so it probably won't give any positive result. It seems like the problem is occurred in C routine function "grd3d_points_ijk_cells.c".
I also get warning "splits or overlaps between vertical neighbouring cells is detected." when reading grid with "grid_from_file", likely because it has faults and so on.
I was trying to match measurements from wells (stored in a dataframe) with grid cells in grdecl format. However, the make_ijk_from_grid method does not seem to work quite correctly, for some reason it does not find the cell, although the measurement from the well gets there absolutely accurately, indexing simply stops at some point for some unknown reason. I'm attaching an example and a code snippet.
The text was updated successfully, but these errors were encountered: