Skip to content

Commit

Permalink
test sea salt
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Aug 29, 2024
1 parent 1082845 commit c7f8d85
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions config/longrun_configs/longrun_aquaplanet_allsky_0M.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rayleigh_sponge: true
implicit_diffusion: true
approximate_linear_solve_iters: 2
dt: "120secs"
t_end: "360days"
t_end: "100days"
dt_save_state_to_disk: "10days"
moist: "equil"
rad: "allskywithclear"
Expand All @@ -16,10 +16,10 @@ dt_cloud_fraction: "1hours"
surface_setup: "DefaultMoninObukhov"
vert_diff: "FriersonDiffusion"
precip_model: "0M"
prescribed_aerosols: ["CB1", "CB2", "DST01", "OC1", "OC2", "SO4"]
prescribed_aerosols: ["SSLT01"]
aerosol_radiation: true
toml: [toml/longrun_aquaplanet.toml]
diagnostics:
- short_name: [mmrso4]
- short_name: [mmrss]
reduction_time: average
period: "1months"
4 changes: 2 additions & 2 deletions examples/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2137,8 +2137,8 @@ uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"

[[deps.RRTMGP]]
deps = ["Adapt", "Artifacts", "ClimaComms", "DocStringExtensions", "Random"]
git-tree-sha1 = "9daa7af64af9c20531b0fae7d0d9473d11a7bc5d"
repo-rev = "main"
git-tree-sha1 = "86a9005d840a332cda9d6239085f002e2f03878b"
repo-rev = "zs/limit_tau"
repo-url = "https://github.com/CliMA/RRTMGP.jl.git"
uuid = "a01a1ee8-cea4-48fc-987c-fc7878d79da1"
version = "0.18.0"
Expand Down
2 changes: 1 addition & 1 deletion src/callbacks/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ NVTX.@annotate function rrtmgp_model_callback!(integrator)
thermo_params,
TD.PhasePartition(thermo_params, ᶜts),
)
@. ᶜrh = TD.relative_humidity(thermo_params, ᶜts)
@. ᶜrh = min(max(TD.relative_humidity(thermo_params, ᶜts), 0), 1)
end
end

Expand Down

0 comments on commit c7f8d85

Please sign in to comment.