DCL:MATH2:SHTLIB: Spherical Harmonic Functions: Explanation of Subroutines
Performs the inverse Legendre transformation, which corresponds to the latter half of the inverse spectral transformation, only for the zonal component.
Transforms wave data Wm(&phi)into grid data G(&lambda,&phi) only for the zonal component m=0. See SHTW2G for equations of transformation.
SHTWGZ(JM,IM,WZ,G)
JM (I) Input parameter. 1/2 of the NS partition number (J). IM (I) Input parameter. 1/2 of the EW partition number (I). WZ (R) Input parameter. Wave data. (Wm(&phi)) (For length and arrangement, see SHTSWZ.) G (R) Output parameter. Grid data. (For length and arrangement, see SHTW2G.)