ClimaLand.jl
ClimaLand.jl copied to clipboard
`construct_atmos_ts` allocates at every step
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