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 Post by shifei » Sun Mar 26, 2017 5:32 am

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: 3798
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: roms output wrong density anomaly

#2 Post by kate » Sun Mar 26, 2017 6:44 am

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