Conversation
for more information, see https://pre-commit.ci
|
Also, another question about API: Is the following the API we're going for? and then if they want to do 2D advection (no depth) (currently the test cases are failing since it expects depthw to be provided regardless - so explicitly providing |
|
Yep, I think that's a good API. Mirrors also what's now in Parcels v3, where 2D advection at the surface does not require a depth field (depth is then assumed zero throughout) |
The MOI Curvilinear benchmark has been broken for some time. After getting the time ordering sorted out on my system, it's been a bit of whack-a-mole to get that benchmark running. |
|
I'm going to park this PR for the timebeing to focus on other profiling stuff
Good to know - let me know when you'd like to hop back on that line, happy to work on it together |
Upon further testing, our convert.nemo_to_sgrid function needed some changes. This PR:
Still to add tests... Wondering what the best way to do that is for the convert.py module
Now....I think this means that we run into a problem. Trying to advect particles on the ocean surface with U and V velocities gives (I think) some being out of bound errors
since now the U and V velocities are defined at -0.5 cell height. Is this something that we have resolved in our internal model of Parcels? cc @erikvansebille
(debugging within
parcels_benchmarkswas a bit of a nightmare - I'm hope we can get a better loop working. #2546 should help somewhat. @fluidnumerics-joe what's your experience working within parcels_benchmarks?)xref Parcels-code/parcels-benchmarks#40