File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
experiments/ClimaEarth/components/land Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -612,11 +612,15 @@ function FluxCalculator.compute_surface_fluxes!(
612612 @. csf. F_sh += csf. temp2 * area_fraction
613613
614614 # Combine turbulent moisture fluxes from each component of the land model
615+ # Note that we multiply by ρ_liq to convert from m s-1 to kg m-2 s-1
616+ ρ_liq = (LP. ρ_cloud_liq (sim. model. soil. parameters. earth_param_set))
615617 Interfacer. remap! (
616618 csf. temp1,
617- canopy_dest. transpiration .+
618- (soil_dest. vapor_flux_liq .+ soil_dest. vapor_flux_ice) .* (1 .- p. snow. snow_cover_fraction) .+
619- p. snow. snow_cover_fraction .* snow_dest. vapor_flux,
619+ (
620+ canopy_dest. transpiration .+
621+ (soil_dest. vapor_flux_liq .+ soil_dest. vapor_flux_ice) .* (1 .- p. snow. snow_cover_fraction) .+
622+ p. snow. snow_cover_fraction .* snow_dest. vapor_flux
623+ ) .* ρ_liq,
620624 )
621625 @. csf. temp1 = ifelse (area_fraction == 0 , zero (csf. temp1), csf. temp1)
622626 @. csf. F_turb_moisture += csf. temp1 * area_fraction
You can’t perform that action at this time.
0 commit comments