Use of parcels.FieldSet.from_croco() #1752
Replies: 3 comments 4 replies
-
You may find this thread from the ROMS mailing list to be helpful. CROCO is a branch of ROMS. https://www.myroms.org/forum/viewtopic.php?t=6639 . I am puzzled by the CROCO teams response, unless they are talking about issues caused by the split 2D/3D time step. I would be very interested in what they say. Jamie |
Beta Was this translation helpful? Give feedback.
-
I think @Mesharou is the most appropriate person to address the issue of Lagrangian simulations in CROCO. @JamiePringle, I can confirm that there is no difficulty in converting “s” coordinates to “z”. One question is whether to use the “omega” variable or the “w” variable for vertical velocities. @Mesharou used omega in Pyticles. omega is output at point W. Lagrangian calculations are performed entirely in “s” coordinates, and we only switch back to “z” to export the results. It's probably easier to use the “w” variable, which is output at the RHO point. I'm not enough an expert of Parcels to know which approach best respects the existing 3D advection kernels. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response, @stefraynaud. I think what to me was the most striking part of your earlier email was the point that the vertical coordinate is not linear in The transition from However, I don't think it's impossible to put this conversion in Parcels too. It just requires users to also specify a See also #1763, in which I propose to implement this conversion. |
Beta Was this translation helpful? Give feedback.
-
Question
Parcels v3.1.0 added a
parcels.FieldSet.from_croco()
method, with the goal to support native, under-the-hood advection in CROCO sigma grids. See here for the tutorial and specifically [here forHowever, it's unclear whether the algorithm used is actually the correct one for Parcels. The CROCO team has recently explained us that "it is not possible to switch exactly from depths to sigma coordinates and therefore to go back and forth between sigma and Z." I hope they can provide some more information below, because I think it's good if every user knows about this issue, and we can hopefully come up with a working solution together.
Beta Was this translation helpful? Give feedback.
All reactions