calc_fdiag | R Documentation |
Calculates the F diagnostic
calc_fdiag( t_fld, u_fld, v_fld, w_fld, lev_p, lat = NULL, dx = 0.25, dy = 0.25, mode = "lonlat" )
t_fld |
temperature field [K] |
u_fld |
zonal velocity field [m/s] |
v_fld |
meridional velocity field [m/s] |
w_fld |
vertical velocity field [m/s] |
lev_p |
vector containing pressure levels [Pa] |
lat |
only for lonlat mode: vector containing latitude |
dx |
x resolution in the corresponding unit (e.g. 0.25 degree for ERA5 with |
dy |
y resolution in the corresponding unit (e.g. 0.25 degree for ERA5 with |
mode |
the horizontal coordinate system, options are lonlat for a longitude-latitude-grid (default), or cartesian for an equidistant cartesian grid |
F diagnostic (dimensionless)
myfile=system.file("extdata", "era5_storm-zeynep.nc", package = "meteoEVT") data = readin_era5(myfile) fdiag=calc_fdiag(data$temp,data$u,data$v,data$w,data$lev,data$lat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.