Skip to content
/ sqgturb Public

Python codes for studying predictability and data assimlation with a surface quasi-geostrophic turbulence model

License

Notifications You must be signed in to change notification settings

jswhit/sqgturb

Repository files navigation

constant PV f-plane QG turbulence (a.k.a surface QG turbulence).

SQG Turbulence

Doubly periodic geometry with sin(2*pi/L) jet basic state.

References:

includes Ekman damping, linear thermal relaxation back to equilibrium jet, and hyperdiffusion.

pv has units of meters per second. scale by f*theta0/g to convert to temperature.

FFT spectral collocation method with 4th order Runge Kutta time stepping (dealiasing with 2/3 rule, hyperdiffusion treated implicitly).

Requires numpy (pyfftw, netcdf4-python and matplotlib highly recommended).

example code to run model and animate the solution in sqg_run.py

To run EnKF data assimilation:

  • install with python setup.py install.
  • first run sqg_run.py to generate nature run.
  • then run sqg_enkf.py.

About

Python codes for studying predictability and data assimlation with a surface quasi-geostrophic turbulence model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages