-
Notifications
You must be signed in to change notification settings - Fork 12
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
Formula for vertical levels? #53
Comments
cc @kialstewart |
note to self after chatting w @kialstewart: 10.1016/j.ocemod.2017.03.012 might be relevant; see section 2 |
Ok so I took Kial's formula, but modified it so that the free parameter is different. From memory I think you give it number of layers, depth, ratio of the biggest to smallest ratio and then it chooses where to place the first layer. Vertical levels aren't defined recursively, but the equation is solved by recursively searching for the solution. After I wrote this code I realised that you can solve it directly but it worked and apparently I never bothered changing it. |
A description in the docstring explaining how these levels are computed? My problem wasn't that it wasn't as generic as possible. My main issue was that I couldn't understand what was happening. |
Are the vertical levels here defined recursively?
regional-mom6/regional_mom6/regional_mom6.py
Lines 248 to 279 in abf630d
And maximum rate of change of the vertical spacing occurs at the mid-depth (exactly)?
The text was updated successfully, but these errors were encountered: