Spatial computation package
Fit a 2D linear surface from the input field in least-square sense and return the detrended field
Compute the spatial mean of a variable using a non-uniform grid to weight by surface
Interpolate a 2D field on a regular grid
Parameters: | var : 2D array_like
y, x : 1D or 2D array_like
interp : {None, ‘basemap’, ‘scipy’}, optional
kind : {‘linear’, ‘cubic’, ‘quintic’}
|
---|---|
Returns: | var_reg : 2D array_like
y_reg, x_reg : 2D array_like
|
Define wavenumber vectors according to the latitude and longitude arrays
Define wavenumber vectors according to the latitude and longitude arrays
Compute the modulus of a 2D vector from its x-y components calculated on a C grid
Compute the zonal surface geostrophy current from a sea level field