MOM6 icon indicating copy to clipboard operation
MOM6 copied to clipboard

Bug in the implementation of NEMO equation of state

Open nikizadehgfdl opened this issue 7 years ago • 3 comments

Bob pointed out that subroutine calculate_compress_nemo in MOM_EOS_NEMO.F90 calls gsw_rho_first_derivatives which calculates the derivative of rho wrt pressure, but using the TEOS-10 equation of state. This should be using the NEMO equation of state instead.

nikizadehgfdl avatar Jan 10 '17 15:01 nikizadehgfdl

@StephenGriffies NEMO provides partial derivatives of density wrt T&S. But to calculate the compressibility we need the partial derivative wrt pressure which NEMO does not provide. Hence we are using the TEOS10 provided function as an approximation

I will try to derive an expression using NEMO if they do not have one ready for use.

nikizadehgfdl avatar Jan 24 '17 20:01 nikizadehgfdl

What is the status of this issue?

StephenGriffies avatar May 31 '17 15:05 StephenGriffies

@nikizadehgfdl any update on this issue?

StephenGriffies avatar Sep 21 '20 18:09 StephenGriffies

This issue was addressed via https://github.com/NOAA-GFDL/MOM6/pull/331, which was merged onto the main branch of MOM6 on July 31, 2023.

Hallberg-NOAA avatar Mar 21 '24 08:03 Hallberg-NOAA