fabm-model/fabm

Incorrect multiplier in 0D driver call to calculate the density

Closed this issue · 1 comments

I believe the multiplier should be .5_rk and not 5._rk as it currently is.

if (compute_density) dens = rho_feistel(salt%value,temp%value,5._rk*column_depth,.true.)

Thanks! That seems correct (rho_feistel takes pressure in dbar, which is approximately equivalent to dept in m). Now fixed.