Skip to content

Commit

Permalink
undo removing param_set from initialize_forcing as it's needed for th…
Browse files Browse the repository at this point in the history
…e call in main.jl
  • Loading branch information
Jordan Benjamin committed Oct 27, 2023
1 parent 7eadab1 commit 611a4a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions driver/Cases.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1384,9 +1384,7 @@ function surface_params(case::SOCRATES, surf_ref_state, param_set; SOCRATESDat,
return TC.MoninObukhovSurface(FT; kwargs...) # interactive?
end



function initialize_forcing(case::SOCRATES, forcing, grid::Grid, state; SOCRATESDat)
function initialize_forcing(case::SOCRATES, forcing, grid::Grid, state, param_set) # param_set isn't used but matches form in main.jl
forcing.forcing_funcs[] = case.get_forcing(; new_z = vec(grid.zc.z))
initialize(forcing, grid, state) # we have this default already to plug t=0 into functions, or else we would do this like update_forcing below right...
end
Expand Down

0 comments on commit 611a4a4

Please sign in to comment.