-
Notifications
You must be signed in to change notification settings - Fork 60
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
+add h to drifters interface #408
+add h to drifters interface #408
Conversation
This commit brings the drifters interface up-to-date with the current version of the drifters package, which requires h (layer thickness) to calculate the vertical movement of particles. The interfaces in the code and in config_src/external are updated to pass this information to the drifters package.
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #408 +/- ##
============================================
- Coverage 38.15% 38.15% -0.01%
============================================
Files 269 269
Lines 76667 76675 +8
Branches 14103 14105 +2
============================================
Hits 29254 29254
- Misses 42146 42152 +6
- Partials 5267 5269 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
The subroutine argument documentation needs unit and rescaling information, e.g. "layer thickness [H ~> m or kg m-2]" and "time [T ~> s]" .
Thanks - is this ok? Or were you looking for something more? |
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.
Hi Spencer! You can look at other routines to template this. Layer thickness are denoted [H ~> m or kg m-2] , temperature is [C ~> degC], salt is [S ~> ppt], time is [T ~> s]. Sorry to be a nuisance here.
Some other style comments:
More than you could want to know at the style guide. As Matt said, sorry to be a nuisance. |
Thanks @marshallward and @MJHarrison-GFDL ! I hope I caught everything. Now I'll know better what to look for next time. |
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.
Thank you for making those changes Spencer. This PR looks good .
Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/jobs/106995 ✔️ |
This commit brings the drifters interface up-to-date with the current version of the drifters package, which requires h (layer thickness) to calculate the vertical movement of particles. The interfaces in the code and in config_src/external are updated to pass this information to the drifters package.