From e07f8d9e3a97565512fc2c3cb1e67cabe8b655d1 Mon Sep 17 00:00:00 2001 From: LenkaNovak Date: Thu, 12 Oct 2023 11:10:19 -0700 Subject: [PATCH] init --- experiments/AMIP/modular/coupler_driver_modular.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/AMIP/modular/coupler_driver_modular.jl b/experiments/AMIP/modular/coupler_driver_modular.jl index b1774adeca..3a0e20998d 100644 --- a/experiments/AMIP/modular/coupler_driver_modular.jl +++ b/experiments/AMIP/modular/coupler_driver_modular.jl @@ -555,7 +555,7 @@ function solve_coupler!(cs) if cs.dates.date[1] >= next_date_in_file(cs.mode.CO2_info) update_midmonth_data!(cs.dates.date[1], cs.mode.CO2_info) end - CO2_current = interpolate_midmonth_to_daily(date0, CO2_info) + CO2_current = interpolate_midmonth_to_daily(cs.dates.date[1], cs.mode.CO2_info) update_field!(atmos_sim, Val(:co2_gm), CO2_current) ## calculate and accumulate diagnostics at each timestep