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

Reading Delft-FM map file #9

Open
JMM385 opened this issue Apr 20, 2022 · 0 comments
Open

Reading Delft-FM map file #9

JMM385 opened this issue Apr 20, 2022 · 0 comments

Comments

@JMM385
Copy link

JMM385 commented Apr 20, 2022

I'm trying to open a result map file via xu.open_dataset() but an index error raises.
More specificly:

IndexError: index 478095 is out of bounds for axis 0 with size 478095

478095 being the mesh2d_nNodes

Instead, there isn't a problem if I read the same file but through Xarray.

Same error raises if I first open the dataset via Xarray and then try to parse it to xu.UgridDataset()

I've attached my code in case it's helpful (XUGRID.zip). I'm new to Xugrid so any ideas would help.

Thanks in advance

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