Nonlinear interaction between long inertio-gravity and rossby waves