Skip to content

Commit

Permalink
fix driver co2 date
Browse files Browse the repository at this point in the history
  • Loading branch information
LenkaNovak committed Oct 12, 2023
1 parent 73472de commit d0c5522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/AMIP/modular/coupler_driver_modular.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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], CO2_info)
update_field!(atmos_sim, Val(:co2_gm), CO2_current)

## calculate and accumulate diagnostics at each timestep
Expand Down

0 comments on commit d0c5522

Please sign in to comment.