Skip to content

Commit

Permalink
access-esm1p6: add variant cice and generic-tracers
Browse files Browse the repository at this point in the history
  • Loading branch information
harshula committed Dec 5, 2024
1 parent ff2fbc0 commit 8f583a3
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions packages/access-esm1p6/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,37 @@ class AccessEsm1p6(BundlePackage):

git = "https://github.com/ACCESS-NRI/ACCESS-ESM1.6.git"

maintainers("dougiesquire")
maintainers("dougiesquire", "harshula")

version("latest")

depends_on("cice4@access-esm1.5", type="run")
depends_on("mom5@access-esm1.6 type=ACCESS-ESM", type="run")
variant(
"cice",
default=4,
description="Choose the version of the CICE sea-ice model.",
values=(4, 5),
multi=False,
)
variant(
"generic-tracers",
default=True,
description="Enable generic tracers.",
)

depends_on("cice4@access-esm1.5", type="run", when="cice=4")
depends_on("cice5@access-esm1.6", type="run", when="cice=5")
depends_on(
"mom5@access-esm1.6 type=ACCESS-ESM",
when="+generic-tracers",
type="run",
)
# TODO: Use the access-esm1.6 branch when it has been confirmed that
# MOM5 master supports building with generic tracers disabled.
depends_on(
"mom5@access-esm1.5 type=ACCESS-CM",
when="~generic-tracers",
type="run",
)
# um7 is in a private repository
depends_on("um7@access-esm1.5", type="run")

Expand Down

0 comments on commit 8f583a3

Please sign in to comment.