Closed ali-ramadhan closed 2 years ago
Hoping to tag v0.6.2 once this is merged if that's okay.
Tag away!
One comment is that I think in the future we want to make the calculation of N2 more general, as per https://github.com/tomchor/Oceanostics.jl/issues/37
Then we could use Oceananigans buoyancy function to get N2 from both BuoyancyTracer
and SeawaterBuoyancy
models directly, with no need to pass a buoyancy field specificaly.
Ah true, forgot to check issues to still if this was one!
Ah true, forgot to check issues to still if this was one!
All good. That can be done in a later PR. This is already an improvement, so I'm def okay with merging this and deealing with the rest later :)
Right now
RichardsonNumber
cannot be used for models withSeawaterBuoyancy
as it assumesmodel.tracers.b
exists.This PR allows users to pass in a
b
so thatBuoyancyField(model)
can be passed in. In particular I'm trying to revive https://github.com/CliMA/LESbrary.jl/blob/master/examples/three_layer_constant_fluxes.jlHoping to tag v0.6.2 once this is merged if that's okay.