geocat.comp.gradient.gradient
geocat.comp.gradient.gradient#
- geocat.comp.gradient.gradient(data)#
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
data (
numpy.ndarray
,xarray.DataArray
) – n-dimensional dataset, with orthographic latitude longitude coordinates- Returns
gradients (
list
ofnumpy.ndarray
,list
ofxarray.DataArray
) – longitudinal and latitudinal gradients calculated using th WGS84 geoid.