Skip to content

Commit

Permalink
atmos update
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Feb 5, 2024
1 parent 0411393 commit f3ac8a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions experiments/AMIP/components/atmosphere/climaatmos_init.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,7 @@ function get_field(sim::ClimaAtmosSimulation, ::Val{:liquid_precipitation})
sim.integrator.p.precipitation.col_integrated_rain .* ρ_liq # kg/m^2/s
end
function get_field(sim::ClimaAtmosSimulation, ::Val{:snow_precipitation})
# TODO: use this upon Atmos v0.20 release
# sim.integrator.p.precipitation.col_integrated_snow # kg/m^2/s

ρ_ice = CAP.ρ_cloud_ice(sim.integrator.p.params)
sim.integrator.p.precipitation.col_integrated_snow .* ρ_ice # kg/m^2/s
sim.integrator.p.precipitation.col_integrated_snow # kg/m^2/s
end

get_field(sim::ClimaAtmosSimulation, ::Val{:turbulent_energy_flux}) =
Expand Down

0 comments on commit f3ac8a7

Please sign in to comment.