From 9d7aca96e54882d9493daf59de8ffcf070275411 Mon Sep 17 00:00:00 2001 From: Julia Sloan Date: Thu, 18 Jan 2024 15:22:24 -0800 Subject: [PATCH 1/2] use albedo function in config --- config/model_configs/slabplanet_albedo_function.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/model_configs/slabplanet_albedo_function.yml b/config/model_configs/slabplanet_albedo_function.yml index b8c77dbee2..cc0815c705 100644 --- a/config/model_configs/slabplanet_albedo_function.yml +++ b/config/model_configs/slabplanet_albedo_function.yml @@ -1,3 +1,5 @@ +run_name: "slabplanet_albedo_function" +job_id: "slabplanet_albedo_function" moist: "equil" vert_diff: "true" rad: "gray" @@ -10,7 +12,5 @@ dt: "200secs" mono_surface: true h_elem: 4 precip_model: "0M" -land_albedo_type: "map_static" -run_name: "slabplanet_albedo_function" +land_albedo_type: "function" apply_limiter: false -job_id: "slabplanet_albedo_function" From 56ca3e554b123525c0dc209e30d6cee4d24e52d8 Mon Sep 17 00:00:00 2001 From: Julia Sloan Date: Thu, 18 Jan 2024 16:02:50 -0800 Subject: [PATCH 2/2] remove shows --- experiments/AMIP/components/land/bucket_init.jl | 2 -- test/experiment_tests/coupled_sims.jl | 2 -- 2 files changed, 4 deletions(-) diff --git a/experiments/AMIP/components/land/bucket_init.jl b/experiments/AMIP/components/land/bucket_init.jl index 9bcc2a916f..a1a9cda3b4 100644 --- a/experiments/AMIP/components/land/bucket_init.jl +++ b/experiments/AMIP/components/land/bucket_init.jl @@ -255,8 +255,6 @@ function bucket_init( set_initial_cache! = make_set_initial_cache(model) set_initial_cache!(p, Y, tspan[1]) - @show propertynames(p) - exp_tendency! = make_exp_tendency(model) ode_algo = CTS.ExplicitAlgorithm(stepper) bucket_ode_function = CTS.ClimaODEFunction(T_exp! = exp_tendency!, dss! = ClimaLSM.dss!) diff --git a/test/experiment_tests/coupled_sims.jl b/test/experiment_tests/coupled_sims.jl index 3c77d1c6cc..4d38b05902 100644 --- a/test/experiment_tests/coupled_sims.jl +++ b/test/experiment_tests/coupled_sims.jl @@ -61,8 +61,6 @@ end map = Operators.LinearRemap(spaceB, spaceA) coupler_add_map!(coupler, :simA_to_simB, map) - @show coupler - @testset "coupler_get" begin @test simA.data === coupler_get(coupler, :test1)