-
Notifications
You must be signed in to change notification settings - Fork 553
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
NDS: Array size mismatch? #1097
Comments
I think this bug was introduced in #1089 |
Very nice catch, @ukmo-ccbunney. I see you self-assigned, may I ask if you're also working on a fix? I had many unexpected non-b4b's with matrix.comp for the next PR (#1083), I'm hoping resolving this may help with that. |
@MatthewMasarik-NOAA Yes - I'm happy to put a fix together for this. Watch this space :) |
Awesome, thanks so much @ukmo-ccbunney ! |
Also, I think the ASCII output unit numbers are not actually set when running ww3_shel, i.e. NDS(14) and NDS(15) are not defined as far as I can tell. |
I think there is a discrepancy between the size of the NDS variable (used to hold file unit numbers) defined in
w3odatmd
here as size 15:WW3/model/src/w3odatmd.F90
Line 439 in eff6686
and elsewhere as size 13, e.g.
WW3/model/src/ww3_shel.F90
Line 332 in eff6686
This is resulting in an array bounds mismatch in w3initmd:
WW3/model/src/w3initmd.F90
Line 693 in eff6686
MDS is of size 13 in this case and NDS is size 15.
The text was updated successfully, but these errors were encountered: