Skip to content

Commit

Permalink
Revert post_data fix to CFC concentration
Browse files Browse the repository at this point in the history
The most recent NCAR -> GFDL merge created an error (courtesy of myself)
which left the CFC concentration units in the post_data call, even
though these are now handled at registration.

This patch restores this expression and removes the unit conversion from
post_data.
  • Loading branch information
marshallward committed Nov 15, 2023
1 parent cce4b3d commit f4c95ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tracer/MOM_CFC_cap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,7 @@ subroutine CFC_cap_column_physics(h_old, h_new, ea, eb, fluxes, dt, G, GV, US, C
! If needed, write out any desired diagnostics from tracer sources & sinks here.
do m=1,NTR
if (CS%CFC_data(m)%id_cmor > 0) &
call post_data(CS%CFC_data(m)%id_cmor, &
(GV%Rho0*US%R_to_kg_m3)*CS%CFC_data(m)%conc, CS%diag)
call post_data(CS%CFC_data(m)%id_cmor, CS%CFC_data(m)%conc, CS%diag)

if (CS%CFC_data(m)%id_sfc_flux > 0) &
call post_data(CS%CFC_data(m)%id_sfc_flux, CS%CFC_data(m)%sfc_flux, CS%diag)
Expand Down

0 comments on commit f4c95ec

Please sign in to comment.