Skip to content

Commit 9dbc541

Browse files
authored
Merge pull request #3656 from CliMA/zs/hotfix
fix sea salt column mass diagnostics
2 parents 6346a93 + 1a90e98 commit 9dbc541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diagnostics/tracer_diagnostics.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function compute_sea_salt_column!(out, state, cache, time)
124124
cache.tracers.prescribed_aerosols_field,
125125
prescribed_aerosol_name,
126126
)
127-
@. aero_conc += aerosol_field
127+
@. aero_conc += aerosol_field * state.c.ρ
128128
end
129129
end
130130
Operators.column_integral_definite!(out, aero_conc)
@@ -140,7 +140,7 @@ function compute_sea_salt_column!(out, state, cache, time)
140140
cache.tracers.prescribed_aerosols_field,
141141
prescribed_aerosol_name,
142142
)
143-
@. aero_conc += aerosol_field
143+
@. aero_conc += aerosol_field * state.c.ρ
144144
end
145145
end
146146
Operators.column_integral_definite!(out, aero_conc)

0 commit comments

Comments
 (0)