@@ -52,8 +52,8 @@ module coupler_indices
5252 integer :: x2o_Foxx_taux ! zonal wind stress (taux) (W/m2 )
5353 integer :: x2o_Foxx_tauy ! meridonal wind stress (tauy) (W/m2 )
5454 integer :: x2o_Foxx_swnet ! net short-wave heat flux (W/m2 )
55- integer :: x2o_Foxx_sen ! sensible heat flux (W/m2 )
56- integer :: x2o_Foxx_lat
55+ integer :: x2o_Foxx_sen ! sensible heat flux (W/m2)
56+ integer :: x2o_Foxx_lat ! latent heat flux (W/m2)
5757 integer :: x2o_Foxx_lwup ! longwave radiation (up) (W/m2 )
5858 integer :: x2o_Faxa_lwdn ! longwave radiation (down) (W/m2 )
5959 integer :: x2o_Fioi_melth ! heat flux from snow & ice melt (W/m2 )
@@ -336,16 +336,18 @@ subroutine fill_ice_ocean_bnd(ice_ocean_boundary, grid, x2o_o, ind, sw_decomp, c
336336 do i = grid% isc, grid% iec
337337 k = k + 1 ! Increment position within gindex
338338 ig = i + grid% idg_offset
339+ ! sea-level pressure (Pa)
340+ ice_ocean_boundary% p(ig,jg) = x2o_o(ind% x2o_Sa_pslv,k)
339341 ! zonal wind stress (taux)
340342 ice_ocean_boundary% u_flux(ig,jg) = x2o_o(ind% x2o_Foxx_taux,k)
341343 ! meridional wind stress (tauy)
342344 ice_ocean_boundary% v_flux(ig,jg) = x2o_o(ind% x2o_Foxx_tauy,k)
343345 ! sensible heat flux (W/m2)
344346 ice_ocean_boundary% t_flux(ig,jg) = - x2o_o(ind% x2o_Foxx_sen,k)
345347 ! salt flux
346- ice_ocean_boundary% salt_flux(ig,jg) = x2o_o(ind% x2o_Fioi_salt,k)
347- ! heat flux from snow & ice melt
348- ice_ocean_boundary% calving_hflx(ig,jg) = x2o_o(ind % x2o_Fioi_melth,k)
348+ ice_ocean_boundary% salt_flux(ig,jg) = - x2o_o(ind% x2o_Fioi_salt,k)
349+ ! heat content from frozen runoff
350+ ice_ocean_boundary% calving_hflx(ig,jg) = 0.0
349351 ! snow melt flux
350352 ! ice_ocean_boundary%fprec(ig,jg) = x2o_o(ind%x2o_Fioi_meltw,k)
351353 ! river runoff flux
@@ -356,7 +358,7 @@ subroutine fill_ice_ocean_bnd(ice_ocean_boundary, grid, x2o_o, ind, sw_decomp, c
356358 ice_ocean_boundary% lprec(ig,jg) = x2o_o(ind% x2o_Faxa_rain,k)
357359 ! frozen precipitation (snow)
358360 ice_ocean_boundary% fprec(ig,jg) = x2o_o(ind% x2o_Faxa_snow,k)
359- ! evaporation flux (kg/m2/s)
361+ ! evaporation flux, MOM6 calls q_flux specific humidity (kg/m2/s)
360362 ice_ocean_boundary% q_flux(ig,jg) = - x2o_o(ind% x2o_Foxx_evap,k)
361363 ! longwave radiation, sum up and down (W/m2)
362364 ice_ocean_boundary% lw_flux(ig,jg) = x2o_o(ind% x2o_Faxa_lwdn,k) + x2o_o(ind% x2o_Foxx_lwup,k)
0 commit comments