Skip to content

+Add post_tracer_integral_diagnostics#368

Merged
alperaltuntas merged 1 commit into
NCAR:dev/ncarfrom
Hallberg-NOAA:tracer_registry_diag_rescale_ncar
Jul 25, 2025
Merged

+Add post_tracer_integral_diagnostics#368
alperaltuntas merged 1 commit into
NCAR:dev/ncarfrom
Hallberg-NOAA:tracer_registry_diag_rescale_ncar

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown

Added the new routine post_tracer_integral_diagnostics() to calculate vertically integrated tracer diagnostics. This includes properly setting the vertical layer extents from layer thicknesses via a call to thickness_to_dz(). This new routine is being called from within step_MOM(), immediately after another closely related call to write out other tracer diagnostics. In so doing, it changes the thicknesses used for these diagnostics to be consistent with the state of the tracers.

This commit also sets the appropriate unit conversion factors in the register_diag_field() calls for three recently added diagnostics of surface tracer concentrations and the integrated tracers amounts in the full water column and in the topmost 100 m. All solutions are bitwise identical, but this will correct the thicknesses used in the calculation of two groups of tracer diagnostics and properly implements the dimensional rescaling of these diagnostics when tracers (like temperature and salinity) when they are being rescaled.

  Added the new routine post_tracer_integral_diagnostics to calculate vertically
integrated tracer diagnostics.  This includes properly setting the vertical
layer extents from layer thicknesses via a call to thickness_to_dz.  This new
routine is being called from within step_MOM(), immediately after another
closely related call to write out other tracer diagnostics.  In so doing, it
changes the thicknesses used for these diagnostics to be consistent with the
state of the tracers.

  This commit also sets the appropriate unit conversion factors in the
register_diag_field calls for three recently diagnostics of surface tracer
concentrations and the integrated tracers amounts in the full water column and
in the topmost 100 m.   All solutions are bitwise identical, but this will
correct the thicknesses used in the calculation of two groups of tracer
diagnostics and properly implements the dimensional rescaling of these
diagnostics when tracers (like temperature and salinity) when they are being
rescaled.
@alperaltuntas alperaltuntas merged commit ff7a785 into NCAR:dev/ncar Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants