Calculates the Petterssen frontogenesis function based on the potential temperature
calc_frontogenesis(
t_fld,
u_fld,
v_fld,
w_fld,
lev_p,
mode = "lonlat",
lat = NULL,
dx = 0.25,
dy = 0.25
)
Petterssen Frontogenesis Function
temperature field [K]
zonal velocity field [m/s]
meridional velocity field [m/s]
vertical velocity field [m/s]
vector containing pressure levels [Pa]
the coordinate system, options are lonlat for a longitude-latitude-grid (default), or cartesian for an equidistant cartesian grid
only for lonlat mode: vector containing latitude
x resolution in the corresponding unit (e.g. 0.25 degree for ERA5 with mode='lonlat'
or e.g. 1000 m in cartesian coordinates with mode='cartesian'
)
y resolution in the corresponding unit (e.g. 0.25 degree for ERA5 with mode='lonlat'
or e.g. 1000 m in cartesian coordinates with mode='cartesian'
)