-
Notifications
You must be signed in to change notification settings - Fork 232
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
Fix dimensions in wave structure #1252
Fix dimensions in wave structure #1252
Conversation
@marshallward how do I figure out where the style problem comes from? |
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #1252 +/- ##
============================================
- Coverage 45.90% 45.88% -0.02%
============================================
Files 225 225
Lines 71395 71422 +27
============================================
Hits 32774 32774
- Misses 38621 38648 +27
Continue to review full report at Codecov.
|
Evidently I messed up the error reporting when merging the two workflows. It was easier when they were separate. I can fix the reporting once the workshop is over... |
@adcroft it was a dumb whitespace error, I fixed it. It would be helpful though to have github actions print the styling errors found |
Yes, and it used to. While developing the workflows I initially had separate workflows for style and docs but we decided we needed fewer workflows. In order to avoid a white space problem not block the testing of docs I had to do a workaround. I got it wrong. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, I think that there is progress with these changes, and suspect that they will all be found to be correct when used with an appropriate test case. However, it appears that there are new definitions for the rescaled units of a number of the variables in this routine, but there have not been any changes to the comments describing these variables to reflect these changes.
Please add comments describing the (now correct) units of the variables when the variables are defined. I am aware that some of the variables are not described in comments at all, but this should be the right opportunity to start doing so.
I don't know how to fix style if I can't see the errors in the checks |
Looks like one of your lines is exceeding the 120-character limit due to the comment:
We need to clean this up to give better feedback, I think. |
@marshallward this would be very helpful thanks! |
I think this is ready but I'd like to give @sonyalegg a chance to chime in |
routine was failing dimensional testing. Proposed fixes makes it dimensionally consistent.
I also add several dimension checks, available with DEBUG=true
I think the normalization of the vertical structure was wrong and I corrected accordingly.
In spite of the various fixes, tridiagonal solver becomes unstable at step=2 in benchmark :(