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:
Updates NEMO fieldset ingestion so that it expects depthw to be provided (and distinguishes from depths that are on the cell centers vs the cell edges)In fact, I guess they should be able to not provide depth in the 2D case. The convert module should be refactored laterStill to add tests... Wondering what the best way to do that is for the convert.py module
xref Parcels-code/parcels-benchmarks#40
EDIT: Updated description to remove out of date test failure info