From f6fb87139c6afbdbca694db3f2ab5578f4f3c5f2 Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Mon, 7 Oct 2024 16:01:33 -0700 Subject: [PATCH] Do not download bucket artifacts for CL > 0.15.1 ClimaLand moved to ClimaArtifacts for the bucket artifacts, so that the files are automatically downloaded --- artifacts/download_artifacts.jl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/artifacts/download_artifacts.jl b/artifacts/download_artifacts.jl index 6dbedb25a..31745cce2 100644 --- a/artifacts/download_artifacts.jl +++ b/artifacts/download_artifacts.jl @@ -9,9 +9,11 @@ end # Download land artifacts module Land import ClimaLand -include(joinpath(pkgdir(ClimaLand), "src", "standalone", "Bucket", "artifacts", "artifacts.jl")) -@info "CESM", cesm2_albedo_dataset_path() -@info "Bareground albedo", bareground_albedo_dataset_path() +if pkgversion(ClimaLand) < v"0.15.2" + include(joinpath(pkgdir(ClimaLand), "src", "standalone", "Bucket", "artifacts", "artifacts.jl")) + @info "CESM", cesm2_albedo_dataset_path() + @info "Bareground albedo", bareground_albedo_dataset_path() +end end