NCAR / wrf-python

A collection of diagnostic and interpolation routines for use with output from the Weather Research and Forecasting (WRF-ARW) Model.
https://wrf-python.readthedocs.io
Apache License 2.0
410 stars 155 forks source link

Add output of tropopause #109

Closed zxdawn closed 4 years ago

zxdawn commented 4 years ago

I find the NCL version of calculating thermal tropopause defined by WMO: troppo_wmo. The Fortran source code can be found on the NCL Github: stattrop_dp.f.

Hope that's easy to add it to wrf-python :) Thanks in advance!

zxdawn commented 4 years ago

Update

We can add the output of tropopause in the Registry.EM_COMMON:

state    real   hgttrop        ij       dyn_em      1        -     i1  "HGTTROP"    "Height of the tropopause"           "m"
state    real   ptrop          ij       dyn_em      1        -     i1  "PTROP"      "Pressure of the tropopause"         "Pa"
state    real   ttrop          ij       dyn_em      1        -     i1  "TTROP"      "Temperature of the tropopause"      "K"

Close now.

zxdawn commented 4 years ago

The variables above are input data, not output. So, reopen now.

zxdawn commented 4 years ago

The tropopause module can be found in chem/module_tropopause.F.