diff --git a/experiments/ClimaEarth/components/land/climaland_integrated.jl b/experiments/ClimaEarth/components/land/climaland_integrated.jl index 93541a48ba..cb01467615 100644 --- a/experiments/ClimaEarth/components/land/climaland_integrated.jl +++ b/experiments/ClimaEarth/components/land/climaland_integrated.jl @@ -85,43 +85,15 @@ function ClimaLandSimulation( Csom = ClimaLand.PrescribedSoilOrganicCarbon{FT}(TimeVaryingInput((t) -> 5)) - # TODO remove this once CL functions are extended for CoupledAtmosphere - precip = TimeVaryingInput((t) -> -1.0e-7) - atmos_q = TimeVaryingInput((t) -> 0.002) - atmos_T = TimeVaryingInput((t) -> 298.0) - atmos_p = TimeVaryingInput((t) -> 101320) - atmos_u = TimeVaryingInput((t) -> 3.0) - LW_IN = TimeVaryingInput((t) -> 5.67e-8 * 298.0^4) - SW_IN = TimeVaryingInput((t) -> 500.0) - snow_precip = TimeVaryingInput((t) -> 0.0) - atmos_h = FT(32) - atmos = ClimaLand.PrescribedAtmosphere( - precip, - snow_precip, - atmos_T, - atmos_u, - atmos_q, - atmos_p, - start_date, - atmos_h, - earth_param_set; - ) - radiation = ClimaLand.PrescribedRadiativeFluxes( - FT, - SW_IN, - LW_IN, - start_date, - # θs = zenith_angle, - ) land_input = ( - atmos = atmos,#ClimaLand.CoupledAtmosphere{FT}(), - radiation = radiation,#ClimaLand.CoupledRadiativeFluxes{FT}(), + atmos = ClimaLand.CoupledAtmosphere{FT}(), + radiation = ClimaLand.CoupledRadiativeFluxes{FT}(), runoff = runoff_model, soil_organic_carbon = Csom, ) land = ClimaLand.LandModel{FT}(; - soilco2_type = soilco2_type, # TODO this fails because soil CO2 requires PrescribedAtmosphere currently + soilco2_type = soilco2_type, soilco2_args = soilco2_args, land_args = land_input, soil_model_type = soil_model_type,