Skip to main content

Caculating the T-N Wave Activity Flux derived by Takaya and Nakamura (JAS,2001).

Project description

T-N Wave-Activity Flux

Python scripts for caculating the T-N Wave-Activity Flux derived by Takaya and Nakamura (JAS,2001).

Introduction

Takaya and Nakamura generalize the Plumb Wave-Activity Flux(Plumb,1985) so as to be applicable to small-amplitude Quasi-Geostrophic(QG) disturbances, either stationary or migratory, that are superimposed on a zonally varying basic flow, and introduced the T-N Wave-Activity Flux ('TN01' for short).

TN01 is of great advantage in climate monitoring and diagnosis.

TN01 with improved meridional component based on Plumb Wave-Activity Flux is appropriate for analyzing Rossby waves in the zonally asymmetric westerly. And it reflect the evolution of long-waves which the E-P Flux can't. (Shi Chunhua,2017)

Formulation

These Python scripts use the TN01 diagnostic formula in Spherical coordinates, which is the Eq.38 of Takaya's paper published in 2001:

eq38

The first two terms in Eq.38 are taken into account while computing on the horizontal direction. And assuming the wave is stationary, so the Cu in Eq.38 would be zero. So the formula of horizontal T-N Wave-Activity Flux could yield as followed:

eq38_hor

Programing

We modified the GRADS script by Kazuaki Nishii into a Python3 version
(http://www.atmos.rcast.u-tokyo.ac.jp/nishii/programs/index.html)

  • Python version
    • Python 3
  • Computation
    • numpy

All computations are based on numpy arrays, which are very efficient.
Partial differential terms in the formula are calculated by numpy.gradient in the central difference method.

Horizontal

Data & Process

Horizontal TN01 caltulation require the datas below:

  • Climatology average background of wind U_c and V_c and geopotential phi_c.
  • Geopotential in the analysis period phi.

Geopotential anomalies will be used to compute pertubation stream-function psi_p in Quasi-Geostrophic(QG) assumption:

  • psi_p = (pi - pi_c) / f
    f is the Coriolis parameter: f = 2 * omega * sin(lat)

Input Data is Geopotential, NOT Geopotential Height!!!
The Re-analysis from NCEP/NCAR(NCEP1) is Geopotential Height, Geopotential Height multiplied by gravity g makes Geopotential.

Output

  • px for longitude direction
  • py for latitude direction

Reliability

The output figures sample(Datas from ECMWF ERA-Interim)

jan1981

Results are compatible with the Wave-Activity Flux figures(JRA-55) made by JMA-TCC.
(http://ds.data.jma.go.jp/tcc/tcc/products/clisys/figures/db_hist_pen_tcc.html)

psnh_mon_hist_waf300_198101

and also the programs by Kazuaki Nishii @ University of Tokyo.
(http://www.atmos.rcast.u-tokyo.ac.jp/nishii/programs/index.html)

Authors

Lai Sheng: laish12@lzu.edu.cn . You can also visit his site for more detail: http://500hpa.cn/pyinmet/tnflux/

Yongpeng Zhang: zhangyp6603@outlook.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tnflux-0.9.2.tar.gz (237.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tnflux-0.9.2-py3-none-any.whl (235.8 kB view details)

Uploaded Python 3

File details

Details for the file tnflux-0.9.2.tar.gz.

File metadata

  • Download URL: tnflux-0.9.2.tar.gz
  • Upload date:
  • Size: 237.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for tnflux-0.9.2.tar.gz
Algorithm Hash digest
SHA256 1c3d7e605cb53d408cfed8974cf84bd9029a755d8881f1d7b52a00548ea3e72e
MD5 eeaff0f8ab8bcc8e3c49002c85b08545
BLAKE2b-256 0587009f264d7d4fa52a566bee8cb450dddd991abafd64150176ae1e198bdd7b

See more details on using hashes here.

File details

Details for the file tnflux-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: tnflux-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 235.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for tnflux-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3f49a25d18dc7ca854763add455d4920e0ff93c820e3171ce5722ff23a0a4c
MD5 f741468dfacf43169e27e19ca54876d8
BLAKE2b-256 cbddd45e5f370eb1da7016cf1eaeae6441bc3cdb4b1fd529fa2eb8b60b5cf16a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page