View source: R/diff_operators.R
df_dy | R Documentation |
Calculates the y derivative using central differences
df_dy(fld, dy = 0.25, mode = "lonlat")
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 |
field containing the partial derivative w.r.t. y
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.