diff --git a/src/integrated/soil_canopy_model.jl b/src/integrated/soil_canopy_model.jl index 4d714165e2..55ff95c529 100644 --- a/src/integrated/soil_canopy_model.jl +++ b/src/integrated/soil_canopy_model.jl @@ -99,10 +99,8 @@ function SoilCanopyModel{FT}(; ) else #no runoff model @info("Warning: No runoff model is being used; zero runoff generated.") - top_bc = ClimaLand.Soil.AtmosDrivenFluxBC( - atmos, - CanopyRadiativeFluxes{FT}(), - ) + top_bc = + ClimaLand.Soil.AtmosDrivenFluxBC(atmos, CanopyRadiativeFluxes{FT}()) end zero_flux = Soil.HeatFluxBC((p, t) -> 0.0) boundary_conditions = (; diff --git a/src/standalone/Soil/Runoff/Runoff.jl b/src/standalone/Soil/Runoff/Runoff.jl index 3313130146..d57d06d042 100644 --- a/src/standalone/Soil/Runoff/Runoff.jl +++ b/src/standalone/Soil/Runoff/Runoff.jl @@ -253,8 +253,11 @@ function soil_infiltration_capacity(model::EnergyHydrology, Y, p) surface_space = model.domain.space.surface @. p.soil.subsfc_scratch = -K_sat * - impedance_factor(Y.soil.θ_i / (p.soil.θ_l + Y.soil.θ_i - θ_r), Ω) * - viscosity_factor(p.soil.T, γ, γT_ref) + ClimaLand.Soil.impedance_factor( + Y.soil.θ_i / (p.soil.θ_l + Y.soil.θ_i - θ_r), + Ω, + ) * + ClimaLand.Soil.viscosity_factor(p.soil.T, γ, γT_ref) return ClimaLand.Soil.get_top_surface_field( p.soil.subsfc_scratch, surface_space,