diff --git a/experiments/ClimaEarth/components/atmosphere/climaatmos.jl b/experiments/ClimaEarth/components/atmosphere/climaatmos.jl index 1e641b19ae..b5374e0479 100644 --- a/experiments/ClimaEarth/components/atmosphere/climaatmos.jl +++ b/experiments/ClimaEarth/components/atmosphere/climaatmos.jl @@ -171,8 +171,8 @@ moisture_flux(::Union{CA.EquilMoistModel, CA.NonEquilMoistModel}, integrator) = ρq_tot(::Union{CA.EquilMoistModel, CA.NonEquilMoistModel}, integrator) = integrator.u.c.ρq_tot # extensions required by the Interfacer -Interfacer.get_field(sim::ClimaAtmosSimulation, ::Val{:air_pressure}) = - CC.Fields.level(sim.integrator.p.precomputed.ᶜp, 1) +Interfacer.get_field(atmos_sim::ClimaAtmosSimulation, ::Val{:air_pressure}) = + CC.Fields.level(atmos_sim.integrator.p.precomputed.ᶜp, 1) Interfacer.get_field(sim::ClimaAtmosSimulation, ::Val{:air_temperature}) = TD.air_temperature.( sim.integrator.p.params.thermodynamics_params,