Oceananigans.jl icon indicating copy to clipboard operation
Oceananigans.jl copied to clipboard

Add example in docs on the sphere

Open navidcy opened this issue 3 years ago • 6 comments

I think it's time to do that.

navidcy avatar May 29 '22 07:05 navidcy

Maybe a lat-lon barotropic double gyre like MITgcm has?

https://mitgcm.readthedocs.io/en/latest/examples/barotropic_gyre/barotropic_gyre.html

Let's keep it as simple as possible too...

glwagner avatar May 29 '22 19:05 glwagner

We can convert #1085 to lat-lon?

navidcy avatar May 29 '22 20:05 navidcy

oh, you suggested barotropic... yeah, that'd be even simpler!

navidcy avatar May 29 '22 20:05 navidcy

I was going to work on a singe_gyre example today with a student. I am happy to try converting this to a lat-lon grid, unless someone else wants to?

When you say barotropic do you mean few vertical grid points or ShallowWater? I think using the HydrostaticModel would be a good idea since it doesn't have the CFL constraint of having to resolve the surface gravity waves.

francispoulin avatar May 30 '22 13:05 francispoulin

I have updated #1085 so that it runs, but it's still on a rectilinear grid.

My next step is to update it to a lat-lon grid.

Do we want to do this on a new PR?

francispoulin avatar May 31 '22 13:05 francispoulin

I think it's most important right now to have an example with the hydrostatic model on the sphere

glwagner avatar May 31 '22 15:05 glwagner