Skip to content

Commit 22e42d3

Browse files
committed
Comment out latent heat flux associated with iceberg melt in nuopc cap to test iceberg flux without latent heat
1 parent 851c39c commit 22e42d3

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

config_src/drivers/nuopc_cap/mom_surface_forcing_nuopc.F90

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -541,20 +541,20 @@ subroutine convert_IOB_to_fluxes(IOB, fluxes, index_bounds, Time, valid_time, G,
541541
IOB%fprec(i-i0,j-j0)*US%W_m2_to_QRZ_T*CS%latent_heat_fusion
542542
fluxes%latent_fprec_diag(i,j) = - G%mask2dT(i,j) * IOB%fprec(i-i0,j-j0)*US%W_m2_to_QRZ_T*CS%latent_heat_fusion
543543
endif
544-
! notice minus sign since frunoff is positive into the ocean
545-
if (associated(IOB%frunoff)) then
546-
fluxes%latent(i,j) = fluxes%latent(i,j) - &
547-
IOB%frunoff(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
548-
fluxes%latent_frunoff_diag(i,j) = - G%mask2dT(i,j) * &
549-
IOB%frunoff(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
550-
endif
551-
! notice minus sign since frunoff_glc is positive into the ocean
552-
if (associated(IOB%frunoff_glc)) then
553-
fluxes%latent(i,j) = fluxes%latent(i,j) - &
554-
IOB%frunoff_glc(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
555-
fluxes%latent_frunoff_glc_diag(i,j) = fluxes%latent_frunoff_glc_diag(i,j) - G%mask2dT(i,j) * &
556-
IOB%frunoff_glc(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
557-
endif
544+
! ! notice minus sign since frunoff is positive into the ocean
545+
! if (associated(IOB%frunoff)) then
546+
! fluxes%latent(i,j) = fluxes%latent(i,j) - &
547+
! IOB%frunoff(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
548+
! fluxes%latent_frunoff_diag(i,j) = - G%mask2dT(i,j) * &
549+
! IOB%frunoff(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
550+
! endif
551+
! ! notice minus sign since frunoff_glc is positive into the ocean
552+
! if (associated(IOB%frunoff_glc)) then
553+
! fluxes%latent(i,j) = fluxes%latent(i,j) - &
554+
! IOB%frunoff_glc(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
555+
! fluxes%latent_frunoff_glc_diag(i,j) = fluxes%latent_frunoff_glc_diag(i,j) - G%mask2dT(i,j) * &
556+
! IOB%frunoff_glc(i-i0,j-j0) * US%W_m2_to_QRZ_T * CS%latent_heat_fusion
557+
! endif
558558
if (associated(IOB%q_flux)) then
559559
fluxes%latent(i,j) = fluxes%latent(i,j) + &
560560
IOB%q_flux(i-i0,j-j0)*US%W_m2_to_QRZ_T*CS%latent_heat_vapor

0 commit comments

Comments
 (0)