Skip to content

Commit

Permalink
Merge pull request #1008 from CliMA/gb/monthly
Browse files Browse the repository at this point in the history
Make land diagnostics monthly
  • Loading branch information
Sbozzolo authored Oct 10, 2024
2 parents e9aedc9 + 7fd17f8 commit f9a2b3e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions experiments/ClimaEarth/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.5"
manifest_format = "2.0"
project_hash = "068d169322176676d4a2ff1e87cafb47cc58b76b"
project_hash = "8cfbbdd3c55bdfe11ee11fceafa27d98a3409be5"

[[deps.ADTypes]]
git-tree-sha1 = "5a5eafb8344b81b8c2237f8a6f6b3602b3f6180e"
Expand Down Expand Up @@ -347,9 +347,9 @@ version = "0.2.7"

[[deps.ClimaLand]]
deps = ["ArtifactWrappers", "ClimaComms", "ClimaCore", "ClimaDiagnostics", "ClimaUtilities", "Dates", "DocStringExtensions", "Insolation", "Interpolations", "LazyArtifacts", "LinearAlgebra", "NCDatasets", "SciMLBase", "StaticArrays", "SurfaceFluxes", "Thermodynamics"]
git-tree-sha1 = "ecb91842be1740ba97cbedd7123f4479013ec9d9"
git-tree-sha1 = "e8f2937db023023675dc440c43abd7a78d74b88d"
uuid = "08f4d4ce-cf43-44bb-ad95-9d2d5f413532"
version = "0.15.0"
version = "0.15.1"

[deps.ClimaLand.extensions]
CreateParametersExt = "ClimaParams"
Expand Down
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
4 changes: 2 additions & 2 deletions perf/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ version = "0.2.8"

[[deps.ClimaLand]]
deps = ["ArtifactWrappers", "ClimaComms", "ClimaCore", "ClimaDiagnostics", "ClimaUtilities", "Dates", "DocStringExtensions", "Insolation", "Interpolations", "LazyArtifacts", "LinearAlgebra", "NCDatasets", "SciMLBase", "StaticArrays", "SurfaceFluxes", "Thermodynamics"]
git-tree-sha1 = "ecb91842be1740ba97cbedd7123f4479013ec9d9"
git-tree-sha1 = "e8f2937db023023675dc440c43abd7a78d74b88d"
uuid = "08f4d4ce-cf43-44bb-ad95-9d2d5f413532"
version = "0.15.0"
version = "0.15.1"

[deps.ClimaLand.extensions]
CreateParametersExt = "ClimaParams"
Expand Down

0 comments on commit f9a2b3e

Please sign in to comment.