Skip to content

Commit

Permalink
Make land diagnostics monthly
Browse files Browse the repository at this point in the history
Instead of the default daily
  • Loading branch information
Sbozzolo committed Oct 9, 2024
1 parent e9aedc9 commit 9ede24d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion experiments/ClimaEarth/components/land/climaland_bucket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ function bucket_init(

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

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

0 comments on commit 9ede24d

Please sign in to comment.