(*)Avoiding using RHO_0 in non-Boussinesq debugging #588
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When in non-Boussinesq mode, write out mass-based tracer inventories from calls to
MOM_tracer_chkinv()
and mean thicknesses in mass per unit area from calls toMOM_state_stats()
, rather than the approximate volumes that depend on the Boussinesq reference density. Similarly the thicknesses and transports output bywrite_u_accel()
andwrite_v_accel()
are in mass per unit area or mass flux per unit face length in non-Boussinesq mode. This is done specifically by usingGV%H_to_MKS
in place ofGV%H_to_m
; these are identical in Boussinesq mode, butGV%H_to_MKS
avoids rescaling by the Boussinesq reference density in non-Boussinesq mode. Several comments were also updated to reflect these changes. All solutions are identical, but there are changes in the units of several diagnostic output fields that the model can write out when debugging non-Boussinesq mode runs.