Skip to content

Commit

Permalink
Download Atmos/Land artifacts too
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Feb 21, 2024
1 parent f529aec commit 1b6477a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artifacts/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[deps]
ArtifactWrappers = "a14bc488-3040-4b00-9dc1-f6467924858a"
ClimaAtmos = "b2c96348-7fb7-4fe0-8da9-78d88439e717"
ClimaLand = "08f4d4ce-cf43-44bb-ad95-9d2d5f413532"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
26 changes: 26 additions & 0 deletions artifacts/download_artifacts.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@

# Download atmos artifacts
module Atmos
import ClimaAtmos
include(joinpath(pkgdir(ClimaAtmos), "artifacts", "download_artifacts.jl"))
trigger_download()
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()
end


include(joinpath(@__DIR__, "artifact_funcs.jl"))

# Trigger download if data doesn't exist locally
Expand Down

0 comments on commit 1b6477a

Please sign in to comment.