calc_theta {meteoEVT}R 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)

[Package meteoEVT version 0.1.0 Index]