Skip to content

Commit

Permalink
use subsurface space for diags
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Oct 3, 2024
1 parent 2a92bb0 commit 578af1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/ClimaEarth/components/land/climaland_bucket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function bucket_init(
prob = SciMLBase.ODEProblem(bucket_ode_function, Y, tspan, p)

# Add diagnostics
netcdf_writer = CD.Writers.NetCDFWriter(space, artifacts_dir)
netcdf_writer = CD.Writers.NetCDFWriter(domain.space.subsurface, artifacts_dir)
scheduled_diagnostics = CL.default_diagnostics(model, date_ref, output_writer = netcdf_writer)

diagnostic_handler = CD.DiagnosticsHandler(scheduled_diagnostics, Y, p, t_start; dt = dt)
Expand Down

0 comments on commit 578af1e

Please sign in to comment.