@@ -1504,9 +1504,6 @@ add_diagnostic_variable!(
15041504 compute! = compute_cape!,
15051505)
15061506
1507- # ##
1508- # Mean sea level pressure (2d)
1509- # ##
15101507function compute_mslp! (out, state, cache, time)
15111508 thermo_params = CAP. thermodynamics_params (cache. params)
15121509 g = TD. Parameters. grav (thermo_params)
@@ -1539,43 +1536,3 @@ add_diagnostic_variable!(
15391536 comments = " Mean sea level pressure computed from the hypsometric equation" ,
15401537 compute! = compute_mslp!,
15411538)
1542-
1543- # ##
1544- # Rainwater path (2d)
1545- # ##
1546- compute_rwp! (out, state, cache, time) =
1547- compute_rwp! (out, state, cache, time, cache. atmos. microphysics_model)
1548- compute_rwp! (_, _, _, _, model:: T ) where {T} =
1549- error_diagnostic_variable (" rwp" , model)
1550-
1551- function compute_rwp! (
1552- out,
1553- state,
1554- cache,
1555- time,
1556- moisture_model:: T ,
1557- ) where {T <: Union{Microphysics1Moment, Microphysics2Moment} }
1558- if isnothing (out)
1559- out = zeros (axes (Fields. level (state. f, half)))
1560- rw = cache. scratch. ᶜtemp_scalar
1561- @. rw = state. c. ρq_rai
1562- Operators. column_integral_definite! (out, rw)
1563- return out
1564- else
1565- rw = cache. scratch. ᶜtemp_scalar
1566- @. rw = state. c. ρq_rai
1567- Operators. column_integral_definite! (out, rw)
1568- end
1569- end
1570-
1571- add_diagnostic_variable! (
1572- short_name = " rwp" ,
1573- long_name = " Rainwater Path" ,
1574- standard_name = " atmosphere_mass_content_of_rainwater" ,
1575- units = " kg m^-2" ,
1576- comments = """
1577- The total mass of rainwater per unit area.
1578- (not just the area of the cloudy portion of the column).
1579- """ ,
1580- compute! = compute_rwp!,
1581- )
0 commit comments