df_dp {meteoEVT} | R Documentation |
df_dp
Description
Calculates the p derivative (pressure system) using central differences
Usage
df_dp(fld, plev = 5000)
Arguments
fld |
field with dimensions (lon,lat,p) |
plev |
a scalar containing the p resolution (if equidistant) or a vector containing pressure levels in Pa (for non-equidistant) |
Value
field containing the partial derivative w.r.t. p
Examples
myfile=system.file("extdata", "era5_storm-zeynep.nc", package = "meteoEVT")
data = readin_era5(myfile)
theta=calc_theta(data$temp,data$lev)
dtheta_dp=df_dp(theta)
[Package meteoEVT version 0.1.0 Index]