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

egrid reading dimesionality error / BUG #517

Open
gaboeperez opened this issue Jan 10, 2025 · 0 comments
Open

egrid reading dimesionality error / BUG #517

gaboeperez opened this issue Jan 10, 2025 · 0 comments

Comments

@gaboeperez
Copy link

Image

I'm getting this error when trying to read an egrid file, however checking the error seems to be a dimensionality error in the grid.py, more specifically the function init2df, this line
init_df["PORV"] = porv_numpy[glob_idxs].reshape(-1, 1)
should be changed by
init_df["PORV"] = porv_numpy[glob_idxs].reshape(-1)
after I made the change in my local version the script works
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant