geodat.nc.gradient

geodat.nc.gradient(var, axis, mask_boundary=True, **kwargs)[source]

Compute the gradient of a variable taking into account the convergence of meridians

Parameters:
  • var (geodat.nc.Variable) –
  • axis (str or int) –
  • mask_boundary (bool, default=True) –

Additional keyword arguments are parsed to geodat.nc.Variable

Returns:geodat.nc.Variable
Fork me on GitHub