4.3.12 SHTSGA

1.
Function
Performs inverse spectral transformation by successively carrying out SHTSWA and SHTWGA over a specified wavenumber interval.

2.
Definition
See SHTSWA and SHTWGA.

3.
Call
SHTSGA(MM,JM,IM,ISW,M1,M2,S,W,G,WORK)

4.
Explanation of Parameters
MM (I) Input parameter. The cut-off wavenumber (M).
JM (I) Input parameter. 1/2 of the NS partition number (J)
IM (I) Input parameter. 1/2 of the EW partition number (I)
ISW (I) Input parameter. Specifies the type of transformation. (See SHTS2G.)
M1 (I) Input parameter. The minimum value of the wavenumber interval for transformation. (See SHTSWA.)
M2 (I) Input parameter. The maximum value of the wavenumber interval for transformation. (See SHTSWA.)
S (R) Input parameter. Spectral data. (For length and arrangement, see SHTNML.)
W (R) Output parameter. Wave data. (For length and arrangement, see SHTS2W.)
G (R) Output parameter. Grid data. (For length and arrangement, see SHTW2G.)
WORK (R) Working area initialized by SHTINT.

5.
Notes
(a)
This subroutine is equivalent to successively calling SHTSWA and SHTWGA.