Skip to content

Commit 4a9842a

Browse files
committed
Add some comments
1 parent 8556b1b commit 4a9842a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

cesm/flux_atmocn/flux_atmocn_COARE_mod.F90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,12 @@ subroutine flux_atmOcn_COARE( &
153153
endif
154154

155155
if (aofluxes_use_shr_wv_sat) then
156+
! This version uses a qsat calculation method consistent with what's used in CAM
156157
call shr_wv_sat_qsat_liquid(ts(n), pslv(n), esat_val, qsat_val)
157158
ssq = 0.98_R8 * qsat_val ! sea surf hum (kg/kg)
158159
else
160+
! This version uses the qsat calculation method that was used for many years,
161+
! prior to Aug 2025, and which is still being used by default in NorESM
159162
ssq = 0.98_R8 * qsat(ts(n)) / rbot(n) ! sea surf hum (kg/kg)
160163
end if
161164

cesm/flux_atmocn/flux_atmocn_Large.F90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,12 @@ subroutine flux_atmOcn_large( &
215215
endif
216216

217217
if (aofluxes_use_shr_wv_sat) then
218+
! This version uses a qsat calculation method consistent with what's used in CAM
218219
call shr_wv_sat_qsat_liquid(ts(n), pslv(n), esat_val, qsat_val)
219220
ssq = 0.98_R8 * qsat_val ! sea surf hum (kg/kg)
220221
else
222+
! This version uses the qsat calculation method that was used for many years,
223+
! prior to Aug 2025, and which is still being used by default in NorESM
221224
ssq = 0.98_R8 * qsat(ts(n)) / rbot(n) ! sea surf hum (kg/kg)
222225
end if
223226
delt = thbot(n) - ts(n) ! pot temp diff (K)

0 commit comments

Comments
 (0)