calc_bernoulli {meteoEVT}R Documentation

Bernoulli function

Description

Calculates the Bernoulli function, i.e. total energy density, as sum of potential, kinetic and thermal energy density

Usage

calc_bernoulli(t_fld, u_fld, v_fld, w_fld, phi_fld)

Arguments

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]

Value

Bernoulli function field [m^2/s^2]

Examples

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)

[Package meteoEVT version 0.1.0 Index]