Writing out wT (time average)

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
flq321

Writing out wT (time average)

#1 Unread post by flq321 »

I want to write out a new 3d variable 'wT' at the same locations as 'w'. I am looking at the documentation at this link:

https://www.myroms.org/wiki/Frequently_ ... t_files.3F

I would first need to interpolate the temperature field to 'w' locations before I can form the product. Does ROMS have its own subroutines to interpolate from 'rho' to 'w' locations?

Thanks for your help.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Writing out wT (time average)

#2 Unread post by kate »

One usually simply does a simple average between T points to get values at w points. For the top and bottom, just use the nearest value.

flq321

Re: Writing out wT (time average)

#3 Unread post by flq321 »

Should this not be a weighted average, accounting for the varying cell thickness? I am asking this because the cell face is not midway between two cell centers. I can see how averaging from w to rho locations does not have the same issue as the cell center is by definition midway between two cell faces.

Post Reply