We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75b6b04 commit 133f008Copy full SHA for 133f008
src/Thermodynamics/reference_states.jl
@@ -52,7 +52,7 @@ end
52
g = thermo.gravitational_acceleration
53
θᵣ = ref.reference_potential_temperature
54
p₀ = ref.base_pressure
55
- return p₀ * (1 - g * z / (cᵖᵈ * θᵣ))^(Rᵈ / cᵖᵈ)
+ return p₀ * (1 - g * z / (cᵖᵈ * θᵣ))^(cᵖᵈ / Rᵈ)
56
end
57
58
@inline function saturation_specific_humidity(T, z, ref::ReferenceConstants, thermo, phase_transition)
0 commit comments