transformUVEtaToWaveVortex

transform fluid variables \((u,v,\eta)\) to wave-vortex coefficients \((A_+,A_-,A_0)\).


Declaration

 [Ap,Am,A0] = transformUVEtaToWaveVortex(U,V,N,t)

Parameters

  • u x-component of the fluid velocity
  • v y-component of the fluid velocity
  • n scaled density anomaly
  • t (optional) time of observations

Returns

  • Ap positive wave coefficients at reference time t0
  • Am negative wave coefficients at reference time t0
  • A0 geostrophic coefficients at reference time t0

Discussion

This function is the WVTransform. It is a linear transformation denoted \(\mathcal{L}\).

This function is not intended to be used directly (although you can), and is kept here to demonstrate a simple implementation of the transformation. Instead, you should initialize the WVTransform using one of the initialization functions.