+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 |
MJHarrison-GFDL
left a comment
There was a problem hiding this comment.
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? |
MJHarrison-GFDL
left a comment
There was a problem hiding this comment.
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. |
MJHarrison-GFDL
left a comment
There was a problem hiding this comment.
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.