calc_frontogenesis {meteoEVT}R Documentation

Petterssen Frontogenesis Function

Description

Calculates the Petterssen frontogenesis function based on the potential temperature

Usage

calc_frontogenesis(
  t_fld,
  u_fld,
  v_fld,
  w_fld,
  lev_p,
  mode = "lonlat",
  lat = NULL,
  dx = 0.25,
  dy = 0.25
)

Arguments

t_fld

temperature field [K]

u_fld

zonal velocity field [m/s]

v_fld

meridional velocity field [m/s]

w_fld

vertical velocity field [m/s]

lev_p

vector containing pressure levels [Pa]

mode

the coordinate system, options are lonlat for a longitude-latitude-grid (default), or cartesian for an equidistant cartesian grid

lat

only for lonlat mode: vector containing latitude

dx

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')

dy

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')

Value

Petterssen Frontogenesis Function


[Package meteoEVT version 0.1.0 Index]