Replies: 1 comment 1 reply
-
Hi,
Internally, OpenDrift always uses vector components along east/north. Thus
it is the task of any reader to rotate vectors from a rotated/alternative
coordinate system to these directions, if necessary.
Knut-Frode
…On Tue, Aug 6, 2024, 11:33 soizicg ***@***.***> wrote:
I use a ROMS forcing with a rotated grid, where a variable "angle" keeps
track of the grid's rotation for each hourly output.
My question is about how a particle tracking model like OceanDrift handles
these grids. In the "reader_ROMS_native.py" script, I can see that the
velocity fields "x_sea_water_velocity" and "y_sea_water_velocity" are
rotated to convert them into proper zonal and meridional velocities before
computing particle trajectories.
However, I am confused about the necessity of this step. Isn't the
particle tracking model using the original rotated grid for the particle
trajectories? Then why is it necessary to convert the ROMS velocity output,
which are rotated to the local coordinate space, into zonal and meridional
velocities?
Thanks for the help.
—
Reply to this email directly, view it on GitHub
<#1373>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABH25I75A4CEVYIMEAJ7OCLZQCQ7DAVCNFSM6AAAAABMCBFESGVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGAYTONRYGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
soizicg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a ROMS forcing with a rotated grid, where a variable "angle" keeps track of the grid's rotation for each hourly output.
My question is about how a particle tracking model like OceanDrift handles these grids. In the "reader_ROMS_native.py" script, I can see that the velocity fields "x_sea_water_velocity" and "y_sea_water_velocity" are rotated to convert them into proper zonal and meridional velocities before computing particle trajectories.
However, I am confused about the necessity of this step. Isn't the particle tracking model using the original rotated grid for the particle trajectories? Then why is it necessary to convert the ROMS velocity output, which are rotated to the local coordinate space, into zonal and meridional velocities?
Thanks for the help.
Beta Was this translation helpful? Give feedback.
All reactions