HorizontalTemperatureGradient#

class rojak.turbulence.diagnostic.HorizontalTemperatureGradient(temperature)[source]#

Horizontal temperature gradient CAT Diagnostic

The horizontal temperature gradient is a simple measure of a front [Knox2016]. It has also been used in the GTG for diagnosing upper and mid-level turbulence. It is defined as,

\[|\nabla_{H}T| = \sqrt{ \left( \frac{ \partial T }{ \partial x } \right)^{2} + \left( \frac{ \partial T }{ \partial y } \right)^{2} }\]

where \(T\) is temperature

Parameters:

temperature (DataArray) – Temperature in Kelvin

__init__(temperature)[source]#
Parameters:
  • name – Name of the diagnostic

  • temperature (DataArray)

Return type:

None

Methods

__init__(temperature)

to_zarr(output_base_dir, *[, file_name])

Export computed_value to a zarr store

Attributes

computed_value

The diagnostic's computed value

name

Name of the diagnostic