ClimaLand.jl icon indicating copy to clipboard operation
ClimaLand.jl copied to clipboard

`construct_atmos_ts` allocates at every step

Open Sbozzolo opened this issue 10 months ago • 0 comments

This is probably in

function construct_atmos_ts(
    atmos::PrescribedAtmosphere{FT},
    p,
    thermo_params,
) where {FT}
    P = p.drivers.P
    T = p.drivers.T
    q = p.drivers.q
    ts_in = Thermodynamics.PhaseEquil_pTq.(thermo_params, P, T, q)
    return ts_in
end

Sbozzolo avatar Apr 23 '24 23:04 Sbozzolo