magnitude_of_geospatial_gradient#

rojak.turbulence.calculations.magnitude_of_geospatial_gradient(array: DataArray, is_squared: bool = False) DataArray[source]#

Magnitude of geospatial gradient

Convenience method to compute magnitude of the geospatial gradient

Parameters:
  • array (DataArray) – Array to compute geospatial gradient on

  • is_squared (optional) – If True, returns square of the magnitude. Default is False.

Return type:

DataArray