geocat.comp.gradient.gradient

Contents

geocat.comp.gradient.gradient#

geocat.comp.gradient.gradient(data, lon=None, lat=None)#

Extract and return the gradient values of a dataset at each point in the dataset. Assuming that the data points are on the surface of the WGS84 ellipsoid.

Parameters:
Returns:

gradients (list of numpy.ndarray, list of xarray.DataArray) – longitudinal and latitudinal gradients calculated using th WGS84 geoid.

See also

Related NCL Functions: grad_latlon_cfd, gradsf, gradsg