calc_bernoulli | R Documentation |
Calculates the Bernoulli function, i.e. total energy density, as sum of potential, kinetic and thermal energy density
calc_bernoulli(t_fld, u_fld, v_fld, w_fld, phi_fld)
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] |
phi_fld |
geopotential height [gpm] |
Bernoulli function field [m^2/s^2]
myfile=system.file("extdata", "era5_storm-zeynep.nc", package = "meteoEVT") data = readin_era5(myfile) bernoulli=calc_bernoulli(data$temp,data$u,data$v,data$w,data$z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.