Skip to content

Commit 36d64fc

Browse files
brandon.reichlbrandon.reichl
authored andcommitted
Adding cmor names for temp and salt in MOM_diagnostics
- cmore names were missing for the temp/salt output fields when using conservative temperature and absolute salinity. This PR adds them.
1 parent 88306bd commit 36d64fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diagnostics/MOM_diagnostics.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,11 +1663,11 @@ subroutine MOM_diagnostics_init(MIS, ADp, CDp, Time, G, GV, US, param_file, diag
16631663
if (use_temperature) then
16641664
if (tv%T_is_conT) then
16651665
CS%id_Tpot = register_diag_field('ocean_model', 'temp', diag%axesTL, &
1666-
Time, 'Potential Temperature', 'degC', conversion=US%C_to_degC)
1666+
Time, 'Potential Temperature', 'degC', conversion=US%C_to_degC, cmor_field_name="thetao")
16671667
endif
16681668
if (tv%S_is_absS) then
16691669
CS%id_Sprac = register_diag_field('ocean_model', 'salt', diag%axesTL, &
1670-
Time, 'Salinity', 'psu', conversion=US%S_to_ppt)
1670+
Time, 'Salinity', 'psu', conversion=US%S_to_ppt, cmor_field_name='so')
16711671
endif
16721672

16731673
CS%id_tob = register_diag_field('ocean_model','tob', diag%axesT1, Time, &

0 commit comments

Comments
 (0)