roms output wrong density anomaly

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
shifei
Posts: 30
Joined: Thu Aug 01, 2013 3:11 pm
Location: Ocean University of China

roms output wrong density anomaly

#1 Unread post by shifei »

Hi,
The roms output density anomaly is not consistent with the value I calculated using temp and salt. But the roms output potential vorticity is consistent with value I calculated.
Attachments
The section is along 30 N.The result is 3-day averaged in March. Potential density is shown in white line, pv is shown in color. The left density is calculated using temp and salt; the right density is from roms averaged output file.
The section is along 30 N.The result is 3-day averaged in March. Potential density is shown in white line, pv is shown in color. The left density is calculated using temp and salt; the right density is from roms averaged output file.

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

Re: roms output wrong density anomaly

#2 Unread post by kate »

It looks like one is potential density, the other in situ density. If you look at mod_ocean.F, the model has both:

Code: Select all

!  pden         Potential Density anomaly (kg/m3).                     !    
!  rho          Density anomaly (kg/m3).                               ! 
However, wrt_his.F only writes rho, not pden. One could modify the output to add the option to write pden.

Post Reply