Skip to content

Commit

Permalink
Fix inference in radiation.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Aug 18, 2024
1 parent b5c7cf2 commit 6ec9e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parameterized_tendencies/radiation/radiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ function radiation_model_cache(
reshape(input_data["pres_layer"][:, :], n, :);
dims = 2,
),
)
)::Vector{FT}
# the first values along the third dimension of the ozone concentration
# data are the present-day values
input_center_volume_mixing_ratio_o3 = vec(
mean(reshape(input_data["ozone"][:, :, 1], n, :); dims = 2),
)
)::Vector{FT}

# interpolate the ozone concentrations to our initial pressures
pressure2ozone = Intp.extrapolate(
Expand Down

0 comments on commit 6ec9e62

Please sign in to comment.