Ask Your Question
0

vbar_northward and ubar_northward 2D in croco

asked 2023-01-05 21:21:52 +0100

updated 2023-01-05 21:38:17 +0100

Hi! i'm new to the croco model and so far I've had great success! I have a question regarding one of my model's output, though.

I want to make a velocity vector plot in qgis with the u and v components , and for this I need the data in the format:

X(longitude) Y(latitude) u v

But as u(xi_u,eta_rho) and v(xi_rho,eta_v) don't share the same dimensions, I would need them both to be in latitude longitude at RHO-points. I saw that this option exists in roms (https://www.myroms.org/forum/viewtopi...) (https://www.myroms.org/projects/src/t...) as

ubar_eastward 2D U-eastward at RHO-points

vbar_northward 2D V-northward at RHO-points

but I can't find the way to have those variables stored in the output netcdf in croco. ¿Could you point me out how to obtain those variables in the output? I checked in croco.in, but I can only set the flags for u,v, ubar and vbar.

Many thanks!

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2023-01-13 19:10:29 +0100

andres gravatar image

Hi,

There are no such variables as output from the model calculations, as far as I know.

CROCO_TOOLS has functions such as u2_rho_2d.m and v2rho_2d.m to transfer the values at u or v points to the rho points.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2023-01-05 21:21:52 +0100

Seen: 785 times

Last updated: Jan 13