
NCL Home >
Documentation >
Functions >
Spherical harmonic routines
b
shsgc_R42_Wrap
Computes spherical harmonic synthesis of a scalar quantity via rhomboidally truncated (R42) spherical harmonic coefficients onto a (108x128) gaussian grid. (creates metadata).
Prototype
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" ; This library is automatically loaded ; from NCL V6.2.0 onward. ; No need for user to explicitly load. function shsgc_R42_Wrap ( a : numeric, b : numeric ) return_val : float or double
Arguments
ab
Real and imaginary spherical harmonic coefficients (input, array with two or more dimensions). The rightmost dimensions must be of size (43,43).
Description
This function is identical to shsgc_R42, except the return value will have metadata added based on metadata attached to a and b. See the shsgc_R42 page for full documentation and examples.