From 5b2e38969b9893e49c8179e540ef94ba4a1b4243 Mon Sep 17 00:00:00 2001 From: Helen Kershaw Date: Thu, 3 Aug 2023 15:27:16 -0400 Subject: [PATCH] comment: rho is dry air density Co-authored-by: syha --- models/mpas_atm/model_mod.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/mpas_atm/model_mod.f90 b/models/mpas_atm/model_mod.f90 index 53d17d33af..29282f7a8a 100644 --- a/models/mpas_atm/model_mod.f90 +++ b/models/mpas_atm/model_mod.f90 @@ -7380,7 +7380,7 @@ function theta_to_tk (ens_size, theta, rho, qv, istatus) integer, intent(in) :: ens_size real(r8), dimension(ens_size), intent(in) :: theta ! potential temperature [K] -real(r8), dimension(ens_size), intent(in) :: rho ! dry density +real(r8), dimension(ens_size), intent(in) :: rho ! dry air density [kg/m3] real(r8), dimension(ens_size), intent(in) :: qv ! water vapor mixing ratio [kg/kg] integer, dimension(ens_size), intent(inout) :: istatus real(r8), dimension(ens_size) :: theta_to_tk ! sensible temperature [K] @@ -7441,7 +7441,7 @@ subroutine compute_full_pressure(ens_size, theta, rho, qv, pressure, tk, istatus integer, intent(in) :: ens_size real(r8), dimension(ens_size), intent(in) :: theta ! potential temperature [K] -real(r8), dimension(ens_size), intent(in) :: rho ! dry density +real(r8), dimension(ens_size), intent(in) :: rho ! dry air density [kg/m3] real(r8), dimension(ens_size), intent(in) :: qv ! water vapor mixing ratio [kg/kg] real(r8), dimension(ens_size), intent(out) :: pressure ! full pressure [Pa] real(r8), dimension(ens_size), intent(out) :: tk ! return sensible temperature to caller