-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
48: Add EDMF parameters. r=charleskawczynski a=ilopezgp This PR adds the EDMF parameters, which will then be removed from ClimateMachine.jl. Co-authored-by: ilopezgp <ilopezgp@gmail.com>
- Loading branch information
Showing
6 changed files
with
235 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using Test | ||
using CLIMAParameters | ||
using CLIMAParameters.Atmos.EDMF | ||
|
||
@testset "EDMF" begin | ||
|
||
struct EarthParameterSet <: AbstractEarthParameterSet end | ||
ps = EarthParameterSet() | ||
|
||
@test !isnan(EDMF.c_λ(ps)) | ||
@test !isnan(EDMF.c_ε(ps)) | ||
@test !isnan(EDMF.c_δ(ps)) | ||
@test !isnan(EDMF.c_t(ps)) | ||
@test !isnan(EDMF.β(ps)) | ||
@test !isnan(EDMF.μ_0(ps)) | ||
@test !isnan(EDMF.χ(ps)) | ||
@test !isnan(EDMF.w_min(ps)) | ||
@test !isnan(EDMF.lim_ϵ(ps)) | ||
@test !isnan(EDMF.lim_amp(ps)) | ||
@test !isnan(EDMF.a_min(ps)) | ||
@test !isnan(EDMF.a_surf(ps)) | ||
@test !isnan(EDMF.κ_star²(ps)) | ||
@test !isnan(EDMF.ψϕ_stab(ps)) | ||
@test !isnan(EDMF.α_d(ps)) | ||
@test !isnan(EDMF.α_a(ps)) | ||
@test !isnan(EDMF.α_b(ps)) | ||
@test !isnan(EDMF.H_up_min(ps)) | ||
@test !isnan(EDMF.c_d(ps)) | ||
@test !isnan(EDMF.c_m(ps)) | ||
@test !isnan(EDMF.c_b(ps)) | ||
@test !isnan(EDMF.a1(ps)) | ||
@test !isnan(EDMF.a2(ps)) | ||
@test !isnan(EDMF.ω_pr(ps)) | ||
@test !isnan(EDMF.Pr_n(ps)) | ||
@test !isnan(EDMF.Ri_c(ps)) | ||
@test !isnan(EDMF.smin_ub(ps)) | ||
@test !isnan(EDMF.smin_rm(ps)) | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8fb34bc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
8fb34bc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/31504
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: