df_dy {meteoEVT} | R Documentation |
df_dy
Description
Calculates the y derivative using central differences
Usage
df_dy(fld, dy = 0.25, mode = "lonlat")
Arguments
fld |
with dimensions (lon,lat,p) |
dy |
y resolution in the corresponding unit (e.g. 0.25 degree for ERA5 with |
mode |
the coordinate system, options are lonlat for a longitude-latitude-grid (default), or cartesian for an equidistant cartesian grid |
Value
field containing the partial derivative w.r.t. y
Examples
myfile=system.file("extdata", "era5_storm-zeynep.nc", package = "meteoEVT")
data = readin_era5(myfile)
theta=calc_theta(data$temp,data$lev)
dtheta_dy=df_dy(theta,dy=0.25)
[Package meteoEVT version 0.1.0 Index]