Add a unique NDSTABSPC for each point for ww3_outp ITYPE=1, OTYPE=3 #1594
Merged
mingchen-NOAA merged 4 commits intoMay 6, 2026
Conversation
Collaborator
|
Now running the tests! |
Collaborator
|
Matrix comparison tests on URSA Intel passed. |
Collaborator
|
Matrix comparison tests on URSA GNU passed. |
mingchen-NOAA
approved these changes
May 6, 2026
Collaborator
|
@JessicaMeixner-NOAA This PR passed all tests and has been merged. Thank you very much! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary
Add a unique NDSTABSPC for each point for ww3_outp ITYPE=1, OTYPE=3
Description
When using ww3_outp ITYPE=1, OTYPE=3 and dynpnt=1, the spectral output point writes are particularly slow on machines like gaea. After further inspection, one cause is because we are opening and closing NDSTAB for each point (in operational cases this can be 3k+ points) for each forecast hour. This is a lot of I/O and if the file system is being slow this job is even slower. By giving each point a unique NDSTABSPC based on the point number (NDSTABSPC = NDSTAB + (IJ - 1) + NOPTS*2), this can cut the runtime in about half.
Issue(s) addressed
n/a no issue was made.
Commit Message
Add a unique NDSTABSPC for each point for ww3_outp ITYPE=1, OTYPE=3
Check list
Testing
matrixCompFull.txt
matrixCompSummary.txt
matrixDiff.txt