We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8920efd commit 4e2917fCopy full SHA for 4e2917f
src/Oceans/ocean_simulation.jl
@@ -215,15 +215,7 @@ function ocean_simulation(grid;
215
verbose = false)
216
217
FT = eltype(grid)
218
-
219
- # Today only T and S have default top flux fields, so those are the only
220
- # tracers we know how to wrap with a restoring. Catch typos / unsupported
221
- # keys early.
222
- let extras = setdiff(keys(surface_restoring), (:T, :S))
223
- isempty(extras) || throw(ArgumentError(
224
- "ocean_simulation only supports surface_restoring for :T and :S; got unsupported keys $(Tuple(extras))"))
225
- end
226
+
227
if grid isa RectilinearGrid # turn off Coriolis unless user-supplied
228
coriolis = default_or_override(coriolis, nothing)
229
else
0 commit comments