You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some improvements on saturation adjustment docs (#56)
* add show method for HeightReferenceThermodynamicState
* fix show method for HeightReferenceThermodynamicState
* punctuation
* docstring for temperature
* add rh subplot
We use a secant method after checking for ``θ = 0`` and ``qˡ = 0`` given the guess ``T₁ = θ Π(qᵗ)``.
24
25
If ``qᵗ > qᵛ⁺(T₁)``, then we are guaranteed that ``T > T₁`` because ``qᵛ⁺`` is an increasing function of ``T``.
25
26
We initialize the secant iteration with a second guess ``T₂ = θ Π - [qᵗ - qᵛ⁺(T₁)] ℒᵥ₀ / cᵖᵐ``.
27
+
See [`temperature`](@ref Breeze.MoistAirBuoyancies.temperature) for more details.
26
28
27
-
28
-
As an example, we consider an air parcel at sea-level and with potential temperature of ``θ = 290``ᵒK, within a reference state with base pressure of 101325 Pa and a reference potential temperature ``288``ᵒK.
29
+
As an example, we consider an air parcel at sea-level and with potential temperature of ``θ = 290``ᵒK,
30
+
within a reference state with base pressure of 101325 Pa and a reference potential temperature ``288``ᵒK.
29
31
The saturation specific humidity is then
30
32
31
33
```@example microphysics
@@ -67,7 +69,7 @@ As a second example, we examine the dependence of temperature on total specific
67
69
when the potential temperature is constant:
68
70
69
71
```@example microphysics
70
-
qᵗ = 0:1e-4:0.02 # [kg kg⁻¹] total specific humidity
72
+
qᵗ = 0:1e-4:0.04 # [kg kg⁻¹] total specific humidity
71
73
U = [HeightReferenceThermodynamicState(θ, qᵗⁱ, z) for qᵗⁱ in qᵗ]
0 commit comments