tomchor / Oceanostics.jl

Diagnostics for Oceananigans
https://tomchor.github.io/Oceanostics.jl/
MIT License
24 stars 8 forks source link

Introduces `RossbyNumber` for a general coordinate system and fixes a bug in `ErtelPotentialVorticity` #92

Closed tomchor closed 1 year ago

tomchor commented 1 year ago

This PR expands RossbyNumber to work with a general coordinate system, which is useful for dealing with rotated domains such as this one.

It also fixes a bug in ErtelPotentialVorticity when using FPlane: https://github.com/tomchor/Oceanostics.jl/blob/87b29733b0ad25409ec3f5ec3a6b699b9bc38bb8/src/FlowDiagnostics.jl#L114-L115