Skip to content

Commit

Permalink
Merge #467
Browse files Browse the repository at this point in the history
467: Fix CO2 date call  r=LenkaNovak a=LenkaNovak



Co-authored-by: LenkaNovak <lenka@caltech.edu>
  • Loading branch information
bors[bot] and LenkaNovak authored Oct 13, 2023
2 parents 4ef8d9f + e07f8d9 commit c351b5a
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], cs.mode.CO2_info)
update_field!(atmos_sim, Val(:co2_gm), CO2_current)

## calculate and accumulate diagnostics at each timestep
Expand Down

0 comments on commit c351b5a

Please sign in to comment.