Skip to content

Commit

Permalink
Merge pull request #866 from CliMA/as/bugfix
Browse files Browse the repository at this point in the history
Bugfix: Fix beta, drag coefficient assignment in `FluxCalculator.jl`
  • Loading branch information
akshaysridhar authored Jun 20, 2024
2 parents 5824f5e + 7420f8b commit 4736410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FluxCalculator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ Returns the scheme-specific properties for the surface model simulation `sim`.
"""
function get_scheme_properties(::BulkScheme, sim::Interfacer.SurfaceModelSimulation, colidx::CC.Fields.ColumnIndex)
Ch = Interfacer.get_field(sim, Val(:heat_transfer_coefficient), colidx)
Cd = Interfacer.get_field(sim, Val(:beta), colidx)
beta = Interfacer.get_field(sim, Val(:drag_coefficient), colidx)
Cd = Interfacer.get_field(sim, Val(:drag_coefficient), colidx)
beta = Interfacer.get_field(sim, Val(:beta), colidx)
FT = eltype(Ch)
return (; z0b = FT(0), z0m = FT(0), Ch = Ch, Cd = Cd, beta = beta, gustiness = FT(1))
end
Expand Down

0 comments on commit 4736410

Please sign in to comment.