calc_theta: Potential temperature

View source: R/calc_evt.R

calc_thetaR Documentation

Potential temperature

Description

Calculates the potential temperature

Usage

calc_theta(t_fld, lev_p)

Arguments

t_fld

temperature field [K]

lev_p

vector containing pressure levels [Pa]

Value

density [kg/m^3]

Examples

myfile=system.file("extdata", "era5_storm-zeynep.nc", package = "meteoEVT")
data = readin_era5(myfile)
theta=calc_theta(data$temp,data$lev)

meteoEVT documentation built on Sept. 5, 2022, 9:06 a.m.