# Welcome to xomega’s documentation!¶

xomega is a Python package for solving the generalized omega equation which takes the form

Given the right-hand side of the equation, the package inverts the vertical velocity fields at each time and depth in wavenumber space, i.e.

where \(\mathbf{\kappa} = (k,l)\) is the horizontal wavenumber vector. The right-hand side, neglecting the turbulent correlation terms is \({\bf Q} = {\bf Q}_\text{tw} + {\bf Q}_\text{da}\) where

where \({\bf u}_\text{a}\ (={\bf u}-{\bf u}_\text{g})\) is the ageotrophic velocity. Assuming the total flow to be in geostrophic balance \({\bf u}={\bf u}_\text{g}=\frac{\hat{z}}{f}\times\nabla_\text{h}\Phi\), the generalized form reduces to the quasi-geostrophic Omega equation.

Note

xomega is at early stage of development and will keep improving in the future. The rigid-lid API should be quite stable, but minor utilities could change in the next version. If you find any bugs or would like to request any enhancements, please raise an issue on GitHub.